About
An exporter is an endpoint that:
By default, the URL is:
http://hostname:exporterport/metrics
Filtering
Exporters may add filter capabilities via the URL.
Example with a name[] URL parameter for querying only specific metric names. Examples:
/metrics?name[]=jvm_threads_current
/metrics?name[]=jvm_threads_current&name[]=jvm_threads_daemon
A Prometheus scrap job (collector) may be filtered via relableing action
Example
- node exporter for Linux Metrics
- grok exporter that uses Grok patterns for extracting Prometheus metrics from arbitrary log files.
- Nginx log exporter that uses mtail to scrape the nginx log