fix otel tests

This commit is contained in:
Ishaan Jaff 2024-09-11 21:25:27 -07:00
parent 97ecf86d3d
commit b80f27dce3

View file

@ -17,7 +17,9 @@ def test_otel_logging_async():
try:
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"
# Make 5 calls with an empty success_callback