File tree Expand file tree Collapse file tree 1 file changed +17
-17
lines changed
en/docs/observability-and-monitoring/supported-observability-tools-and-platforms Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments