mirror of
https://github.com/tubearchivist/tubearchivist-metrics.git
synced 2024-12-22 09:50:15 +00:00
Addition of example prometheus configuration
This commit is contained in:
parent
ace246386f
commit
2b4be61d21
@ -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?
|
||||
|
||||
Typically, a prometheus server will poll the HTTP endpoint of the metrics service to obtain its metrics.
|
||||
|
Loading…
Reference in New Issue
Block a user