Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultRegistryFilename = "registry-plugins-log.json"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Check ¶
Check doesn't need additional fields
func (*Check) Configure ¶
func (c *Check) Configure(rawInstance integration.Data, rawInitConfig integration.Data, source string) error
Configure the Prom check
type InstanceConfig ¶
type InstanceConfig struct { MetricName string `json:"metricName"` // FilePath string `json:"filePath"` // Pattern string `json:"pattern"` // TagsPattern map[string]string `json:"tagsPattern"` // Func string `json:"func"` // count(c), histogram(h) Encoding string `json:"encoding"` // ExcludePaths []string `json:"excludePath"` // TailingMode string `json:"tailingMode"` // }
Click to show internal directories.
Click to hide internal directories.