Skip to content

Commit

Permalink
Update custom/src/main/java/com/splunk/opentelemetry/servicename/Serv…
Browse files Browse the repository at this point in the history
…iceNameResourceProvider.java

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
  • Loading branch information
laurit and Mateusz Rzeszutek committed Aug 30, 2022
1 parent d15f265 commit 717f4b2
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ public Resource createResource(ConfigProperties config) {
String serviceName = ServiceNameDetector.detectServiceName();
if (serviceName != null) {
log.info("Auto-detected service name '{}'.", serviceName);
// customized.put("otel.service.name", serviceName);
return Resource.create(Attributes.of(SERVICE_NAME, serviceName));
}
}
Expand Down

0 comments on commit 717f4b2

Please sign in to comment.