summaryrefslogtreecommitdiffstats
path: root/tools/otel/otel-collector-config.yaml
blob: ebbf0606cb7e10b0f7846138ca3b5d18b5852144 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
receivers:
  otlp:
    protocols:
      grpc:

exporters:
  debug:
    verbosity: detailed

  loki:
    endpoint: http://loki:3100/loki/api/v1/push
    tls:
      insecure: true
    headers:
      "X-Scope-OrgID": "1"
    default_labels_enabled:
      exporter: true
      job: true
      instance: true
      level: true

processors:
  batch:

extensions:
  health_check:
  zpages:
    endpoint: ":55679"

service:
  pipelines:
    logs:
      receivers: [otlp]
      processors: [batch]
      exporters: [loki]

  extensions:
    - health_check
    - zpages