Grafana Stack for Metrics, Logs, & Traces using Podman
Clone this repo locally on your RHEL/CentOS/Rocky Linux/Alma Linux machine.
$ git clone https://github.com/CastawayEGR/grafana-stack-podman
Change to the cloned repo directory.
$ cd grafana-stack-podman
Now we want to spin this up using podman.
$ podman play kube grafana-stack.yaml
We can verify the stack is up and running by running the following.
$ podman ps
Next up we can expose Grafana, Mimir, Loki, and Tempo via firewall-cmd.
$ sudo firewall-cmd --permanent --add-port={3000/tcp,3100/tcp,4317/tcp,4318/tcp,9009/tcp,9095/tcp,9096/tcp,9097/tcp,9411/tcp,14268/tcp}
$ sudo firewall-cmd --reload
Once deployed you can browse to the Grafana deployment by visiting http://{machine_ip}:3000 and logging in with the default credentials.
Finally we want to configure our 3 newly deployed backends with the following information.
Prometheus:
http://{machine_ip}:9009/prometheus
Loki:
http://{machine_ip}:3100
Tempo:
http://{machine_ip}:3200
That's it you are ready to start ingesting metrics, logs, and traces!
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.