Skip to content

Commit

Permalink
Merge pull request #20 from dsrhub/zz/update-with-service-dd
Browse files Browse the repository at this point in the history
Update dd WithService
  • Loading branch information
zhouzhuojie authored Jul 15, 2020
2 parents 1e23eb3 + 6d03310 commit 11494d4
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 11494d4

Please sign in to comment.