Docs » Supported integrations in Splunk Observability Cloud » Collector components: Receivers » Simple Prometheus receiver

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 metrics.

To scrape Prometheus metrics from multiple targets that require extensive configuration, use the Prometheus receiver. See Prometheus receiver for more information.

Benefits πŸ”—

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:

  1. Deploy the Splunk Distribution of OpenTelemetry Collector to your host or container platform:

  2. Configure the Simple Prometheus receiver as described in the next section.

  3. 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

Caution

Don’t remove the prometheus/internal receiver from the configuration. Internal metrics feed the Splunk Distribution of OpenTelemetry Collector default dashboard.

Settings πŸ”—

The following table shows the configuration options for the Prometheus receiver:

Metrics πŸ”—

The Simple Prometheus receiver converts Prometheus metrics to OpenTelemetry metrics following these conversion rules:

Prometheus metric type

OpenTelemetry metric type

Counter (monotonic)

Sum (data type double)

Gauge
Unknown

Gauge (data type double)

Histogram

Histogram (cumulative distribution)

Summary

Summary (percentiles)

Troubleshooting πŸ”—

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

Available to prospective 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 .