github.com/ydb-platform/ydb-go-sdk/v3@v3.57.0/metrics/config.go (about)

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