minecraft-exporter icon indicating copy to clipboard operation
minecraft-exporter copied to clipboard

Update metric names to follow Prometheus's best practices

Open Apollo-Roboto opened this issue 3 years ago • 0 comments

From this documentation: https://prometheus.io/docs/practices/naming/#metric-names

Should have a (single-word) application prefix relevant to the domain the metric belongs to.

I'm suggesting to add a minecraft_ prefix to every metric to follow Prometheus's best practices. Having this prefix would make it much easier to browse the exposed metrics.

For example:

player_score   ->   minecraft_player_score
damage_taken   ->   minecraft_player_damage_taken
mc_custom      ->   minecraft_custom

Apollo-Roboto avatar Mar 05 '23 16:03 Apollo-Roboto