Skip to content

Commit

Permalink
Merge pull request #5659 from ballerina-platform/tharindu-nw-patch-1
Browse files Browse the repository at this point in the history
[master] Rearrange observability bbe menus and fix content
  • Loading branch information
tharindu-nw committed Sep 19, 2024
2 parents 98fbd0a + 851d7a8 commit ccee30b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion examples/gauge-metrics/gauge_metrics.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Gauge-based metrics

Ballerina supports Observability out of the box and Metrics is one of the three important aspects of the bservability. To observe Ballerina code, the build time flag `--observability-included` should be given along with the `Config.toml` file when starting the service. The `Config.toml` file contains the required runtime configurations related to observability.
Ballerina supports observability out of the box and metrics is one of the three key components of observability. To observe Ballerina code, the build time flag `--observability-included` should be given along with the `Config.toml` file when starting the service. The `Config.toml` file should contain the required runtime configurations related to observability.

The developers can define and use metrics to measure their own logic. A gauge is one type of the metrics that is supported by default in Ballerina, and it represents a single numerical value that can arbitrarily go up and down, and also based on the statistics configurations provided to the Gauge, it can also report the statistics such as max, min, mean, percentiles, etc.

Expand Down
18 changes: 9 additions & 9 deletions examples/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -4931,15 +4931,6 @@
"disableVerificationReason": "Includes ballerinax components",
"disablePlayground": true,
"isLearnByExample": false
},
{
"name": "Counter-based metrics",
"url": "counter-metrics",
"verifyBuild": false,
"verifyOutput": false,
"disableVerificationReason": "Includes ballerinax components",
"disablePlayground": true,
"isLearnByExample": false
}
]
},
Expand All @@ -4956,6 +4947,15 @@
"disableVerificationReason": "Includes ballerinax components",
"disablePlayground": true,
"isLearnByExample": false
},
{
"name": "Counter-based metrics",
"url": "counter-metrics",
"verifyBuild": false,
"verifyOutput": false,
"disableVerificationReason": "Includes ballerinax components",
"disablePlayground": true,
"isLearnByExample": false
}
]
}
Expand Down

0 comments on commit ccee30b

Please sign in to comment.