Documentation ¶
Index ¶
- func ParseMetricsInBoard(mig *MetricsInGrafana, board sdk.Board)
- func ParseMetricsInRuleGroup(mir *MetricsInRuler, group rwrulefmt.RuleGroup, ns string) error
- type DashboardMetrics
- type JobCount
- type MetricCount
- type MetricsInGrafana
- type MetricsInPrometheus
- type MetricsInRuler
- type RuleGroupMetrics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseMetricsInBoard ¶ added in v0.10.6
func ParseMetricsInBoard(mig *MetricsInGrafana, board sdk.Board)
func ParseMetricsInRuleGroup ¶ added in v0.10.6
func ParseMetricsInRuleGroup(mir *MetricsInRuler, group rwrulefmt.RuleGroup, ns string) error
Types ¶
type DashboardMetrics ¶
type MetricCount ¶
type MetricsInGrafana ¶
type MetricsInGrafana struct { MetricsUsed []string `json:"metricsUsed"` OverallMetrics map[string]struct{} `json:"-"` Dashboards []DashboardMetrics `json:"dashboards"` }
type MetricsInPrometheus ¶
type MetricsInPrometheus struct { TotalActiveSeries int `json:"total_active_series"` InUseActiveSeries int `json:"in_use_active_series"` AdditionalActiveSeries int `json:"additional_active_series"` InUseMetricCounts []MetricCount `json:"in_use_metric_counts"` AdditionalMetricCounts []MetricCount `json:"additional_metric_counts"` }
type MetricsInRuler ¶ added in v0.10.4
type MetricsInRuler struct { MetricsUsed []string `json:"metricsUsed"` OverallMetrics map[string]struct{} `json:"-"` RuleGroups []RuleGroupMetrics `json:"ruleGroups"` }
Click to show internal directories.
Click to hide internal directories.