Switch otel to v2
This commit is contained in:
1 parent
bdb3ebcae6
commit
d2542f8882
1 file changed
+6
-5
+6
-5
@@ -10,11 +10,12 @@ services:
|
||||
ports:
|
||||
- "4000:4000"
|
||||
environment:
|
||||
OTEL_EXPORTER_OTLP_ENDPOINT: http://alloy:4318
|
||||
OTEL_EXPORTER_OTLP_PROTOCOL: http/protobuf
|
||||
OTEL_TRACES_EXPORTER: otlp
|
||||
OTEL_METRICS_EXPORTER: otlp
|
||||
OTEL_SERVICE_NAME: litellm
|
||||
LITELLM_OTEL_V2: true
|
||||
OTEL_ENDPOINT: "http://alloy:4318"
|
||||
OTEL_EXPORTER: "otlp_http"
|
||||
#OTEL_TRACES_EXPORTER: otlp
|
||||
#OTEL_METRICS_EXPORTER: otlp
|
||||
#OTEL_SERVICE_NAME: litellm
|
||||
#LITELLM_LOG: DEBUG
|
||||
depends_on:
|
||||
- alloy
|
||||
|
||||
Reference in new issue
Block a user