From 848acdf28e9ab6ad3149a564a40f69281c09eceb Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Fri, 1 Dec 2023 17:30:35 -0800 Subject: [PATCH] (feat) proxy: add otel config --- litellm/proxy/otel_config.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 litellm/proxy/otel_config.yaml diff --git a/litellm/proxy/otel_config.yaml b/litellm/proxy/otel_config.yaml new file mode 100644 index 0000000000..a3ece199d7 --- /dev/null +++ b/litellm/proxy/otel_config.yaml @@ -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] \ No newline at end of file