OpenTelemetry Collector Configuration

Use the configurator below to generate OpenTelemetry Collector config and save it at /etc/otel-contrib-collector/config.yaml. Learn more >>

receivers:
  otlp:
    protocols:
      grpc: 
      http: 
  hostmetrics:
    collection_interval: 10s
    scrapers:
      cpu: 
      disk: 
      filesystem: 
      load: 
      memory: 
      network: 
      paging: 

processors:
  resourcedetection:
    detectors: [system]
  batch:
    send_batch_size: 10000
    timeout: 10s

exporters:
  otlp:
    endpoint: otlp.uptrace.dev:4317
    headers:
      # Copy your project DSN here
      uptrace-dsn: 'https://<token>@api.uptrace.dev/<project_id>'

service:
  pipelines:
    traces:
      receivers: [otlp]
      processors: [batch]
      exporters: [otlp]
    metrics:
      receivers: [otlp, hostmetrics]
      processors: [batch, resourcedetection]
      exporters: [otlp]
    logs:
      receivers: [otlp]
      processors: [batch]
      exporters: [otlp]
Host metricsdoc
Receiverslist

Last Updated: 2/2/2023, 12:25:29 PM
Get insights and updates in your inbox: