mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
(feat) proxy: add otel config
This commit is contained in:
parent
60af976aac
commit
848acdf28e
1 changed files with 30 additions and 0 deletions
30
litellm/proxy/otel_config.yaml
Normal file
30
litellm/proxy/otel_config.yaml
Normal file
|
@ -0,0 +1,30 @@
|
|||
receivers:
|
||||
otlp:
|
||||
protocols:
|
||||
grpc:
|
||||
endpoint: 0.0.0.0:4317
|
||||
|
||||
processors:
|
||||
batch:
|
||||
timeout: 1s
|
||||
send_batch_size: 1024
|
||||
|
||||
exporters:
|
||||
logging:
|
||||
loglevel: debug
|
||||
otlphttp/elastic:
|
||||
endpoint: "https://3f51c0abae7743e2800df44a8a5f0997.apm.us-central1.gcp.cloud.es.io:443"
|
||||
headers:
|
||||
Authorization: "Bearer elastic search key"
|
||||
|
||||
service:
|
||||
pipelines:
|
||||
metrics:
|
||||
receivers: [otlp]
|
||||
exporters: [logging, otlphttp/elastic]
|
||||
traces:
|
||||
receivers: [otlp]
|
||||
exporters: [logging, otlphttp/elastic]
|
||||
logs:
|
||||
receivers: [otlp]
|
||||
exporters: [logging,otlphttp/elastic]
|
Loading…
Add table
Add a link
Reference in a new issue