Documentation ¶
Overview ¶
Package metrics provides interface collecting performance metrics.
Index ¶
- Constants
- func NewDefaultPrometheusRegistry() metrics.Registry
- func NewPrometheusRegistryWithNameProcessor() (*prometheus.Registry, metrics.Registry)
- func NewRegistry() metrics.Registry
- func RefineTags(tags map[string]string) map[string]string
- func WithNameProcessor(registry metrics.Registry, nameProcessor func(string) string) metrics.Registry
- type Ps
- type RegistryWrapper
- type RuntimeStat
- type Stat
- type SysInfo
Constants ¶
View Source
const (
SolomonMetricsChunkSize = 8000 // 10k is max as per docs: https://docs.yandex-team.ru/solomon/concepts/limits#quotas
)
Variables ¶
This section is empty.
Functions ¶
func NewPrometheusRegistryWithNameProcessor ¶
func NewPrometheusRegistryWithNameProcessor() (*prometheus.Registry, metrics.Registry)
func NewRegistry ¶
Types ¶
type RegistryWrapper ¶
type RuntimeStat ¶
type RuntimeStat struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.