main
Tran Hau 2020-05-09 21:22:50 +07:00
parent 22847ae7a6
commit fc678ad58b
1 changed files with 17 additions and 0 deletions

View File

@ -34,3 +34,20 @@ docker run -d \
-p 9091:9091 \
prom/pushgateway
```
UI:
```txt
localhost:9091
```
To configure the Pushgateway as a target to scrape by Prometheus,
add to Prometheus configuration file:
```yaml
scrape_configs:
- job_name: "pushgateway"
honor_labels: true
static_configs:
- targets: ["localhost:9091"]
```