mirror of https://github.com/hashicorp/consul
c95380e3da
* Skip collecting data directory stats in dev mode In dev mode, the data directory is not set, so this metrics collection would always fail and logs errors. * Log collection errors at DEBUG level There isn't much action a user can take to fix these errors, so logging them as DEBUG rather than ERROR. |
||
---|---|---|
.. | ||
collector.go | ||
collector_test.go | ||
cpu.go | ||
cpu_test.go | ||
host.go | ||
metrics.go |