Page cover

Integrations

There are various ways the OTel ecosystem can gather metrics from databases, queues, etc. The Prometheus ecosystem offers a convenient way to gather these metrics and convert to OTel natively.

Prometheus Ecosystem

A PostgreSQL example:

receivers:
  prometheus:
    config:
      scrape_configs:
        - job_name: "postgresql"
          scrape_interval: 15s
          static_configs:
            - targets: ["<pg_exporter_host>:9187"]

exporters:
  otlphttp/omlet:
    endpoint: "{INTAKE}"
    headers:
      Authorization: "Bearer {AUTH_TOKEN}"

processors:
  batch:

service:
  pipelines:
    metrics:
      receivers: [prometheus]
      processors: [batch]
      exporters: [otlphttp/omlet]

Last updated