Charmed Parca docs - How to integrate with Polar Signals Cloud

polar-signals-cloud-integrator can be configured to forward continuous profiling data to be stored and analysed by Polar Signal’s cloud-hosted Polar Signals Cloud.

Using polar-signals-cloud-integrator charm, parca-k8s server or parca-agent or both could be configured to send their profiling data to Polar Signals Cloud.

1. Prerequisites

This how-to assumes you already have parca-k8s or parca-agent or both charms deployed.

Check this guide to deploy charmed parca-k8s.

Check this guide to deploy charmed parca-agent.

2. Deploy & configure polar-signals-cloud-integrator

Now, deploy polar-signals-cloud-integrator.

juju deploy polar-signals-cloud-integrator --channel edge 

[WIP] Until the OTel Collector charm is available, you can choose to deploy polar-signals-cloud-integrator in the same model as parca-k8s or parca-agent.

polar-signals-cloud-integrator requires a bearer_token config option to be set to authenticate the parca server/agent against your Polar Signals Cloud instance.

juju config polar-signals-cloud-integrator bearer_token=<API_TOKEN>

3. Integrate with Parca

If you want to configure parca-k8s server to forward profiles to the cloud instance, run:

juju integrate polar-signals-cloud-integrator:parca-store-endpoint parca:external-parca-store-endpoint

If you want to configure parca-agent to forward profiles to the cloud instance, run:

juju integrate polar-signals-cloud-integrator:parca-store-endpoint parca-agent:parca-store-endpoint

4. Verify the data collection

You can log into your Polar Signals Cloud instance, and profiling data should start appearing on your instance’s dashboard, similar to the example below:

1 Like