File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 1+ * Added a new metric ` ydb_go_sdk_ydb_info ` with the current version of the SDK
2+
13## v3.101.1
24* Changed allowBanned=false for preferred node connections
35
Original file line number Diff line number Diff line change 55 "sync"
66
77 "github.com/ydb-platform/ydb-go-sdk/v3/internal/repeater"
8+ "github.com/ydb-platform/ydb-go-sdk/v3/internal/version"
89 "github.com/ydb-platform/ydb-go-sdk/v3/internal/xerrors"
910 "github.com/ydb-platform/ydb-go-sdk/v3/trace"
1011)
@@ -13,6 +14,7 @@ import (
1314//
1415//nolint:funlen
1516func driver (config Config ) (t trace.Driver ) {
17+ config .GaugeVec ("info" , "version" ).With (map [string ]string {"version" : version .Version }).Set (1 )
1618 config = config .WithSystem ("driver" )
1719 endpoints := config .WithSystem ("balancer" ).GaugeVec ("endpoints" , "az" )
1820 balancersDiscoveries := config .WithSystem ("balancer" ).CounterVec ("discoveries" , "status" , "cause" )
You can’t perform that action at this time.
0 commit comments