mcrouter_exporter icon indicating copy to clipboard operation
mcrouter_exporter copied to clipboard

Log unknown metrics from mcrouter

Open filippog opened this issue 7 years ago • 2 comments
trafficstars

Hi, I'm in the process of updating the list of known metrics to mcrouter exporter compared to the upstream list. Since this is likely to happen in the future too it would be useful to log (e.g. at debug priority) which lines from stats all are not parsed/reported as metrics (IOW those lines are effectively unknown metrics). What do you think?

filippog avatar Apr 23 '18 15:04 filippog

That sounds like a good idea, either have it debug log on the first scrape or provide a --check like flag to just run a single scrape/log then exit.

Dev25 avatar Apr 28 '18 17:04 Dev25

I like the --check and looking at exit code idea! Would make it easy to run e.g. in CI across mcrouter versions to detect regressions.

filippog avatar Apr 29 '18 13:04 filippog