diff options
author | Tobias Schmidt <tobidt@gmail.com> | 2017-02-28 16:36:35 -0400 |
---|---|---|
committer | Tobias Schmidt <tobidt@gmail.com> | 2017-02-28 17:20:16 -0400 |
commit | 1bd94074dddb41d2aeccc17108b0b355a911ae02 (patch) | |
tree | 6f8267f06527f5db8a0f1a5283e0616f0658d376 /collector/edac_linux.go | |
parent | a7da926abb3a97d33908e7e8f57c0773f2c1a306 (diff) | |
download | prometheus_node_collector-1bd94074dddb41d2aeccc17108b0b355a911ae02.tar.bz2 prometheus_node_collector-1bd94074dddb41d2aeccc17108b0b355a911ae02.tar.xz prometheus_node_collector-1bd94074dddb41d2aeccc17108b0b355a911ae02.zip |
Delete unused code
Diffstat (limited to 'collector/edac_linux.go')
-rw-r--r-- | collector/edac_linux.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/collector/edac_linux.go b/collector/edac_linux.go index 318a118..8f1f8a1 100644 --- a/collector/edac_linux.go +++ b/collector/edac_linux.go | |||
@@ -33,14 +33,6 @@ var ( | |||
33 | edacMemCsrowRE = regexp.MustCompile(`.*devices/system/edac/mc/mc[0-9]*/csrow([0-9]*)`) | 33 | edacMemCsrowRE = regexp.MustCompile(`.*devices/system/edac/mc/mc[0-9]*/csrow([0-9]*)`) |
34 | ) | 34 | ) |
35 | 35 | ||
36 | type edacMCMetric struct { | ||
37 | metricName string | ||
38 | metricType prometheus.ValueType | ||
39 | metricHelp string | ||
40 | memController string | ||
41 | value float64 | ||
42 | } | ||
43 | |||
44 | type edacCollector struct { | 36 | type edacCollector struct { |
45 | ceCount *prometheus.Desc | 37 | ceCount *prometheus.Desc |
46 | ueCount *prometheus.Desc | 38 | ueCount *prometheus.Desc |