mackerelio/mackerel-plugin-sample

Name: mackerel-plugin-sample

Owner: Mackerel

Description: Sample plugin for mackerel.io agent

Created: 2017-10-16 02:35:12.0

Updated: 2017-10-16 06:30:28.0

Pushed: 2018-02-22 05:59:56.0

Homepage:

Size: 12

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

mackerel-plugin-sample

Sample plugin for mackerel.io agent. This repository releases an artifact to Github Releases, which satisfy the format for mkr plugin installer.

Synopsis
erel-plugin-sample [-metric-key-prefix=<prefix>]
Example of mackerel-agent.conf
gin.metrics.sample]
and = "/path/to/mackerel-plugin-sample"
How to release

goxz and ghr are used to release.

Release by TravisCI
  1. Edit CHANGELOG.md, git commit, git push
  2. git tag vx.y.z
  3. git push –tags
  4. Wait to build at https://travis-ci.org/mackerelio/mackerel-plugin-sample
  5. See https://github.com/mackerelio/mackerel-plugin-sample/releases

Don't forget setting GITHUB_TOKEN as environment variables in TravisCI. If you don't know how, see https://docs.travis-ci.com/user/environment-variables/#Defining-Variables-in-Repository-Settings .

Release by manually
  1. Install goxz and ghr by make setup
  2. Edit CHANGELOG.md, git commit, git push
  3. git tag vx.y.z
  4. GITHUB_TOKEN=… script/release
  5. See https://github.com/mackerelio/mackerel-plugin-sample/releases

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.