receivers:
  otlp:
    protocols:
      http:
        endpoint: otel-collector:4318

exporters:
  otlp/jaeger:
    endpoint: jaeger:4317
    tls:
      insecure: true

  prometheus:
    endpoint: 0.0.0.0:8889
    namespace: default

processors:
  filter/host_id:
    traces:
      span:
        - 'resource.attributes["service.instance.id"] == "883e1d421972:450561"'

service:
  pipelines:
    traces:
      receivers: [otlp]
      processors: [filter/host_id]
      exporters: [otlp/jaeger]

    metrics:
      receivers: [otlp] 
      processors:
        - filter/host_id
      exporters: [prometheus]
