Skip to content

Latest commit

 

History

History
48 lines (46 loc) · 1.09 KB

otel-collector-custom-resource.adoc

File metadata and controls

48 lines (46 loc) · 1.09 KB
Example OpenTelemetryCollector CR
apiVersion: opentelemetry.io/v1alpha1
kind: OpenTelemetryCollector
metadata:
  name: otel
  namespace: <project_of_opentelemetry_collector_instance>
spec:
  mode: deployment
  config: |
    receivers: # (1)
      otlp:
        protocols:
          grpc:
          http:
      jaeger:
        protocols:
          grpc: {}
          thrift_binary: {}
          thrift_compact: {}
          thrift_http: {}
      zipkin: {}
    processors: # (2)
      batch: {}
      memory_limiter:
        check_interval: 1s
        limit_percentage: 50
        spike_limit_percentage: 30
    exporters: # (3)
      debug: {}
    service:
      pipelines:
        traces:
          receivers: [otlp,jaeger,zipkin]
          processors: [memory_limiter,batch]
          exporters: [debug]
  1. For details, see the "Receivers" page.

  2. For details, see the "Processors" page.

  3. For details, see the "Exporters" page.