Skip to content

Commit

Permalink
Include Module.md
Browse files Browse the repository at this point in the history
  • Loading branch information
NipunaMadhushan committed Jan 8, 2024
1 parent 5f42509 commit 6c32f9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ballerina/Module.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ observabilityIncluded=true
```

To enable the extension and publish traces and metrics to New Relic, add the following to the `Config.toml` when running your program.

```toml
[ballerina.observe]
tracingEnabled=true
Expand All @@ -40,6 +41,7 @@ tracingReporterBufferSize=10000 # Optional Configuration. Default value is 1
metricReporterFlushInterval=15000 # Optional Configuration. Default value is 15000 milliseconds
metricReporterClientTimeout=10000 # Optional Configuration. Default value is 10000 milliseconds
```

User can configure the environment variable `BALLERINA_NEWRELIC_API_KEY` instead of `apiKey` in `Config.toml`.
If both are configured, `apiKey` in `Config.toml` will be overwritten by the environment variable value.

Expand Down

0 comments on commit 6c32f9f

Please sign in to comment.