Skip to content

Commit 6d03310

Browse files
committed
Update dd WithService
1 parent 1e23eb3 commit 6d03310

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

init/dsrhub_init_plugin/metric.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ func (p *DSRHubInitPlugin) setupMetrics() error {
2121

2222
tracer.Start(
2323
tracer.WithAgentAddr(fmt.Sprintf("%s:%s", p.StatsdHost, p.StatsdAPMPort)),
24-
tracer.WithServiceName(p.StatsdAPMServiceName),
24+
tracer.WithService(p.StatsdAPMServiceName),
2525
)
2626

2727
ginEngine := router.Engine()

0 commit comments

Comments
 (0)