package
Version:
v0.12.6
Opens a new window with list of versions in this module.
Published: Jan 21, 2022
License: BSD-3-Clause
Opens a new window with license information.
Imports: 23
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package dc is the dynamic collector
type Collector struct {
MetricPort MetricPort `yaml:"metric_port"`
MetricPath MetricPath `yaml:"metric_path"`
Schema Schema `yaml:"schema"`
Rollup Rollup `yaml:"rollup"`
Control Control `yaml:"control"`
Selectors Selectors `yaml:"selectors"`
Type string `yaml:"type"`
Name string `yaml:"name"`
Tags string `yaml:"tags"`
LabelTags string `yaml:"label_tags"`
Disable bool `yaml:"disable"`
}
type Collectors struct {
Collectors []Collector `yaml:"collectors"`
}
type Control struct {
Annotation string `yaml:"annotation"`
Label string `yaml:"label"`
Value string `yaml:"value"`
}
type MetricPath struct {
Annotation string `yaml:"annotation"`
Label string `yaml:"label"`
Value string `yaml:"value"`
}
type MetricPort struct {
Annotation string `yaml:"annotation"`
Label string `yaml:"label"`
Value string `yaml:"value"`
}
type Rollup struct {
Annotation string `yaml:"annotation"`
Label string `yaml:"label"`
Value string `yaml:"value"`
}
type Schema struct {
Annotation string `yaml:"annotation"`
Label string `yaml:"label"`
Value string `yaml:"value"`
}
type Selectors struct {
Label string `yaml:"label"`
Field string `yaml:"field"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.