Skip to content

Commit

Permalink
order is not the same as priority
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitlinger committed Feb 14, 2024
1 parent a2c210a commit 6da560f
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,4 @@ public Resource createResource(ConfigProperties configProperties) {
.ifPresent(v -> attributesBuilder.put(ResourceAttributes.SERVICE_VERSION, v));
return Resource.create(attributesBuilder.build());
}

@Override
public int order() {
// make it run later than
// - io.opentelemetry.instrumentation.spring.resources.SpringBootServiceNameDetector
// (which should not be used inside a spring application)
// - JarServiceNameDetector
return 2000;
}
}

0 comments on commit 6da560f

Please sign in to comment.