Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

change space_key header to space_id for Arize (#11595)

vanities3b0aab16d4bc
diff --git a/litellm/litellm_core_utils/litellm_logging.py b/litellm/litellm_core_utils/litellm_logging.py
index a4f2dcb5586..f899d57f408 100644
--- a/litellm/litellm_core_utils/litellm_logging.py
+++ b/litellm/litellm_core_utils/litellm_logging.py
@@ -2912,7 +2912,7 @@ def _init_custom_logger_compatible_class( # noqa: PLR0915
os.environ[
"OTEL_EXPORTER_OTLP_TRACES_HEADERS"
- ] = f"space_key={arize_config.space_key},api_key={arize_config.api_key}"
+ ] = f"space_id={arize_config.space_key},api_key={arize_config.api_key}"
for callback in _in_memory_loggers:
if (
isinstance(callback, ArizeLogger)