From 52946a96cc224e24e7faaa82e4ddf24867d21150 Mon Sep 17 00:00:00 2001 From: Sebastian Widmer Date: Wed, 5 Jun 2024 11:21:00 +0200 Subject: [PATCH] Improve metrics documentation Co-authored-by: Simon Gerber --- metrics/compile_meta_collector.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/metrics/compile_meta_collector.go b/metrics/compile_meta_collector.go index 1d4658aa..792eed8c 100644 --- a/metrics/compile_meta_collector.go +++ b/metrics/compile_meta_collector.go @@ -37,28 +37,28 @@ func newMetaCommodoreBuildInfoDesc(lbls ...string) *prometheus.Desc { var metaGlobalDesc = prometheus.NewDesc( compileMetaMetricPrefix+"_global", - "Version information of the global defaults commodore repository.", + "Version information of the global defaults Commodore repository.", []string{"cluster", "tenant", "url", "path", "version", "gitSha"}, nil, ) var metaTenantDesc = prometheus.NewDesc( compileMetaMetricPrefix+"_tenant", - "Version information of the tenant commodore repository.", + "Version information of the tenant Commodore repository.", []string{"cluster", "tenant", "url", "path", "version", "gitSha"}, nil, ) var metaPackageDesc = prometheus.NewDesc( compileMetaMetricPrefix+"_package", - "Version information of the used commodore package repositories.", + "Version information of the used Commodore package repositories.", []string{"cluster", "tenant", "name", "url", "path", "version", "gitSha"}, nil, ) var metaInstanceDesc = prometheus.NewDesc( compileMetaMetricPrefix+"_instance", - "Version information of the used commodore instance (component) repositories.", + "Version information of the used Commodore component instance repositories.", []string{"cluster", "tenant", "name", "url", "path", "version", "gitSha", "component"}, nil, )