[feat] add otel adapters

This commit is contained in:
Azamat 2026-03-20 13:38:57 +03:00
parent 1588efb9ca
commit 96af9c08f5
10 changed files with 321 additions and 8 deletions

View file

@ -12,7 +12,9 @@ logging:
otel:
service_name: web-python-skelet
exporter_endpoint: http://localhost:4318
logs_endpoint: http://localhost:4318/v1/logs
metrics_endpoint: http://localhost:4318/v1/metrics
traces_endpoint: http://localhost:4318/v1/traces
metric_export_interval: 1000
security:

View file

@ -0,0 +1,27 @@
receivers:
otlp:
protocols:
http:
endpoint: 0.0.0.0:4318
processors:
batch: {}
exporters:
debug:
verbosity: detailed
service:
pipelines:
logs:
receivers: [otlp]
processors: [batch]
exporters: [debug]
metrics:
receivers: [otlp]
processors: [batch]
exporters: [debug]
traces:
receivers: [otlp]
processors: [batch]
exporters: [debug]