From f6d9106d87192f21321241e90e8635bfd90ee6fd Mon Sep 17 00:00:00 2001 From: Titouan BION Date: Sat, 13 Feb 2021 23:20:42 +0100 Subject: Rename 'application' label of Prometheus exported metrics to match a more Kubernetes-like name convention --- .../src/main/kotlin/org/luxons/sevenwonders/server/SevenWonders.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw-server') 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? = MeterRegistryCustomizer { registry -> registry.config() - .commonTags("application", "SevenWonders") + .commonTags("application", "seven-wonders") .commonTags("instance", InetAddress.getLocalHost().hostAddress) } } -- cgit