You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add the `prometheus` directive in your `CaddyFile`
70
+
* Restart Caddy
71
+
* Configure Telegraf to fetch metrics on it:
72
+
73
+
```
74
+
[[inputs.prometheus]]
75
+
# ## An array of urls to scrape metrics from.
76
+
urls = ["http://localhost:9180/metrics"]
77
+
```
78
+
79
+
> This is the default URL where Caddy Prometheus plugin will send data.
80
+
> For more details, please read the [Caddy Prometheus documentation](https://github.com/miekg/caddy-prometheus/blob/master/README.md).
0 commit comments