Skip to content

Grafana management /setup /deploy/ update/ new server metric.

We are using grafana in hetzner-backend1 as docker compose.

[

github.com

https://github.com/Attracs/hetzner-digital-devops-services/blob/main/grafana/docker-compose.yml

](https://github.com/Attracs/hetzner-digital-devops-services/blob/main/grafana/docker-compose.yml)

grafana.ini is config file for sso, ports, for configs for grafana.


scraping from node exporters are is store in prometheus.

[

github.com

https://github.com/Attracs/attracs-linux-playbooks/blob/master/prometheus/prometheus-hetzner.yml

](https://github.com/Attracs/attracs-linux-playbooks/blob/master/prometheus/prometheus-hetzner.yml)

for now this ansible is not working from AWX. we need to run it locally. go to: /opt/prometheus_manual_update edit with the new config file form (https://github.com/Attracs/attracs-linux-playbooks/blob/master/prometheus/configs/config.yml.j2 ): /opt/prometheus_manual_update/prometheus/configs/config.yml.j2 also update this file (https://github.com/Attracs/attracs-linux-playbooks/blob/master/frontend/frontend-data.yml ): /opt/prometheus_manual_update/frontend/frontend-data.yml

and after updating config.yml.j2 frontend-data.yml do: sudo ansible-playbook prometheus/prometheus-hetzner.yml