Quick reference
-
The official Grafana-agent docker image.
-
Maintained by: openEuler CloudNative SIG.
-
Where to get help: openEuler CloudNative SIG, openEuler.
Grafana-agent | openEuler
Current Grafana-agent docker images are built on the openEuler. This repository is free to use and exempted from per-user rate limits.
Grafana Agent is an OpenTelemetry Collector distribution with configuration inspired by Terraform. It is designed to be flexible, performant, and compatible with multiple ecosystems such as Prometheus and OpenTelemetry.
Grafana Agent is based around components. Components are wired together to form programmable observability pipelines for telemetry collection, processing, and delivery.
Grafana Agent can collect, transform, and send data to:
- The Prometheus ecosystem
- The OpenTelemetry ecosystem
- The Grafana open source ecosystem (Loki, Grafana, Tempo, Mimir, Pyroscope)
Learn more on Grafana-agent website.
Supported tags and respective Dockerfile links
The tag of each grafana-agent docker image is consist of the version of grafana-agent and the version of basic image. The details are as follows
Tags | Currently | Architectures |
---|---|---|
0.40.2-oe2203sp3 | Grafana-agent 0.40.2 on openEuler 22.03-LTS-SP3 | amd64, arm64 |
Usage
In this usage, users can select the corresponding {Tag}
and container startup options
based on their requirements.
-
Pull the
openeuler/grafana-agent
image from dockerdocker pull openeuler/grafana-agent:{Tag}
-
Start a grafana-agent instance
docker run -d --name my-grafana-agent -p 12345:12345 openeuler/grafana-agent:{Tag}
After the instance
my-grafana-agent
is started, access the grafana-agent service throughhttp://localhost:12345
. -
Container startup options
Option Description -p 12345:12345
Expose Grafana Agent on localhost:12345
.-v /path/to/agent/config.yaml:/etc/agent/agent.yaml
Local configuration file agent.yml
. -
View container running logs
docker logs -f my-grafana-agent
-
To get an interactive shell
docker exec -it my-grafana-agent /bin/bash
Question and answering
If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images.