mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-27 06:13:07 +00:00
Update litellm/litellm_core_utils/litellm_logging.py
Co-authored-by: veria-ai[bot] <224490171+veria-ai[bot]@users.noreply.github.com>
This commit is contained in:
parent
3af818f00f
commit
cf871205f8
1 changed files with 1 additions and 0 deletions
|
|
@ -5508,6 +5508,7 @@ def build_custom_logger_compatible_class(
|
|||
_nops_base: Final = (os.getenv(NOPS_OTEL_ENDPOINT_ENV) or NOPS_DEFAULT_OTEL_ENDPOINT).rstrip("/")
|
||||
_nops_config: Final = OpenTelemetryConfig(
|
||||
exporter="otlp_http",
|
||||
skip_set_global=True,
|
||||
endpoint=(_nops_base if _nops_base.endswith("/v1/traces") else f"{_nops_base}/v1/traces"),
|
||||
headers=f"Authorization=Bearer {_nops_key}",
|
||||
capture_message_content=(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue