vegasbrianc / prometheus

A docker-compose stack for Prometheus monitoring
MIT License
4.4k stars 1.53k forks source link

How to add Grafana plugin #165

Closed KRG-23 closed 3 years ago

KRG-23 commented 3 years ago

Hello,

I'd like to add a plugin for Grafana (https://github.com/neuralfraud/grafana-prtg) because I need Grafana to display graphs for our PRTG system alongside your Docker ressources monitoring.

As I'm new to Docker I feel I need to make changes elsewhere in your code but I can't figure out what to modify.

Expected Behaviour

Add a secondary Datasource (PRTG)

Current Behaviour

When modifying docker-compose.yml, Grafana containers are constantly created.

Possible Solution

Installing Grafana with docker run -d -p 3000:3000 -v grafana_data:/var/lib/grafana -v /root/all_config/grafana/custom.ini:/var/share/grafana/conf/grafana.ini --name=grafana -e "GF_INSTALL_PLUGINS=jasonlashua-prtg-datasource" grafana/grafana is working fine

Steps to Reproduce (for bugs)

Provide a link to a live example, or steps to reproduce this bug. Include code to reproduce, if relevant:

  1. Add environment: - GF_INSTALL_PLUGINS=jasonlashua-prtg-datasource to docker-compose.yml OR
  2. Insert GF_INSTALL_PLUGINS=jasonlashua-prtg-datasource to prometheus/grafana/config.monitoring

Your Environment

Include as many relevant details about the environment you experienced the bug in

github-actions[bot] commented 3 years ago

Awesome! Thanks for taking the time to open an issue. We will have a look and answer as soon as we can.' first issue

github-actions[bot] commented 3 years ago

This issue has seen no activity and is marked as stale