Skip to content

Commit

Permalink
Merge pull request #189 from libook/modify-readme
Browse files Browse the repository at this point in the history
Add a description about the list of player statistic metrics
  • Loading branch information
sladkoff authored Dec 26, 2023
2 parents 7795871 + 9bc1b01 commit b9fb096
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ mc_player_online | Online state by player name
There's a sample [dashboard](https://raw.githubusercontent.com/sladkoff/minecraft-prometheus-exporter/master/dashboards/minecraft-players-dashboard.json)
available to get you started.
You can find the full list [here](https://minecraft.fandom.com/wiki/Statistics#List_of_custom_statistic_names).
Use the "Resource location" for the metrics label with removing the "minecraft:" part and converted to uppercase.
This doesn't support all statistics in the list because they are provided by the upstream Spigot libraries.
## Collect metrics about your own plugin
You can easily collect metrics about your own plugin.
Expand Down Expand Up @@ -184,4 +188,4 @@ public class MyPluginCommand extends PluginCommand {
1.11 – 1.16

#### Tested
- 1.19.2
- 1.20.1

0 comments on commit b9fb096

Please sign in to comment.