Documentation ¶
Index ¶
- func WithDetails(details trace.Details) option
- func WithNamespace(namespace string) option
- func WithSeparator(separator string) option
- func WithTimerBuckets(timerBuckets []float64) option
- type Config
- func (c *Config) CounterVec(name string, labelNames ...string) ydbMetrics.CounterVec
- func (c *Config) Details() trace.Details
- func (c *Config) GaugeVec(name string, labelNames ...string) ydbMetrics.GaugeVec
- func (c *Config) HistogramVec(name string, buckets []float64, labelNames ...string) ydbMetrics.HistogramVec
- func (c *Config) TimerVec(name string, labelNames ...string) ydbMetrics.TimerVec
- func (c *Config) WithSystem(subsystem string) ydbMetrics.Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithDetails ¶
func WithNamespace ¶
func WithNamespace(namespace string) option
func WithSeparator ¶
func WithSeparator(separator string) option
func WithTimerBuckets ¶
func WithTimerBuckets(timerBuckets []float64) option
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func MakeConfig ¶
func (*Config) CounterVec ¶
func (c *Config) CounterVec(name string, labelNames ...string) ydbMetrics.CounterVec
func (*Config) GaugeVec ¶
func (c *Config) GaugeVec(name string, labelNames ...string) ydbMetrics.GaugeVec
func (*Config) HistogramVec ¶
func (c *Config) HistogramVec(name string, buckets []float64, labelNames ...string) ydbMetrics.HistogramVec
func (*Config) TimerVec ¶
func (c *Config) TimerVec(name string, labelNames ...string) ydbMetrics.TimerVec
func (*Config) WithSystem ¶
func (c *Config) WithSystem(subsystem string) ydbMetrics.Config
Click to show internal directories.
Click to hide internal directories.