Repository navigation
v1.1.0-beta.4
Pre-release
Pre-release
·
110 commits
to main
since this release
Changed
- Bumped
dartastic_opentelemetry_apito^1.0.0-beta.6. Beta.6 is a comprehensive OTel semantic-convention update — see the API CHANGELOG. Headline-level breaking changes consumers will feel:- The
Resourcesuffix was dropped from ~60 attribute-key enums (HttpResource.requestMethod→Http.requestMethod,UrlResource.urlFull→Url.urlFull, etc.). Suffix is kept on six enums that conflict with common Dart / Flutter / library types:ErrorResource,ExceptionResource,FileResource,ProcessResource,ServerResource(package:grpc),EventResource(package:web). UserSemantics→ newUserenum;SessionViewSemanticsis split — OTel-spec keys (session.id,session.previous_id) →Session, non-spec RUM-style keys →RumSessionView.- Two new files in the API:
semantic_metrics.dart(15 enums, ~280 metric instrument names with name + instrument kind + unit) andsemantic_events.dart(16 spec event names). Plus asemantic_values.dartwith typed value-set enums (DbSystem.postgresql,CloudProvider.gcp,HttpRequestMethod.get, etc.). - New
OTelAPI.attributesOf<E extends OTelSemantic>(Map<E, Object>)helper for Dart 3.10 static dot-shorthand.
- The
- Breaking (web only):
WebResourceDetectornow emits the user-agent string underuser_agent.original(the current OTel semconv key, viaUserAgent.userAgentOriginal) instead ofbrowser.user_agent. The browser semconv namespace removedbrowser.user_agentin favor of the top-leveluser_agent.*registry — see https://opentelemetry.io/docs/specs/semconv/registry/attributes/user-agent/. Backends and dashboards that filter on the old key will need to update.