Documentation
¶
Index ¶
Constants ¶
View Source
const (
TYPE = "prometheus"
)
Variables ¶
Functions ¶
Types ¶
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.
type PrometheusClientError ¶
type PrometheusClientError struct {
Err error
}
func (PrometheusClientError) Error ¶
func (err PrometheusClientError) Error() string
func (PrometheusClientError) Is ¶
func (PrometheusClientError) Is(target error) bool
func (PrometheusClientError) Unwrap ¶
func (err PrometheusClientError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.