Skip to content

nekosheen/grafana-google-calendar-datasource

 
 

Repository files navigation

Google Calendar (Annotation) Datasource Plugin for Grafana

This plugin provide annotation data of Google Calendar Events.

For each event, start time / end time annotation is displayed.

Setup

To use this plugin, you need to get client ID which allow to call Google Calendar API.

Please follow Quickstart Step 1.

After get the client ID, set the ID to datasource config.

Options

For each annotation, you need to set calendar ID.

The calendar ID is found at Calendar settings page.

At first time, you need to accept to open this popup window, and accept to use API.

Templating

Query variable

Name Description
events(calendar_id, field_path, filter) Returns a list of field value matching the filter.
start(calendar_id, format, offset, filter) Returns a list of start timestamp matching the filter and offset.
end(calendar_id, format, offset, filter) Returns a list of end timestamp matching the filter and offset.
range(calendar_id, format, offset, filter) Returns a list of range for the event matching the filter and offset.

Changelog

v1.0.0
  • Initial release
  • Show start/end event as annotation

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 69.9%
  • Go 21.1%
  • HTML 7.8%
  • Makefile 1.2%