Skip to content

d10v/skill-grafana-annotation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

opsdroid skill grafana-annotation

A skill for opsdroid to create and view Grafana annotations

Requirements

  • Grafana instance
  • Create an API token with "Editor" role at Configuration / API Keys and paste Bearer ... to opsdroid configuration

Configuration

  - name: grafana-annotation
    repo: "https://github.com/dimamedvedev/skill-grafana-annotation.git"
    grafana_url: "https://grafana.example.com"
    grafana_auth: "Bearer ..."

Usage

tags in parenthesis are optional

annotate some text (tag1 tag2)

user01: annotate important event started (prod)

opsdroid: Creating annotation, Grafana replies: '{'id': 1, 'message': 'Annotation added'}'

annotations (tag1 tag2)

user01: annotations (prod)

opsdroid: Getting annotations

opsdroid: 2018-11-16T12:30:41+00:00 (seconds ago) important event started (prod user01)

About

opsdroid skill for creating and viewing Grafana annotations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages