Skip to content

Commit

Permalink
Improve metrics documentation
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Gerber <[email protected]>
  • Loading branch information
bastjan and simu authored Jun 5, 2024
1 parent c5dd39e commit 52946a9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions metrics/compile_meta_collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down

0 comments on commit 52946a9

Please sign in to comment.