Sample plugin for mackerel.io agent. This repository releases an artifact to Github Releases, which satisfy the format for mkr plugin installer.
mackerel-plugin-sample [-metric-key-prefix=<prefix>]
[plugin.metrics.sample]
command = "/path/to/mackerel-plugin-sample"
- Edit CHANGELOG.md, git commit, git push
git tag vx.y.z
git push --tags
- Wait to build at https://github.com/mackerelio/mackerel-plugin-sample/actions/workflows/goreleaser.yml
- See https://github.com/mackerelio/mackerel-plugin-sample/releases
- Install goreleaser https://goreleaser.com/install/
- Edit CHANGELOG.md, git commit, git push
git tag vx.y.z
export GITHUB_TOKEN="<YOUR GITHUB TOKEN>"
goreleaser release --clean
- See https://github.com/mackerelio/mackerel-plugin-sample/releases