fix(infra): otel collector no self-loop trace export
- hapus otlp/jaeger exporter (jaeger mati sejak Docker dihapus) yang nunjuk ke 127.0.0.1:4317 (port receiver sendiri) -> loop trace tanpa henti, ~1.8jt baris log/hari di journal - traces pipeline -> nop exporter, metrics -> prometheus - logs pipeline dihapus (tidak ada konsumen)
This commit is contained in:
@@ -5,56 +5,37 @@ receivers:
|
|||||||
endpoint: 0.0.0.0:4317
|
endpoint: 0.0.0.0:4317
|
||||||
http:
|
http:
|
||||||
endpoint: 0.0.0.0:4318
|
endpoint: 0.0.0.0:4318
|
||||||
|
|
||||||
exporters:
|
exporters:
|
||||||
otlp/jaeger:
|
nop:
|
||||||
endpoint: jaeger:4317
|
|
||||||
tls:
|
|
||||||
insecure: true
|
|
||||||
|
|
||||||
prometheus:
|
prometheus:
|
||||||
endpoint: 0.0.0.0:8889
|
endpoint: 0.0.0.0:8889
|
||||||
enable_open_metrics: true
|
enable_open_metrics: true
|
||||||
resource_to_telemetry_conversion:
|
resource_to_telemetry_conversion:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
debug:
|
|
||||||
verbosity: normal
|
|
||||||
sampling_initial: 5
|
|
||||||
sampling_thereafter: 100
|
|
||||||
|
|
||||||
processors:
|
processors:
|
||||||
batch:
|
batch:
|
||||||
timeout: 1s
|
timeout: 1s
|
||||||
send_batch_size: 1024
|
send_batch_size: 1024
|
||||||
|
|
||||||
memory_limiter:
|
memory_limiter:
|
||||||
check_interval: 1s
|
check_interval: 1s
|
||||||
limit_mib: 512
|
limit_mib: 512
|
||||||
spike_limit_mib: 128
|
spike_limit_mib: 128
|
||||||
|
|
||||||
attributes:
|
attributes:
|
||||||
actions:
|
actions:
|
||||||
- key: service.namespace
|
- key: service.namespace
|
||||||
value: asepharyana-hub
|
value: asepharyana-hub
|
||||||
action: upsert
|
action: upsert
|
||||||
|
|
||||||
extensions:
|
extensions:
|
||||||
health_check:
|
health_check:
|
||||||
endpoint: 0.0.0.0:13133
|
endpoint: 0.0.0.0:13133
|
||||||
|
|
||||||
service:
|
service:
|
||||||
extensions: [health_check]
|
extensions: [health_check]
|
||||||
pipelines:
|
pipelines:
|
||||||
traces:
|
traces:
|
||||||
receivers: [otlp]
|
receivers: [otlp]
|
||||||
processors: [memory_limiter, batch, attributes]
|
processors: [memory_limiter, batch, attributes]
|
||||||
exporters: [otlp/jaeger, debug]
|
exporters: [nop]
|
||||||
metrics:
|
metrics:
|
||||||
receivers: [otlp]
|
receivers: [otlp]
|
||||||
processors: [memory_limiter, batch, attributes]
|
processors: [memory_limiter, batch, attributes]
|
||||||
exporters: [prometheus, debug]
|
exporters: [prometheus]
|
||||||
logs:
|
|
||||||
receivers: [otlp]
|
|
||||||
processors: [memory_limiter, batch, attributes]
|
|
||||||
exporters: [debug]
|
|
||||||
|
|||||||
Reference in New Issue
Block a user