miekg / caddy-prometheus

Prometheus metrics middleware for caddy
Apache License 2.0
65 stars 26 forks source link

Provide a Grafana dashboard #31

Open MisterDuval opened 7 years ago

MisterDuval commented 7 years ago

Hi, could you provide a Grafana dashboard with your metrics? Thanks for making this plugin greater!

hackeryarn commented 6 years ago

Exactly what are you asking for here? Once your connect Grafana and Prometheus, all the Caddy metrics should be available to you.

Are you asking for a sample dashboard to be provided as a starting point? I would be happy to drop in a dashboard config with a few graphs, but I am concerned about providing something like this. The queries could vary significantly based on your configuration of Prometheus and Grafana.

miekg commented 6 years ago

A generic qps, latency (per) OP and errors should be good enough for most? Mine is not more complex than that, although I list all my virtual hosts separately, which is a bit of an anti-pattern because it doesn't scale (in the graphs)

MisterDuval commented 6 years ago

I expect something like https://grafana.com/dashboards/462, It should be posted there too to promote both Caddy and your great plugin ;-)

Plorenzo commented 6 years ago

I'don't know about a dashboard, but some instructions to show what to do after installing the plugin would be great.

I installed it and it's running but I don't see any of the metrics on Grafana, do I have to edit /etc/prometheus/prometheus.yml ? Do I have to add a new data source ?

uniuuu commented 2 years ago

@MisterDuval Here are 2 dashboards available. https://grafana.com/grafana/dashboards/14280 https://grafana.com/grafana/dashboards/13460