From 55484aff7a6d93015cb55cd786f4869878f2e1a8 Mon Sep 17 00:00:00 2001 From: Tharindu Weerasinghe <52607043+tharindu-nw@users.noreply.github.com> Date: Thu, 19 Sep 2024 09:38:46 +0530 Subject: [PATCH 1/2] Fix content for gauge-metrics BBE --- examples/gauge-metrics/gauge_metrics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/gauge-metrics/gauge_metrics.md b/examples/gauge-metrics/gauge_metrics.md index b76bd67051..2b25a0bf9b 100644 --- a/examples/gauge-metrics/gauge_metrics.md +++ b/examples/gauge-metrics/gauge_metrics.md @@ -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. From 59c976db10e564d5022156ac796cda92e9e73dbc Mon Sep 17 00:00:00 2001 From: Tharindu Weerasinghe <52607043+tharindu-nw@users.noreply.github.com> Date: Thu, 19 Sep 2024 09:42:29 +0530 Subject: [PATCH 2/2] Rearrange observability BBE menu --- examples/index.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/index.json b/examples/index.json index 386ec561ef..64dc998466 100644 --- a/examples/index.json +++ b/examples/index.json @@ -4917,15 +4917,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 } ] }, @@ -4942,6 +4933,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 } ] }