diff options
author | Titouan BION <titouan.bion@gmail.com> | 2021-02-13 23:20:42 +0100 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@gmail.com> | 2021-02-13 23:40:10 +0100 |
commit | f6d9106d87192f21321241e90e8635bfd90ee6fd (patch) | |
tree | bee72c051350cc622e7a4e2674ed9e63f91354db /sw-server/src/main/kotlin/org/luxons | |
parent | Add metrics labels for default Spring Boot grafana board (diff) | |
download | seven-wonders-f6d9106d87192f21321241e90e8635bfd90ee6fd.tar.gz seven-wonders-f6d9106d87192f21321241e90e8635bfd90ee6fd.tar.bz2 seven-wonders-f6d9106d87192f21321241e90e8635bfd90ee6fd.zip |
Rename 'application' label of Prometheus exported metrics to match a more Kubernetes-like name convention
Diffstat (limited to 'sw-server/src/main/kotlin/org/luxons')
-rw-r--r-- | sw-server/src/main/kotlin/org/luxons/sevenwonders/server/SevenWonders.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw-server/src/main/kotlin/org/luxons/sevenwonders/server/SevenWonders.kt b/sw-server/src/main/kotlin/org/luxons/sevenwonders/server/SevenWonders.kt index f9167a1a..923ebcb5 100644 --- a/sw-server/src/main/kotlin/org/luxons/sevenwonders/server/SevenWonders.kt +++ b/sw-server/src/main/kotlin/org/luxons/sevenwonders/server/SevenWonders.kt @@ -20,7 +20,7 @@ class SevenWonders { @Bean fun metricsCommonTags(): MeterRegistryCustomizer<MeterRegistry>? = MeterRegistryCustomizer { registry -> registry.config() - .commonTags("application", "SevenWonders") + .commonTags("application", "seven-wonders") .commonTags("instance", InetAddress.getLocalHost().hostAddress) } } |