package
Version:
v0.11.5
Opens a new window with list of versions in this module.
Published: Dec 9, 2020
License: BSD-3-Clause
Opens a new window with license information.
Imports: 22
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 {
Name string `yaml:"name"`
Disable bool `yaml:"disable"`
Type string `yaml:"type"`
Schema Schema `yaml:"schema"`
Selectors Selectors `yaml:"selectors"`
Control Control `yaml:"control"`
MetricPort MetricPort `yaml:"metric_port"`
MetricPath MetricPath `yaml:"metric_path"`
Tags string `yaml:"tags"`
LabelTags string `yaml:"label_tags"`
Rollup Rollup `yaml:"rollup"`
}
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.