Prometheus OTel Scrape (Bring Your Own Config)
| Version | 0.1.0
|
| Subscription level What's this? |
Basic |
| Developed by What's this? |
Elastic |
| Minimum Kibana version(s) | 9.2.0 |
To use beta integrations, go to the Integrations page in Kibana, scroll down, and toggle on the Display beta integrations option.
This package allows you to scrape Prometheus-compatible metrics endpoints using the OpenTelemetry Collector's Prometheus receiver by pasting your existing Prometheus scrape configuration directly.
This package configures the Prometheus receiver in the EDOT collector to scrape metrics from Prometheus-compatible endpoints. Simply paste your existing Prometheus scrape_configs YAML and the package will use it as-is. The Elastic Agent processes and enriches the data before sending it to Elasticsearch for indexing and analysis.
Looking for guided configuration? If you prefer configuring individual settings through the Fleet UI, consider using the Prometheus OTel Scrape (Guided) package instead.
Paste your existing Prometheus scrape_configs YAML directly from your prometheus.yml file:
- job_name: 'my-app'
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- 'localhost:9090'
- 'localhost:9100'
honor_labels: true
honor_timestamps: true
This becomes the literal receiver config:
receivers:
prometheus:
config:
scrape_configs:
- job_name: 'my-app'
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- 'localhost:9090'
- 'localhost:9100'
honor_labels: true
honor_timestamps: true
For detailed configuration options and their descriptions, refer to the Prometheus Receiver documentation in the upstream OpenTelemetry Collector repository.
- Quickly migrate existing Prometheus scrape configurations
- Use advanced Prometheus scraping features not exposed in the guided package
- Monitor applications exposing Prometheus metrics
- Scrape Node Exporter, cAdvisor, or other Prometheus exporters
This package requires:
- Kibana 9.2.0 or later
- Elastic Agent with OpenTelemetry Collector support
Changelog
| Version | Details | Minimum Kibana version |
|---|---|---|
| 0.1.0 | Enhancement (View pull request) Initial release of the Prometheus OpenTelemetry Raw Input package |
— |