node_exporter/collector/fixtures
Shubheksha Jalan 1f2458f42c Filter out testfile metrics correctly when using collect[] filters (#763)
* remove injection hook for textfile metrics, convert them to prometheus format

* add support for summaries

* add support for histograms

* add logic for handling inconsistent labels within a metric family for counter, gauge, untyped

* change logic for parsing the metrics textfile

* fix logic to adding missing labels

* Export time and error metrics for textfiles

* Add tests for new textfile collector, fix found bugs

* refactor Update() to split into smaller functions

* remove parseTextFiles(), fix import issue

* add mtime metric directly to channel, fix handling of mtime during testing

* rename variables related to labels

* refactor: add default case, remove if guard for metrics, remove extra loop and slice

* refactor: remove extra loop iterating over metric families

* test: add test case for different metric type, fix found bug

* test: add test for metrics with inconsistent labels

* test: add test for histogram

* test: add test for histogram with extra dimension

* test: add test for summary

* test: add test for summary with extra dimension

* remove unnecessary creation of protobuf

* nit: remove extra blank line
2017-12-23 20:21:58 +01:00
..
proc Split out guest cpu metrics on Linux. (#744) 2017-11-23 15:04:47 +01:00
qdisc Add qdisc collector for Linux (#580) 2017-05-23 11:55:50 +02:00
textfile Filter out testfile metrics correctly when using collect[] filters (#763) 2017-12-23 20:21:58 +01:00
wifi Expand wifi collector for more interface types 2017-03-20 12:25:01 -04:00
e2e-output.txt Add full make to CircleCI (#761) 2017-12-21 16:24:23 +01:00
ip_vs_result.txt Rearrange fixtures to match "real" proc and sys. 2015-09-28 13:56:22 +00:00
megacli Add an end-to-end test. 2015-09-28 13:56:22 +00:00
megacli_adapter.txt Add MegaCLI collector 2014-07-09 14:56:06 +02:00
megacli_disks.txt megacli: prevent crash when drive temperature is N/A 2015-07-29 08:34:02 +02:00
sys.ttar cpu: Support processor-less (memory-only) NUMA nodes (#734) 2017-11-10 15:31:26 +01:00