Skip to content

michaelact/example-grafana-agent-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example of Grafana Agent in a Container

Requirements

  1. Docker
  2. Docker Compose

Guide

  1. Create a .env file in the current directory. You can use the provided .env.example file as a reference.
  2. Run ./deploy.sh to deploy the Grafana Agent.

Verification

Prometheus

  1. Open the Prometheus web UI server.
  2. Choose one of the metrics from node-exporter to confirm that the metrics have been sent by the Grafana Agent.

  1. Ensure that the instance name already exists. In this case, the hostname of my server is nightwolf-bastion.

Grafana Agent

  1. Open the Grafana Agent web UI server.
  2. Open Graph menu.

  1. Ensure that the topology looks like the picture above.

About

Example of grafana agent deployment in container.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages