aboutsummaryrefslogtreecommitdiff
path: root/collector/edac_linux.go
diff options
context:
space:
mode:
authorTobias Schmidt <tobidt@gmail.com>2017-02-28 16:36:35 -0400
committerTobias Schmidt <tobidt@gmail.com>2017-02-28 17:20:16 -0400
commit1bd94074dddb41d2aeccc17108b0b355a911ae02 (patch)
tree6f8267f06527f5db8a0f1a5283e0616f0658d376 /collector/edac_linux.go
parenta7da926abb3a97d33908e7e8f57c0773f2c1a306 (diff)
downloadprometheus_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.go8
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
36type edacMCMetric struct {
37 metricName string
38 metricType prometheus.ValueType
39 metricHelp string
40 memController string
41 value float64
42}
43
44type edacCollector struct { 36type edacCollector struct {
45 ceCount *prometheus.Desc 37 ceCount *prometheus.Desc
46 ueCount *prometheus.Desc 38 ueCount *prometheus.Desc