Skip to content

Commit

Permalink
Update HoneycombOTELEndpointHandler.java
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-richardson committed Nov 29, 2024
1 parent dac3271 commit d7bb626
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ private SpanProcessor buildGrpcSpanProcessor(Map<String, String> headers, String
//todo: centralise the definition of this
var serviceNameResource = Resource
.create(Attributes.of(
ServiceAttributes.SERVICE_NAME, PluginConstants.SERVICE_NAME,
AttributeKey.stringKey("teamcity.node.id"), nodesService.getCurrentNode().getId())
ServiceAttributes.SERVICE_NAME, PluginConstants.SERVICE_NAME
);

var meterProvider = OTELMetrics.getOTELMeterProvider(metricsExporter, serviceNameResource);
Expand Down

0 comments on commit d7bb626

Please sign in to comment.