Skip to content

Commit

Permalink
Added Prometheus
Browse files Browse the repository at this point in the history
  • Loading branch information
DazWilkin committed Jun 25, 2023
1 parent 334569b commit b5c9191
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,20 @@ All metric names are prefix `koyeb_`
## Prometheus
```bash
VERS="v2.45.0"
# Binds to host network to scrape Koyeb Exporter
podman run \
--interactive --tty --rm \
--net=host \
--volume=${PWD}/prometheus.yml:/etc/prometheus/prometheus.yml \
--volume=${PWD}/rules.yml:/etc/alertmanager/rules.yml \
quay.io/prometheus/prometheus:${VERS} \
--config.file=/etc/prometheus/prometheus.yml \
--web.enable-lifecycle
```
See [`prometheus.yml`](/prometheus.yml)
## Alerting Rules
Expand Down

0 comments on commit b5c9191

Please sign in to comment.