在这里插入图片描述

Quick reference

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:

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 docker

    docker 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 through http://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.

Logo

鲲鹏昇腾开发者社区是面向全社会开放的“联接全球计算开发者,聚合华为+生态”的社区,内容涵盖鲲鹏、昇腾资源,帮助开发者快速获取所需的知识、经验、软件、工具、算力,支撑开发者易学、好用、成功,成为核心开发者。

更多推荐