Addition of example prometheus configuration

This commit is contained in:
Ainsey11 2022-04-15 01:12:37 +01:00
parent ace246386f
commit 2b4be61d21

View File

@ -63,6 +63,15 @@ Environment variables can be passed in via normal syntax for your OS.
--- ---
### Prometheus example config
```
- job_name: 'tubearchivist-metrics'
metrics_path: /
static_configs:
- targets:
- <server>:9934
```
---
## How are metrics gathered? ## How are metrics gathered?
Typically, a prometheus server will poll the HTTP endpoint of the metrics service to obtain its metrics. Typically, a prometheus server will poll the HTTP endpoint of the metrics service to obtain its metrics.