---
title: Charmhub | Deploy Grafana Agent using Charmhub - The Open Operator Collection
description: Deploy the latest version of Grafana Agent as a Kubernetes Operator on
  any cloud. Grafana Agent is a telemetry collector for sending metrics, logs, and
  trace data to the opinionated Grafana observability stack.
url: https://charmhub.io/grafana-agent-k8s
---

# Grafana Agent

[Canonical Observability](https://charmhub.io/publisher/observability "View all packages from Canonical Observability")

* [Canonical Observability](https://charmhub.io/publisher/observability "View all packages from Canonical Observability")

Platform:

0.40/stable rev229

```
juju deploy grafana-agent-k8s --channel 0.40/stable
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

---

#### Relevant links

* [Homepage](https://charmhub.io/grafana-agent-k8s)

---

#### Contacts

* [Submit a bug](https://github.com/canonical/grafana-agent-k8s-operator/issues)

---

Share your thoughts on this charm with the community on discourse.

[Join the discussion](https://discourse.charmhub.io/)

# Charmed Grafana Agent for K8s

> ## Announcing end of life
>
> This charm reaches end of life by the end of 2026. Consider switching to [opentelemetry-collector-k8s](https://charmhub.io/opentelemetry-collector-k8s) for continued support.

`grafana-agent-k8s` is a charm for [Grafana Agent](https://grafana.com/docs/agent/latest/).
It is an essential part of the [COS Lite bundle](https://charmhub.io/cos-lite).

This Charmed Operator handles deployment, scaling, configuration, and Day 2 operations specific to Grafana Agent.

This operator drives the Grafana Agent application, and it can be composed with other operators to deliver a complex application or service.

The charm automatically adds topology labels to all funneled telemetry and rules.
It also comes with built-in alert rules and dashboards for self-monitoring.

This charm is:

* part of the COS Lite bundle
* intended to be used together with [`prometheus-k8s`](https://charmhub.io/prometheus-k8s) and [`loki-k8s`](https://charmhub.io/loki-k8s).

## [In this documentation](https://charmhub.io/grafana-agent-k8s#p-15500-in-this-documentation)

|  |  |
| --- | --- |
| **Tutorial** Get started - a hands-on introduction for new users deploying the charmed operator. | **How-to guides** Step-by-step guides covering key operations and common tasks |
| **Explanation** Concepts - discussion and clarification of key topics | **Reference** Technical information - specifications, APIs, architecture |

## [Project and community](https://charmhub.io/grafana-agent-k8s#p-15500-project-and-community)

Charmed Grafana Agent is part of the Canonical Observability Stack. It’s an open source project that warmly welcomes community projects, contributions, suggestions, fixes and constructive feedback.

* [Read our Code of conduct](https://ubuntu.com/community/code-of-conduct)
* [Join the Discourse community forum](https://discourse.charmhub.io/tag/grafana-agent)
* [Join the Matrix community chat](https://matrix.to/#/#observability:ubuntu.com)
* [Contribute on GitHub](https://github.com/canonical/grafana-agent-k8s-operator)

Thinking about using the Canonical Observability Stack for your next project? [Get in touch!](https://discourse.charmhub.io/c/charm/41)

---

[Help improve this document in the forum](https://discourse.charmhub.io/t/grafana-agent-k8s-docs-index/5605) ([guidelines](https://discourse.charmhub.io/t/how-to-write-docs-our-documentation-guidelines-for-contributors/1245)). Last updated 6 months ago.
