We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b079872 commit 6efd27dCopy full SHA for 6efd27d
examples/customlabels/main.go
@@ -33,7 +33,7 @@ func main() {
33
34
// Create a new registry.
35
reg := prometheus.NewRegistry()
36
- prometheus.WrapRegistererWith(prometheus.Labels{"serviceName": "bartek"}, reg).MustRegister(
+ prometheus.WrapRegistererWith(prometheus.Labels{"serviceName": "my-service-name"}, reg).MustRegister(
37
collectors.NewGoCollector(),
38
collectors.NewProcessCollector(collectors.ProcessCollectorOpts{}),
39
)
0 commit comments