mirror of https://github.com/statping/statping
Updated Prometheus Exporter (markdown)
parent
0b162ef1fd
commit
96b9aec3d9
|
@ -1,8 +1,9 @@
|
|||
Statup includes a prometheus exporter so you can have even more monitoring power with your services. The prometheus exporter can be seen on `/metrics`, simply create another exporter in your prometheus config.
|
||||
Statup includes a prometheus exporter so you can have even more monitoring power with your services. The prometheus exporter can be seen on `/metrics`, simply create another exporter in your prometheus config. Use your Statup API Secret for the Authorization Bearer header, the `/metrics` URL is dedicated for Prometheus and requires the correct API Secret has `Authorization` header.
|
||||
|
||||
```yaml
|
||||
scrape_configs:
|
||||
- job_name: 'statup'
|
||||
bearer_token: MY API SECRET HERE
|
||||
static_configs:
|
||||
- targets: ['statup:8080']
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue