Skip to content

stuxboulot/grafana-annotation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

grafana-annotation: Post graphite annotation to grafana

Install

go get -d "github.com/contentsquare/grafana-annotation"

Configure

Will work with a configuration file (default to ~/.grafana-anotation-poster.yml)

Configuration file

grafanaUri: https://some-grafana-host.tld
bearerToken: BearerTokenFromGrafana

Create a Bearer Token

Read the Docs

Build

go build

Call

Options

Usage of grafana-annotation:
  -config-file string
    	Configuration File (default "~/.grafana-anotation-poster.yml")
  -data string
    	Additional data.
  -tag value
    	Tags. may be repeated multiple times
  -verbose
    	Be Verbose.
  -what string
    	The What item to post. (default "$(hostname)")

Example call

~$ grafana-annotation -data "Details on this event" -tag foo \
  -tag bar -what "Something happened on system foo with bar event"

About

Tool to post graphite annotations to grafana

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%