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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tracectrl
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: TraceCtrl SDK — agentic AI security observability
5
5
  Author: CloudsineAI
6
6
  License-Expression: Apache-2.0
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "tracectrl"
7
- version = "0.3.1"
7
+ version = "0.3.2"
8
8
  description = "TraceCtrl SDK — agentic AI security observability"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -5,7 +5,7 @@
5
5
  from pkgutil import extend_path
6
6
  __path__ = extend_path(__path__, __name__)
7
7
 
8
- __version__ = "0.3.1"
8
+ __version__ = "0.3.2"
9
9
 
10
10
  from tracectrl.config import configure # noqa: F401
11
11
  from tracectrl.context import ingress # noqa: F401
@@ -82,7 +82,11 @@ def get_tracer_provider() -> TracerProvider:
82
82
 
83
83
  headers = {}
84
84
  if _config.api_key:
85
- headers["Authorization"] = f"Bearer {_config.api_key}"
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