Some results of mackerel-agent-plugin casts ServiceMetric.
api_key = "xxxxxxxxxxxxx"
[[rule]]
cmd = "mackerel-plugin-linux"
service_name = "web"
metric_name = ""
[[rule]]
cmd = "mackerel-plugin-uptime"
service_name = "web"
metric_name = "test"
You must install this command from release
or below:
$ go get github.com/sioncojp/mackerel-cast-service-metric
$ glide install
$ go run /mackerel-cast-service-metric -c config.toml
or
$ go build cmd/mackerel-cast-service-metric/*.go
$ ./mackerel-cast-service-metric -c config.toml
You can be confirmed "test-uptime.*" because you've set metric_name in config.yml.