tracectrl 0.3.1__tar.gz → 0.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tracectrl-0.3.1 → tracectrl-0.3.2}/PKG-INFO +1 -1
- {tracectrl-0.3.1 → tracectrl-0.3.2}/pyproject.toml +1 -1
- {tracectrl-0.3.1 → tracectrl-0.3.2}/src/tracectrl/__init__.py +1 -1
- {tracectrl-0.3.1 → tracectrl-0.3.2}/src/tracectrl/config.py +5 -1
- {tracectrl-0.3.1 → tracectrl-0.3.2}/.gitignore +0 -0
- {tracectrl-0.3.1 → tracectrl-0.3.2}/LICENSE +0 -0
- {tracectrl-0.3.1 → tracectrl-0.3.2}/README.md +0 -0
- {tracectrl-0.3.1 → tracectrl-0.3.2}/src/tracectrl/_tui.py +0 -0
- {tracectrl-0.3.1 → tracectrl-0.3.2}/src/tracectrl/agent_tagging.py +0 -0
- {tracectrl-0.3.1 → tracectrl-0.3.2}/src/tracectrl/cli.py +0 -0
- {tracectrl-0.3.1 → tracectrl-0.3.2}/src/tracectrl/context.py +0 -0
- {tracectrl-0.3.1 → tracectrl-0.3.2}/src/tracectrl/exporter.py +0 -0
- {tracectrl-0.3.1 → tracectrl-0.3.2}/src/tracectrl/guardrails/__init__.py +0 -0
- {tracectrl-0.3.1 → tracectrl-0.3.2}/src/tracectrl/guardrails/guardrail.py +0 -0
- {tracectrl-0.3.1 → tracectrl-0.3.2}/src/tracectrl/guardrails/judge.py +0 -0
- {tracectrl-0.3.1 → tracectrl-0.3.2}/src/tracectrl/guardrails/strands_hook.py +0 -0
- {tracectrl-0.3.1 → tracectrl-0.3.2}/src/tracectrl/inference.py +0 -0
- {tracectrl-0.3.1 → tracectrl-0.3.2}/src/tracectrl/processor.py +0 -0
- {tracectrl-0.3.1 → tracectrl-0.3.2}/src/tracectrl/protector.py +0 -0
- {tracectrl-0.3.1 → tracectrl-0.3.2}/src/tracectrl/schema.py +0 -0
- {tracectrl-0.3.1 → tracectrl-0.3.2}/src/tracectrl/session.py +0 -0
|
@@ -82,7 +82,11 @@ def get_tracer_provider() -> TracerProvider:
|
|
|
82
82
|
|
|
83
83
|
headers = {}
|
|
84
84
|
if _config.api_key:
|
|
85
|
-
|
|
85
|
+
# Lowercase key: gRPC metadata keys MUST be lowercase (HTTP/2 spec;
|
|
86
|
+
# the grpc lib rejects "Authorization" with "Illegal header key").
|
|
87
|
+
# Lowercase is also valid for OTLP/HTTP (HTTP/1.1 headers are
|
|
88
|
+
# case-insensitive), so this works for both exporters.
|
|
89
|
+
headers["authorization"] = f"Bearer {_config.api_key}"
|
|
86
90
|
|
|
87
91
|
normalized_endpoint, insecure = _normalize_endpoint(_config.endpoint)
|
|
88
92
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|