Skip to content

Configure the OpenTelemetry Collector for KloudMate

If you already run the OpenTelemetry Collector, you can export telemetry to KloudMate by adding an otlphttp exporter to your Collector configuration.

Add your KloudMate API key as the Authorization header in the otlphttp exporter configuration.

The example below shows a minimal Collector configuration that receives telemetry over OTLP and exports logs, metrics, and traces to KloudMate.

receivers:
  otlp:
    protocols:
      grpc:
      http:

processors:
  batch:
    send_batch_size: 5000
    timeout: 10s

exporters:
  otlphttp:
    endpoint: https://otel.kloudmate.com:4318
    headers:
      Authorization: YOUR_KLOUDMATE_API_KEY

extensions:
  health_check:
  pprof:
  zpages:

service:
  extensions: [health_check, pprof, zpages]
  pipelines:
    traces:
      receivers: [otlp]
      processors: [batch]
      exporters: [otlphttp]
    metrics:
      receivers: [otlp]
      processors: [batch]
      exporters: [otlphttp]
    logs:
      receivers: [otlp]
      processors: [batch]
      exporters: [otlphttp]
  • Receives telemetry over OTLP using both gRPC and HTTP
  • Applies batch processing before export
  • Sends traces, metrics, and logs to KloudMate through OTLP/HTTP
  • Enables standard health and debugging extensions for the Collector