Skip to content

Commit 7486f7a

Browse files
vitkyrkarochdev
authored andcommitted
Fix service name in process discovery metadata (#6228)
Use the correct field which contains the service name.
1 parent 1758b6a commit 7486f7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dd-trace/src/tracer_metadata.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function storeConfig (config) {
1414
config.tags['runtime-id'],
1515
tracerVersion,
1616
config.hostname,
17-
config.server || null,
17+
config.service || null,
1818
config.env || null,
1919
config.version || null
2020
)

0 commit comments

Comments
 (0)