Skip to content

Commit

Permalink
Update metrics_collection.md
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-rr committed Jun 3, 2024
1 parent bc5e775 commit 4417d43
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/metrics_collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ We are making use of [New Relic API](https://docs.newrelic.com/docs/apis/intro-a

Metrics won't be collected in CI environments, or when the "CI" env variable is set up to "true".

The analytics config file will be store by default at your home directory. In case you prefer to change the file path then you should set the `ASYNCAPI_METRICS_CONFIG_PATH` env var to any specific path value when running any command. For instance:
````
ASYNCAPI_METRICS_CONFIG_PATH=/tmp/.asyncapi-analytics asyncapi config analytics --status
````

## How to disable tracking
To disable tracking, please run the following command:
`asyncapi config analytics --disable`
Expand Down

0 comments on commit 4417d43

Please sign in to comment.