The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/public/app/plugins/plugin_api.md

548 B

Plugin API

Changelog

2.5.1 datasource annotationQuery changed. now single options parameter with:

  • range
  • rangeRaw
  • annotation

2.5 changed the range parameter in the datasource.query function's options parameter. This parameter now holds a parsed range with moment dates form and to. To get millisecond epoch from a moment you the function valueOf. The raw date range as represented internally in grafana (which may be relative expressions like now-5h) is included in the new property rangeRaw (on the options object).