forked from phoenix/litellm-mirror
fix otel tests
This commit is contained in:
parent
97ecf86d3d
commit
b80f27dce3
1 changed files with 3 additions and 1 deletions
|
@ -17,7 +17,9 @@ def test_otel_logging_async():
|
||||||
try:
|
try:
|
||||||
|
|
||||||
os.environ["OTEL_EXPORTER"] = "otlp_http"
|
os.environ["OTEL_EXPORTER"] = "otlp_http"
|
||||||
os.environ["OTEL_ENDPOINT"] = "http://0.0.0.0:8090/traces"
|
os.environ["OTEL_ENDPOINT"] = (
|
||||||
|
"https://exampleopenaiendpoint-production.up.railway.app/traces"
|
||||||
|
)
|
||||||
os.environ["OTEL_HEADERS"] = "Authorization=K0BSwd"
|
os.environ["OTEL_HEADERS"] = "Authorization=K0BSwd"
|
||||||
|
|
||||||
# Make 5 calls with an empty success_callback
|
# Make 5 calls with an empty success_callback
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue