/mackerel-plugin-log

Metric plugin for posts the number of detected log lines as Mackerel metrics.

Primary LanguageGo

mackerel-plugin-log

Install

% mkr plugin install mackerel-plugin-log

Setting

[plugin.metrics.log-detect]
command = ["/path/to/mackerel-plugin-log", "--file", "/path/to/app.log", "--pattern", "ERROR", "--exclude", "retry"]