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
Copy file name to clipboardExpand all lines: README.md
+13
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,8 @@ Available to import from [Grafana dashboards](https://grafana.com/grafana/dashbo
41
41
42
42
# How to use
43
43
44
+
This extension won't do much by itself, you must have an instance of [Prometheus](https://prometheus.io/) configured to collect those metrics and an instance of [Grafana](https://grafana.com/grafana/) to visualize it.
45
+
44
46
Once the cog is added to your bot, the Prometheus metric endpoint can be accessed
45
47
at `localhost:8000/metrics`.
46
48
@@ -101,3 +103,14 @@ The default port is `8000` but can be changed while creating the cog.
101
103
```python
102
104
await bot.add_cog(PrometheusCog(bot, port=7000))
103
105
```
106
+
107
+
## Configuring Prometheus
108
+
109
+
Here is a quick example scrape config that you would write in `prometheus.yml`. *(make sure to replace name and host accordinly)*
0 commit comments