Suppose you have an application capable of emitting Pyroscope-compatible profiles (e.g. using one of the instrumentation SDKs) and a charmed Pyroscope deployment.
Also see:
If the application is charmed
Charms can integrate with pyroscope-coordinator-k8s
(or opentelemetry-collector
) over the profiling
interface to receive an endpoint URL where they can push profiles to using the otlp-grpc
format.
See the profiling
charm library docs for exhaustive usage and API documentation.
If the application is not charmed
Uncharmed applications can be configured to send profiles directly to a pyroscope-coordinator-k8s
application (or opentelemtry-collector
) by using their juju-managed addresses directly.
For example if you have a model where the pyroscope-coordinator-k8s
application is available at <IP address>
, you can manually configure your application to send profiles to <IP address>:8080
.