Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Command ¶
type Container ¶
type Container struct {
Match map[string]string `yaml:"match"`
ApiVersion string `yaml:"api_version"` // for docker client
}
Container discovery parameters
type Discovery ¶
type Discovery struct {
Variables data.Map `json:"variables"`
MetricAnnotations data.InterfaceMap `json:"annotations"`
EntityRewrites []data.EntityRewrite `json:"entityRewrites"`
}
type FieldsMatcher ¶
type FieldsMatcher struct {
// contains filtered or unexported fields
}
func NewMatcher ¶
func NewMatcher(fieldMatchers map[string]string) (FieldsMatcher, error)
type ShlexOpt ¶
type ShlexOpt []string
ShlexOpt is a wrapper around []string so we can use go-shlex for shell tokenizing
func (*ShlexOpt) UnmarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.