Skip to content

Commit 9a6a695

Browse files
Merge pull request #121 from wso2/structure-revamp
Fix indentation issue in OpenSearch doc
2 parents 85c2fd2 + c121b9b commit 9a6a695

File tree

1 file changed

+17
-17
lines changed
  • en/docs/observability-and-monitoring/supported-observability-tools-and-platforms

1 file changed

+17
-17
lines changed

en/docs/observability-and-monitoring/supported-observability-tools-and-platforms/opensearch.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -67,23 +67,23 @@ docker compose -f docker-compose.yml up -d
6767

6868
* Navigate to **file explorer** view and create the `Config.toml` file in the package directory to set the runtime configurations as follows.
6969

70-
```toml
71-
[ballerina.observe]
72-
metricsLogsEnabled = true
73-
tracingEnabled = true
74-
tracingProvider = "jaeger"
75-
76-
[ballerinax.jaeger]
77-
agentHostname = "localhost"
78-
agentPort = 4317
79-
samplerType = "const"
80-
samplerParam = 1.0
81-
reporterFlushInterval = 2000
82-
reporterBufferSize = 1000
83-
84-
[ballerinax.metrics.logs]
85-
logFilePath = "<PATH>/<TO>/opensearch-observability-dashboard/logs/ballerina/<SERVICE_NAME>/app.log"
86-
```
70+
```toml
71+
[ballerina.observe]
72+
metricsLogsEnabled = true
73+
tracingEnabled = true
74+
tracingProvider = "jaeger"
75+
76+
[ballerinax.jaeger]
77+
agentHostname = "localhost"
78+
agentPort = 4317
79+
samplerType = "const"
80+
samplerParam = 1.0
81+
reporterFlushInterval = 2000
82+
reporterBufferSize = 1000
83+
84+
[ballerinax.metrics.logs]
85+
logFilePath = "<PATH>/<TO>/opensearch-observability-dashboard/logs/ballerina/<SERVICE_NAME>/app.log"
86+
```
8787

8888
These configurations enable metrics logs and traces in the Ballerina application and configures the Jaeger exporter.
8989

0 commit comments

Comments
 (0)