Simple Prometheus receiver 🔗
The Simple Prometheus is a wrapper around the Prometheus receiver that allows the Splunk Distribution of OpenTelemetry Collector to collect metrics from a single source of telemetry in Prometheus format. The supported pipeline type is
To scrape Prometheus metrics from multiple targets that require extensive configuration, use the Prometheus receiver. See Prometheus receiver for more information.
The Simple Prometheus receiver requires less configuration than the Prometheus receiver. You can define settings for a single Prometheus endpoint without having to use a Prometheus configuration. The receiver converts Prometheus metrics to OpenTelemetry metrics while preserving metric names, values, timestamps, and labels.
Get started 🔗
Follow these steps to configure and activate the component:
Deploy the Splunk Distribution of OpenTelemetry Collector to your host or container platform:
Configure the Simple Prometheus receiver as described in the next section.
Restart the Collector.
Sample configurations 🔗
To activate additional Prometheus receivers, add a new
prometheus_simple entry in the
receivers section of the Collector configuration file, as in the following example:
receivers: prometheus: receivers: prometheus_simple/endpointname: collection_interval: 10s use_service_account: true endpoint: "172.17.0.5:9153" tls: ca_file: "/path/to/ca" cert_file: "/path/to/cert" key_file: "/path/to/key" insecure_skip_verify: true
To complete the configuration, include the receiver in the
metrics pipeline of the
service section of your
configuration file. For example:
service: pipelines: metrics: receivers: - prometheus_simple/endpointname
Don’t remove the
prometheus/internal receiver from the configuration. Internal metrics feed the Splunk Distribution of OpenTelemetry Collector default dashboard.
The following table shows the configuration options for the Prometheus receiver:
The Simple Prometheus receiver converts Prometheus metrics to OpenTelemetry metrics following these conversion rules:
Prometheus metric type
OpenTelemetry metric type
Sum (data type
Gauge (data type
Histogram (cumulative distribution)
If you are a Splunk Observability Cloud customer and are not able to see your data in Splunk Observability Cloud, you can get help in the following ways.
Available to Splunk Observability Cloud customers 🔗
Submit a case in the Splunk Support Portal.
Call Splunk Customer Support.
Available to customers and free trial users 🔗
Ask a question and get answers through community support at Splunk Answers.
Join the Splunk #observability user group Slack channel to communicate with customers, partners, and Splunk employees worldwide. To join, see Chat groups in the Get Started with Splunk Community manual.
To learn about even more support options, see Splunk Customer Success.