Repository navigation
3.31.0
- Fixed
execute_with_retriesreturning a large result set split across severalResultSetobjects: row-format stream parts that share aresult_set_indexare now concatenated back into a single result set, so a large SELECT is returned as one result set instead of one per stream chunk - Introduce
ydb.observability— vendor-neutral tracing entrypoint with aTracingProviderinterface;enable_tracing(provider)accepts any implementation (custom or OpenTelemetry) and replaces the previously installed one. The SDK core no longer importsopentelemetry, so tracing can be enabled without the OpenTelemetry packages by supplying a custom provider - When tracing is enabled the SDK appends a
ydb-sdk-tracing/0.1.0token to thex-ydb-sdk-build-infoheader, so the server can distinguish requests from tracing-enabled clients - Add client-side metrics through the same vendor-neutral
ydb.observabilitylayer:enable_metrics(provider)/disable_metrics(), withydb.opentelemetry.enable_metrics(meter_provider=None)as the OpenTelemetry convenience. Instruments cover client operation duration/failures, retry duration/attempts, and query session pool state.QuerySessionPoolgains an optionalnameargument for the pool metric label. When metrics are enabled the SDK appends aydb-sdk-metrics/0.1.0token to thex-ydb-sdk-build-infoheader
Full Changelog: 3.30.0...3.31.0