【openeuler/grafana-agent docker image overview】
【代码】【openeuler/grafana-agent docker image overview】

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-agentimage 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-agentis started, access the grafana-agent service throughhttp://localhost:12345. -
Container startup options
Option Description -p 12345:12345Expose Grafana Agent on localhost:12345.-v /path/to/agent/config.yaml:/etc/agent/agent.yamlLocal 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.
鲲鹏昇腾开发者社区是面向全社会开放的“联接全球计算开发者,聚合华为+生态”的社区,内容涵盖鲲鹏、昇腾资源,帮助开发者快速获取所需的知识、经验、软件、工具、算力,支撑开发者易学、好用、成功,成为核心开发者。
更多推荐

所有评论(0)