github.com/ydb-platform/ydb-go-sdk/v3@v3.89.2/metrics/config.go (about) 1 package metrics 2 3 import "github.com/ydb-platform/ydb-go-sdk/v3/trace" 4 5 // Config is interface for metrics registry config 6 // 7 // Experimental: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#experimental 8 type Config interface { 9 Registry 10 11 // Details returns bitmask for customize details of NewScope 12 // If zero - use full set of driver NewScope 13 Details() trace.Details 14 15 // WithSystem returns new Config with subsystem scope 16 // Separator for split scopes of NewScope provided Config implementation 17 WithSystem(subsystem string) Config 18 }