v3.139.0
·
39 commits
to master
since this release
- Reworked the
spanspackage to follow OpenTelemetry semantic conventions: the emitted span tree now usesydb.*names (ydb.CreateSession,ydb.ExecuteQuery,ydb.BeginTransaction,ydb.Commit,ydb.Rollback,ydb.GetSession,ydb.Driver.Initialize,ydb.RunWithRetry,ydb.Try) and OTel attribute keys (db.*,server.*,network.peer.*,error.*) plus YDB-specificydb.node.id,ydb.node.dcandydb.retry.backoff_ms. Noisy internal-package spans are suppressed. See SPANS.md for the full span/attribute reference and migration notes - Added
trace.Retry.OnRetryAttemptcallback fired once per retry attempt with the attempt number and the backoff duration waited before it; this is what feeds the newydb.Tryspans - Added an
examples/opentelemetryexample that wiresspans.Adapteronto the OpenTelemetry Go SDK viaydb-go-sdk-otel, with an end-to-end docker-compose stack (OTel Collector / Tempo / Prometheus / Grafana)
Full Changelog: v3.138.4...v3.139.0