v1

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogError added in v0.4.0

type LogError struct {
	Message string
	Warning error
	Error   error
}

func (*LogError) Log added in v0.4.0

func (l *LogError) Log(logger *logrus.Entry)

type Metric

type Metric struct {
	Labels []string     `json:"labels,omitempty"`
	Usage  *MetricUsage `json:"usage,omitempty"`
}

type MetricUsage

type MetricUsage struct {
	Dashboards     []string    `json:"dashboards,omitempty"`
	RecordingRules []RuleUsage `json:"recordingRules,omitempty"`
	AlertRules     []RuleUsage `json:"alertRules,omitempty"`
}

type RuleUsage

type RuleUsage struct {
	PromLink   string `json:"prom_link"`
	GroupName  string `json:"group_name"`
	Name       string `json:"name"`
	Expression string `json:"expression"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL