OpenTelemetry Collector
Visualize OpenTelemetry (OTEL) collector metrics (tested with OTEL contrib v0.101.0)
Visualisation of OpenTelemetry collector metrics from Prometheus.
Part of opentelemetry-collector-monitoring repo.
Collector configuration, where collector collects own metrics and posts them to Prometheus:
extensions:
sigv4auth/aws:
receivers:
prometheus:
config:
scrape_configs:
- job_name: otel-collector-metrics
scrape_interval: 10s
static_configs:
- targets: ['localhost:8888']
exporters:
# AWS Managed Prometheus example
prometheusremotewrite/aws:
endpoint: https://aps-workspaces.<region>.amazonaws.com/workspaces/<workspace-id>/api/v1/remote_write
auth:
authenticator: sigv4auth/aws
# Grafana Cloud example
prometheusremotewrite/grafanacloud:
# check your Grafana Cloud admin console for correct hostname
endpoint: https://prometheus-prod-11-prod-us-central-0.grafana.net/api/prom
headers:
# hardcoded base64 value in auth header or use basicauth extension
"Authorization": "Basic <base64(username:password)>"
# Prometheus server example
prometheusremotewrite/my-prometheus:
# my-prometheus server must have '--enable-feature=remote-write-receiver'
endpoint: https://my-prometheus/api/v1/write
service:
pipelines:
metrics:
receivers: [prometheus]
processors: []
# use configured prometheusremotewrite exporter
exporters: [prometheusremotewrite]
telemetry:
metrics:
address: 0.0.0.0:8888
level: detailed
See: collector monitoring doc and collector troubleshooting - metrics.
Data source config
Collector config:
Upload an updated version of an exported dashboard.json file from Grafana
Revision | Description | Created | |
---|---|---|---|
Download |