mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-26 22:19:44 -08:00
Merge pull request #564 from knweiss/edac_typo
edac: Fix typo in node_edac_csrow_uncorrectable_errors_total
This commit is contained in:
commit
536b989aea
|
@ -108,7 +108,7 @@ func (c *edacCollector) Update(ch chan<- prometheus.Metric) error {
|
|||
return fmt.Errorf("couldn't get ue_noinfo_count for controller %s: %s", controllerNumber, err)
|
||||
}
|
||||
ch <- prometheus.MustNewConstMetric(
|
||||
c.csRowUECount, prometheus.CounterValue, float64(value), controllerNumber, "uknown")
|
||||
c.csRowUECount, prometheus.CounterValue, float64(value), controllerNumber, "unknown")
|
||||
|
||||
// For each controller, walk the csrow directories.
|
||||
csrows, err := filepath.Glob(controller + "/csrow[0-9]*")
|
||||
|
|
|
@ -460,7 +460,7 @@ node_edac_csrow_correctable_errors_total{controller="0",csrow="unknown"} 2
|
|||
# HELP node_edac_csrow_uncorrectable_errors_total Total uncorrectable memory errors for this csrow.
|
||||
# TYPE node_edac_csrow_uncorrectable_errors_total counter
|
||||
node_edac_csrow_uncorrectable_errors_total{controller="0",csrow="0"} 4
|
||||
node_edac_csrow_uncorrectable_errors_total{controller="0",csrow="uknown"} 6
|
||||
node_edac_csrow_uncorrectable_errors_total{controller="0",csrow="unknown"} 6
|
||||
# HELP node_edac_uncorrectable_errors_total Total uncorrectable memory errors.
|
||||
# TYPE node_edac_uncorrectable_errors_total counter
|
||||
node_edac_uncorrectable_errors_total{controller="0"} 5
|
||||
|
|
Loading…
Reference in a new issue