A skill for opsdroid to create and view Grafana annotations
- Grafana instance
- Create an API token with "Editor" role at
Configuration / API Keys
and pasteBearer ...
to opsdroid configuration
- name: grafana-annotation
repo: "https://github.com/dimamedvedev/skill-grafana-annotation.git"
grafana_url: "https://grafana.example.com"
grafana_auth: "Bearer ..."
tags in parenthesis are optional
user01: annotate important event started (prod)
opsdroid: Creating annotation, Grafana replies: '{'id': 1, 'message': 'Annotation added'}'
user01: annotations (prod)
opsdroid: Getting annotations
opsdroid: 2018-11-16T12:30:41+00:00 (seconds ago) important event started (prod user01)