summaryrefslogtreecommitdiffstats
path: root/tools/otel/otel-collector-config.yaml
blob: 26a330cf5dbb264e765b052cfe47a7b00f92ed48 (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
40
41
42
43
44
45
46
47
48
49
50
receivers:
  otlp:
    protocols:
      grpc:
      http:

exporters:
  debug:
    verbosity: detailed

  file:
    path: /awx-logs/awx-logs.json.zstd
    rotation:
      max_days: 14
      localtime: false
      max_megabytes: 300
      max_backups: 200
    format: json
    compression: zstd

  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: [file, loki]

  extensions:
    - health_check
    - zpages