Replies: 5 comments 8 replies
-
cc @zeitlinger |
Beta Was this translation helpful? Give feedback.
-
are you using this guide https://opentelemetry.io/docs/zero-code/java/spring-boot-starter/getting-started/ ? |
Beta Was this translation helpful? Give feedback.
-
@zeitlinger yep, exactly that plus the dependencies below. It's a propietary sb service so can't post the code, sorry. Other than that message there's nothing else from otel, how can I get a more verbose output? <dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-api</artifactId>
</dependency>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-exporter-otlp</artifactId>
</dependency> |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@zeitlinger in the end it was not necessary to do any of that once the starter reached GA status. I was able to use it by adding the dependencies as the guide says and it worked straight away. Probably the |
Beta Was this translation helpful? Give feedback.
-
I've been able to instrument my code using the agent and autoconfiguration but using the SB starter doesn't seem to work nor error out. I get the following in the console and that's about it:
INFO 291666 --- [ main] i.opentelemetry.api.GlobalOpenTelemetry : AutoConfiguredOpenTelemetrySdk found on classpath but automatic configuration is disabled. To enable, run your JVM with -Dotel.java.global-autoconfigure.enabled=true
But when I add
-Dotel.java.global-autoconfigure.enabled=true
it doesn't pick any of the properties from the properties file (as I expect it to do while using the SB starter). Not sure if that's the expectation. What could be the reason for this and how could I fix it?Beta Was this translation helpful? Give feedback.
All reactions