Skip to content

Commit 6efd27d

Browse files
Update examples/customlabels/main.go
Co-authored-by: Bartlomiej Plotka <[email protected]> Signed-off-by: Ying WANG <[email protected]>
1 parent b079872 commit 6efd27d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/customlabels/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ func main() {
3333

3434
// Create a new registry.
3535
reg := prometheus.NewRegistry()
36-
prometheus.WrapRegistererWith(prometheus.Labels{"serviceName": "bartek"}, reg).MustRegister(
36+
prometheus.WrapRegistererWith(prometheus.Labels{"serviceName": "my-service-name"}, reg).MustRegister(
3737
collectors.NewGoCollector(),
3838
collectors.NewProcessCollector(collectors.ProcessCollectorOpts{}),
3939
)

0 commit comments

Comments
 (0)