poxet / Influx-Capacitor

Influx-capacitor collects metrics from windows machines using Performance Counters. Data is sent to influxDB to be viewable by grafana.
http://influx-capacitor.com
MIT License
44 stars 13 forks source link

Hide performance counter instance inside IPerformanceCounterInfo #44

Closed tbolon closed 8 years ago

tbolon commented 8 years ago

Just a small refactoring PR. Was considering this when testing around IPerformanceCounterInfo.

This way, IPerformanceCounterInfo can be easily mocked for testing purposes.