mode: deployment
config:
  receivers:
    otlp:
      protocols: { http: {}, grpc: {} }
  processors:
    batch: {}
  exporters:
    prometheusremotewrite:
      endpoint: "http://monitoring-kube-prometheus-prometheus.monitoring:9090/api/v1/write"
    loki:
      endpoint: "http://loki.logging:3100/loki/api/v1/push"
  service:
    pipelines:
      metrics:
        receivers: [otlp]
        processors: [batch]
        exporters: [prometheusremotewrite]
      logs:
        receivers: [otlp]
        processors: [batch]
        exporters: [loki]
