Documentation ¶
Index ¶
- func ParseMetricsInBoard(mig *MetricsInGrafana, board minisdk.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 ¶
func ParseMetricsInBoard(mig *MetricsInGrafana, board minisdk.Board)
func ParseMetricsInRuleGroup ¶
func ParseMetricsInRuleGroup(mir *MetricsInRuler, group rwrulefmt.RuleGroup, ns string) error
Types ¶
type DashboardMetrics ¶
type MetricCount ¶
type MetricsInGrafana ¶
type MetricsInGrafana struct { MetricsUsed model.LabelValues `json:"metricsUsed"` OverallMetrics map[string]struct{} `json:"-"` Dashboards []DashboardMetrics `json:"dashboards"` }
type MetricsInPrometheus ¶
type MetricsInPrometheus struct { TotalActiveSeries uint64 `json:"total_active_series"` InUseActiveSeries uint64 `json:"in_use_active_series"` AdditionalActiveSeries uint64 `json:"additional_active_series"` InUseMetricCounts []MetricCount `json:"in_use_metric_counts"` AdditionalMetricCounts []MetricCount `json:"additional_metric_counts"` Errors []string `json:"errors"` }
type MetricsInRuler ¶
type MetricsInRuler struct { MetricsUsed model.LabelValues `json:"metricsUsed"` OverallMetrics map[string]struct{} `json:"-"` RuleGroups []RuleGroupMetrics `json:"ruleGroups"` }
Click to show internal directories.
Click to hide internal directories.