Skip to content

Commit

Permalink
docs: Optimize the sample configuration of prometheus job apache#5194
Browse files Browse the repository at this point in the history
  • Loading branch information
nic-6443 committed Oct 11, 2021
1 parent 872da37 commit 41ab65d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/en/latest/plugins/prometheus.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ For example like this:
```yaml
scrape_configs:
- job_name: 'apisix'
scrape_interval: 15s
metrics_path: '/apisix/prometheus/metrics'
static_configs:
- targets: ['127.0.0.1:9091']
Expand Down
1 change: 1 addition & 0 deletions docs/zh/latest/plugins/prometheus.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ curl -i http://127.0.0.1:9091/apisix/prometheus/metrics
```yaml
scrape_configs:
- job_name: "apisix"
scrape_interval: 15s
metrics_path: "/apisix/prometheus/metrics"
static_configs:
- targets: ["127.0.0.1:9091"]
Expand Down

0 comments on commit 41ab65d

Please sign in to comment.