|
|
@@ -26,9 +26,6 @@ const (
|
|
|
// KubecostDiagnosticMetricID is the identifier for the metric used to determine if Kubecost metrics are being scraped.
|
|
|
KubecostDiagnosticMetricID = "kubecostMetric"
|
|
|
|
|
|
- // NodeExporterDiagnosticMetricID is the identifier for the metric used to determine if NodeExporter metrics are being scraped.
|
|
|
- NodeExporterDiagnosticMetricID = "neMetric"
|
|
|
-
|
|
|
// ScrapeIntervalDiagnosticMetricID is the identifier for the metric used to determine if prometheus has its own self-scraped
|
|
|
// metrics.
|
|
|
ScrapeIntervalDiagnosticMetricID = "scrapeInterval"
|
|
|
@@ -78,13 +75,6 @@ var diagnosticDefinitions map[string]*diagnosticDefinition = map[string]*diagnos
|
|
|
Label: "Kubecost metrics available",
|
|
|
Description: "Determine if metrics from Kubecost are available during last 5 minutes.",
|
|
|
},
|
|
|
- NodeExporterDiagnosticMetricID: {
|
|
|
- ID: NodeExporterDiagnosticMetricID,
|
|
|
- QueryFmt: `absent_over_time(node_cpu_seconds_total{%s}[5m] %s)`,
|
|
|
- Label: "Node-exporter metrics available",
|
|
|
- Description: "Determine if metrics from node-exporter are available during last 5 minutes.",
|
|
|
- DocLink: fmt.Sprintf("%s#node-exporter-metrics-available", DocumentationBaseURL),
|
|
|
- },
|
|
|
CAdvisorLabelDiagnosticMetricID: {
|
|
|
ID: CAdvisorLabelDiagnosticMetricID,
|
|
|
QueryFmt: `absent_over_time(container_cpu_usage_seconds_total{container!="",pod!="", %s}[5m] %s)`,
|