Skip to content

Commit

Permalink
Update dd WithService
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouzhuojie committed Jul 15, 2020
1 parent 1e23eb3 commit 6d03310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init/dsrhub_init_plugin/metric.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func (p *DSRHubInitPlugin) setupMetrics() error {

tracer.Start(
tracer.WithAgentAddr(fmt.Sprintf("%s:%s", p.StatsdHost, p.StatsdAPMPort)),
tracer.WithServiceName(p.StatsdAPMServiceName),
tracer.WithService(p.StatsdAPMServiceName),
)

ginEngine := router.Engine()
Expand Down

0 comments on commit 6d03310

Please sign in to comment.