Skip to content
This repository has been archived by the owner on Jun 14, 2022. It is now read-only.

Latest commit

 

History

History
37 lines (24 loc) · 1.1 KB

File metadata and controls

37 lines (24 loc) · 1.1 KB

mackerel-plugin-graphite

Graphite carbon custom metrics plugin for mackerel.io agent.

Synopsis

This plugin posts metrics that carbon-cache and carbon-relay collect themselves.
carbon-aggregator is not implemented.
It posts all metrics which were collected by 15 minutes because of reflection delay.

mackerel-plugin-graphite -host=<host name> -webhost=<graphite-web host name> -webport=<graphite-web host port> -type=(cache or relay) (-instance=<instance name> -metric-label-prefix=<metric label prefix>)

Example of mackerel-agent.conf

carbon-cache

[plugin.metrics.graphite-carbon]
command = "/path/to/mackerel-plugin-graphite -host=127.0.0.1 -webhost=hostname -port=8000 -type=cache"

You don't need specify instance option.
This plugin automatically attaches * to instance name which means all instances of existing.

carbon-relay

[plugin.metrics.graphite-carbon]
command = "/path/to/mackerel-plugin-graphite -host=127.0.0.1 -webhost=hostname -port=8000 -type=relay -instance=a"

If you use carbon-relay, you must specify instance option.