Grafana Cloud Integrator

Platform:

Ubuntu
26.04 24.04 22.04 20.04
Channel Revision Published Runs on
3.0/stable 73 07 Jul 2026
Ubuntu 24.04
3.0/candidate 85 07 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
3.0/candidate 84 07 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
3.0/candidate 83 07 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
3.0/beta 85 07 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
3.0/beta 84 07 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
3.0/beta 83 07 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
3.0/edge 85 06 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
3.0/edge 84 06 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
3.0/edge 83 06 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
2/candidate 82 07 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
2/candidate 81 07 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
2/candidate 80 07 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
2/beta 82 07 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
2/beta 81 07 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
2/beta 80 07 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
2/edge 82 06 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
2/edge 81 06 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
2/edge 80 06 Aug 2026
Ubuntu 26.04 Ubuntu 24.04 Ubuntu 22.04
1/stable 52 11 Jun 2025
Ubuntu 22.04 Ubuntu 20.04
1/stable 53 11 Jun 2025
Ubuntu 22.04 Ubuntu 20.04
1/candidate 53 11 Jun 2025
Ubuntu 22.04 Ubuntu 20.04
1/candidate 52 11 Jun 2025
Ubuntu 22.04 Ubuntu 20.04
1/beta 52 11 Jun 2025
Ubuntu 22.04 Ubuntu 20.04
1/beta 53 11 Jun 2025
Ubuntu 22.04 Ubuntu 20.04
1/edge 53 07 May 2025
Ubuntu 22.04 Ubuntu 20.04
1/edge 52 07 May 2025
Ubuntu 22.04 Ubuntu 20.04
juju deploy grafana-cloud-integrator --channel 3.0/stable

The grafana-cloud-integrator charm can be configured to forward telemetry to not only Grafana cloud, but also to any Prometheus- (or Loki-) compatible endpoint. This is generally useful when running the stack on-premise isn’t desired, or when an additional off-premise storage is used for redundancy.

MetricBeat is an Elasticsearch component that collects and ships metrics; it can be used as an intermediary to ship metrics to an Elastic cloud.

Using the grafana-cloud-integrator charm, we can have grafana-agent send metrics to MetricBeat with a simple setup!

Deployment scenario and setup configuration

You’ll need to have the grafana-agent machine charm up and running, with a subordinate relation to the charm you’re observing. If you don’t know how, you can find more information on the linked charm’s documentation.

When setting up MetricBeat, you should configure it to expose a Prometheus’ remote-write endpoint; as shown in the docs, this is achieved by enabling the prometheus module and modifying it to enable the remote write endpoint (e.g, http://10.0.1.123:9201/write).

Once that is set up, you’ll simply need to deploy grafana-cloud-integrator, configure the aforementioned endpoint in the charm, and relate it to grafana-agent:

juju deploy grafana-cloud-integrator
juju config grafana-cloud-integrator prometheus-url=http://10.0.1.123:9201/write

juju relate grafana-agent:grafana-cloud-config grafana-cloud-integrator

The metrics will then start to seamlessly appear in your Elastic cloud!