Skip to content

Commit e95d235

Browse files
ying-jeannebwplotka
authored andcommitted
Update examples/customlabels/main.go
Co-authored-by: Bartlomiej Plotka <[email protected]> Signed-off-by: Ying WANG <[email protected]> Signed-off-by: Eugene <[email protected]>
1 parent 15757ee commit e95d235

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)