Skip to content

Commit

Permalink
Highlight the existence of the /metrics endpoint (#977)
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Candler <[email protected]>
  • Loading branch information
candlerb authored Aug 30, 2023
1 parent c9fd025 commit f280411
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ Note that [URL encoding](https://en.wikipedia.org/wiki/URL_encoding) should be u
to the `:` and `/` characters. Prometheus encodes query parameters automatically and manual encoding
is not necessary within the Prometheus configuration file.

Metrics concerning the operation of the exporter itself are available at the
endpoint <http://localhost:9116/metrics>.

## Multi-Module Handling
The multi-module functionality allows you to specify multiple modules, enabling the retrieval of information from several modules in a single scrape.
The concurrency can be specified using the snmp-exporter option `--snmp.module-concurrency` (the default is 1).
Expand Down Expand Up @@ -146,6 +149,11 @@ scrape_configs:
target_label: instance
- target_label: __address__
replacement: 127.0.0.1:9116 # The SNMP exporter's real hostname:port.

# Global exporter-level metrics
- job_name: 'snmp_exporter'
static_configs:
- targets: ['localhost:9116']
```
Similarly to [blackbox_exporter](https://github.com/prometheus/blackbox_exporter),
Expand Down

0 comments on commit f280411

Please sign in to comment.