Added
- Class-based bootstrap API —
Latitude(...)is now the primary entry point, matching the TypeScript SDK. It exposes.provider,.flush(), and.shutdown(), attaches to an existing OpenTelemetry provider when one is registered, and keepsinit_latitude()as a backwards-compatible wrapper.
Changed
- Existing OpenTelemetry provider coexistence —
Latitude(...)attaches the Latitude span processor to a registered or explicitly passed provider when possible instead of replacing the application's provider or propagator setup. service_nameownership is provider-aware — when Latitude creates its own provider,service_nameis applied to the provider resource asservice.name; when Latitude attaches to an existing provider, the host SDK remains the source of truth forservice.name.
Fixed
- Provider detection no longer depends on private OpenTelemetry globals — the SDK now uses the public tracer provider API and treats proxy/no-op providers as unregistered providers.