项目作者: nissy

项目描述 :
timeline custom metrics plugin for mackerel.io agent.
高级语言: Go
项目地址: git://github.com/nissy/mackerel-plugin-timeline.git
创建时间: 2017-07-03T11:35:54Z
项目社区:https://github.com/nissy/mackerel-plugin-timeline

开源协议:

下载


mackerel-plugin-timeline

timeline custom metrics plugin for mackerel.io agent.

mackerel-plugin-timeline

Interface

  1. type TimeLine interface {
  2. ToConut(line string) error
  3. ToMetrics(metricName string) map[string]interface{}
  4. ToGraph(metricName string) map[string]mackerelplugin.Graphs
  5. ParseTime(line string) time.Time
  6. }

Synopsis

  1. command [options] file
  2. -m int
  3. minute interval (default 1)
  4. -metric string
  5. specify a to metric name
  6. -datetime string
  7. start datetime
  8. -location string
  9. datetime location name (default "Asia/Tokyo")
  10. -i display info
  11. -h this help
  12. -v show version and exit