Sha256: 5103aca893b341a0a58b1c11335987917dd0025c5c39b6a5eb709055b6d03070
Contents?: true
Size: 955 Bytes
Versions: 1
Compression:
Stored size: 955 Bytes
Contents
# Norikra::Listener::Mackerel ## Description Norikra listener plugin to post service metrics for Mackerel. ## Installation ```sh $ gem install norikra-listener-mackerel ``` ## Usage Add your query with group `MACKEREL(service_name,[mackerel_api_key])`. If API key is not specified, read it from environment variable `MACKEREL_APIKEY`. If `service_name` includes `.` (e.g. `foo.bar`), post to service `foo` with metrics prefix `bar`. ## Examples ```sql SELECT sum(foo) AS foo_sum, avg(foo) AS foo_avg FROM bar_target.win:time_batch(1 min) -- group MACKEREL(baz_service) ``` Post service metrics "foo\_sum" and "foo\_avg" to service "baz_service". ```sql SELECT sum(foo) AS foo_sum, avg(foo) AS foo_avg FROM bar_target.win:time_batch(1 min) -- group MACKEREL(baz_service.xxx) ``` Post service metrics "xxx.foo\_sum" and "xxx.foo\_avg" to service "baz_service". ## Author Fujiwara Shunichiro <fujiwara.shunichiro@gmail.com> ## License GPLv2
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
norikra-listener-mackerel-0.1.1-java | README.md |