Documentation
¶
Index ¶
Constants ¶
View Source
const (
TYPE = "prometheus"
)
Variables ¶
Functions ¶
Types ¶
type ClientError ¶ added in v0.33.0
type ClientError struct {
Err error
}
func (ClientError) Error ¶ added in v0.33.0
func (err ClientError) Error() string
func (ClientError) Unwrap ¶ added in v0.33.0
func (err ClientError) Unwrap() error
type Config ¶
type Config struct {
URL string `yaml:"url" json:"url" jsonschema:"required,title=Prometheus URL"`
Expr string `yaml:"expr" json:"expr" jsonschema:"required,title=Prometheus expression"`
Insecure bool `yaml:"insecure" json:"insecure" jsonschema:"default=false"`
// contains filtered or unexported fields
}
Config is the main monitor Config.
Click to show internal directories.
Click to hide internal directories.