OTel Collector Configuration

Pipeline configuration for telemetry processing.


Architecture

1
2
3
4
5
Receivers → Processors → Exporters
   ↓            ↓           ↓
  OTLP    PII Scrubbing  OpenObserve
           Batching        Vanta
           Semantic        Debug

Configuration

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
51
52
53
54
# infra/otel/otel-collector-config.yaml
receivers:
  otlp:
    protocols:
      grpc:
        endpoint: 0.0.0.0:4317
      http:
        endpoint: 0.0.0.0:4318

processors:
  batch:
    timeout: 1s
    send_batch_size: 1024

  # PII Scrubbing (INV-OBS-02)
  attributes/pii:
    actions:
      - key: user.email
        action: hash
      - key: user.ip_address
        action: delete

  # Semantic Context (INV-OBS-03)
  resource/sea:
    attributes:
      - key: sea.platform
        value: sea-forge
        action: insert

exporters:
  debug:
    verbosity: detailed

  otlp/openobserve:
    endpoint: https://api.openobserve.ai
    headers:
      Authorization: Basic ${OPENOBSERVE_TOKEN}

service:
  pipelines:
    traces:
      receivers: [otlp]
      processors: [batch, attributes/pii, resource/sea]
      exporters: [debug]  # or otlp/openobserve

    metrics:
      receivers: [otlp]
      processors: [batch, resource/sea]
      exporters: [debug]

    logs:
      receivers: [otlp]
      processors: [batch, attributes/pii, resource/sea]
      exporters: [debug]

Processors

Processor Purpose
batch Efficient batching
attributes/pii PII scrubbing
resource/sea Semantic enrichment
memory_limiter Stability

Extensions

1
2
3
4
5
extensions:
  health_check:
    endpoint: 0.0.0.0:13133
  zpages:
    endpoint: 0.0.0.0:55679

Last Updated: January 2026