package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: Nov 12, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
type Metric struct {
Labels []string `json:"labels,omitempty"`
Usage *MetricUsage `json:"usage,omitempty"`
}
type MetricUsage struct {
Dashboards []string `json:"dashboards,omitempty"`
RecordingRules []RuleUsage `json:"recordingRules,omitempty"`
AlertRules []RuleUsage `json:"alertRules,omitempty"`
}
type RuleUsage struct {
PromLink string `json:"prom_link"`
GroupName string `json:"group_name"`
Name string `json:"name"`
Expression string `json:"expression"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.