This commit is contained in:
Nikolay 2021-06-10 15:51:53 +03:00 committed by GitHub
parent 8aba2e8048
commit 9555ad4606
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,8 +89,8 @@ In this file you can see some general settings and metrics settings.
### Metrics settings ### Metrics settings
You can disable any metric that registered via MetricRegistry (all metrics by default) using the settings below. You can disable any metric that registered via MetricRegistry (all metrics by default) using `exporter.properties` file.
Names of properties consist of `enabled` and metric name without prefix and `_` replaced with `-`. Names of properties consist of `enable` and metric name without prefix and `_` replaced with `-`.
For example, if you want to disable `minecraft_players_online`, you should set `enable-players-online` to `false`. For example, if you want to disable `minecraft_players_online`, you should set `enable-players-online` to `false`.
You can also see list of available properties in "Exposed metrics" section. You can also see list of available properties in "Exposed metrics" section.
If you can't find property for some metrics, you can manually add it. If you can't find property for some metrics, you can manually add it.