We have an OpenTelemetry Java agent configured on our Java application, exporting data to Grafana Alloy.
From Alloy, we are successfully sending:
-
Metrics → Prometheus
-
Logs → Loki
-
Traces → Tempo
This setup is working fine.
Now we want to enable continuous profiling using Grafana Pyroscope, which we have already deployed.
Could you please guide on:
-
How Pyroscope should be configured in an existing OpenTelemetry + Alloy setup
-
Whether profiling should be enabled via the OTel Java agent or a separate Pyroscope agent
-
How Alloy should be configured to receive and forward profiling data to Pyroscope
Any sample configs or best practices for this integration would be very helpful.