Ubuntu ROCK for Grafana Agent, an open-source telemetry collector for logs, metrics, and traces.
10K+
ubuntu/grafana-agent is a rock for grafana-agent maintained by Canonical.
Grafana Agent is a batteries-included, open source telemetry collector for collecting logs, metrics, and traces. It uses established battle-tested code to be fully compatible with Prometheus, Loki and Tmepo telemetry stack. Grafana Agent can forward metrics to any Prometheus-compatible endpoint, logs to any Loki-compatible endpoint, and traces to any OpenTelemetry-compatible endpoint.
[Learn more about grafana-agent]
NOTE: These tags follow a specific naming convention that respects the concept of channels.
| Tags | Supported until | Version | Base | Architectures |
|---|
| Tags | Support ended on | Upgrade Path | |
|---|---|---|---|
0.44-24.04_stable | aliases0-24.040-24.04_beta0-24.04_candidate0-24.04_edge0-24.04_stable0.44-24.040.44-24.04_beta0.44-24.04_candidate0.44-24.04_edge | 03/2026 | - |
0.44.2-24.04_stable | aliases0.44.2-24.040.44.2-24.04_beta0.44.2-24.04_candidate0.44.2-24.04_edge | 05/2025 | - |
0.43.4-24.04_stable | aliases0.43-24.040.43-24.04_beta0.43-24.04_candidate0.43-24.04_edge0.43-24.04_stable0.43.4-24.040.43.4-24.04_beta0.43.4-24.04_candidate0.43.4-24.04_edge | 03/2025 | - |
0.40.3-22.04_stable | aliases0.40.3-22.040.40.3-22.04_beta0.40.3-22.04_candidate0.40.3-22.04_edge | 05/2025 | - |
0.40.5-22.04_stable | aliases0-22.040-22.04_beta0-22.04_candidate0-22.04_edge0-22.04_stable0.40-22.040.40-22.04_beta0.40-22.04_candidate0.40-22.04_edge0.40-22.04_stable0.40.5-22.040.40.5-22.04_beta0.40.5-22.04_candidate0.40.5-22.04_edge | 05/2025 | - |
0.39.2-22.04_stable | aliases0.39-22.040.39-22.04_beta0.39-22.04_candidate0.39-22.04_edge0.39-22.04_stable0.39.2-22.040.39.2-22.04_beta0.39.2-22.04_candidate0.39.2-22.04_edge | 03/2025 | - |
0.40.2-22.04_stable | aliases0.40.2-22.040.40.2-22.04_beta0.40.2-22.04_candidate0.40.2-22.04_edge | 03/2025 | - |
0.38.0-22.04_stable | aliases0.38.0-22.040.38.0-22.04_beta0.38.0-22.04_candidate0.38.0-22.04_edge | 03/2025 | - |
0.39.1-22.04_stable | aliases0.39.1-22.040.39.1-22.04_beta0.39.1-22.04_candidate0.39.1-22.04_edge | 03/2025 | - |
0.39.0-22.04_stable | aliases0.39.0-22.040.39.0-22.04_beta0.39.0-22.04_candidate0.39.0-22.04_edge | 03/2025 | - |
0.37.4-22.04_stable | aliases0.37-22.040.37-22.04_beta0.37-22.04_candidate0.37-22.04_edge0.37-22.04_stable0.37.4-22.040.37.4-22.04_beta0.37.4-22.04_candidate0.37.4-22.04_edge | 03/2025 | - |
0.40.4-22.04_stable | aliases0.40.4-22.040.40.4-22.04_beta0.40.4-22.04_candidate0.40.4-22.04_edge | 05/2025 | - |
0.35.4-22.04_stable | aliases0.35-22.040.35-22.04_beta0.35-22.04_candidate0.35-22.04_edge0.35-22.04_stable0.35.4-22.040.35.4-22.04_beta0.35.4-22.04_candidate0.35.4-22.04_edge | 03/2025 | - |
0.38.1-22.04_stable | aliases0.38-22.040.38-22.04_beta0.38-22.04_candidate0.38-22.04_edge0.38-22.04_stable0.38.1-22.040.38.1-22.04_beta0.38.1-22.04_candidate0.38.1-22.04_edge | 03/2025 | - |
0.35.2-22.04_stable | aliases0.35.2-22.040.35.2-22.04_beta0.35.2-22.04_candidate0.35.2-22.04_edge | 03/2025 | - |
This rock's entrypoint is Pebble, a container-optimized init process that enables the orchestration of a collection of local service processes as an organized set.
To view the Pebble services and checks defined in this rock:
docker run --rm ubuntu/grafana-agent:0.44-24.04_stable plan
The container spins up with the default entrypoint. To inspect the entrypoint and command:
docker inspect --format='{{.Config.Entrypoint}} {{.Config.Cmd}}' ubuntu/grafana-agent:0.44-24.04_stable
To run this rock, use any of the usual container runtimes, for example, docker:
docker run --name grafana-agent-container \
-p 12345:12345 \
ubuntu/grafana-agent:0.44-24.04_stable
Grafana Agent starts and listens on port 12345.
Access the Grafana Agent instance at http://localhost:12345.
To view the logs of the running container, run:
docker exec grafana-agent-container pebble logs
Or, for a specific service:
docker exec grafana-agent-container pebble logs <service>
To view the logs of the running container, run:
docker logs grafana-agent-container
Rocks may have predefined health checks that you can list by running:
docker exec grafana-agent-container pebble checks
The overall health of your container can be inspected via:
docker exec grafana-agent-container pebble health
| Option | Description | Default |
|---|---|---|
| TZ | Timezone. | UTC |
| Option | Description | Default |
|---|---|---|
-v <path>:/etc/agent/agent.yaml | Local configuration file agent.yaml. | None |
| Option | Description | Default |
|---|---|---|
-p <port>:12345 | Expose port 12345 on the host. | None |
Canonical is the provider of this container image. It is the user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within, as well as with Canonical’s IP Policy.
Content type
Image
Digest
sha256:10ef811eb…
Size
101.2 MB
Last updated
5 months ago
docker pull ubuntu/grafana-agent:0.44-24.04_stablePulls:
269
Last week