Skip to content

Commit

Permalink
Fix minor typos in metric docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejoh committed Oct 22, 2024
1 parent 4b5e025 commit 06110fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/sources/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ Assume you finished [Getting Started](getting-started.md).

## Contents

- [Scrapping the metrics](#scrapping-the-metrics)
- [Scraping the metrics](#scraping-the-metrics)
- [Exported metrics](#exported-metrics)
- [Label values](#label-values)
- [Grafana dashboard](#grafana-dashboard)

## Scrapping the metrics
## Scraping the metrics

GoBGP exposes the metric endpoint and the pprof endpoint using the same startup flag: `--pprof-host`. By default, it listens locally on port `6060`.
The path on which the Prometheus metrics are exposed by default is `/metrics` and can be overriden using `--metrics-path`. Ensure `--pprof-disable` is not specified, or it will disable both `pprof` and
the metric endpoint, unless an override for the path is specified through `--metrics-path` (in that case, metrics will be exposed anyways).

Manually scrap the metrics to verify your setup is working:
Manually scrape the metrics to verify your setup is working:

```bash
curl -s localhost:6060/metrics
Expand Down

0 comments on commit 06110fa

Please sign in to comment.