grafana / grafana-opentelemetry-java

Grafana OpenTelemetry distribution for Java
Apache License 2.0
32 stars 6 forks source link

Auto-instrumentation of profiles with Pyroscope #740

Open swar8080 opened 1 week ago

swar8080 commented 1 week ago

Is your feature request related to a problem? Please describe.

We currently use OpenTelemetry Operator to inject the OpenTelemetry java agent jar. That makes rollout to all our applications easy since we just need to add a pod annotation.

It would be great if we could also auto-inject pyroscope profiling to save teams from making code changes to manually initialize it.

Describe the solution you'd like

Add an option to auto-initialize pyroscope when using the grafana opentelemetry java agent

Describe alternatives you've considered

No response

Additional context

No response