Skip to content

3.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 02 Jul 01:57
· 284 commits to main since this release

What's Changed

  • Add example program examples/team.py. Thanks, @ricmano!
  • Improve data source API by adding the _by_uid variants.
  • Improve data source API by adding universal datasource.get() method.
  • Improve data source API by adding a data source health-check probe.
  • Support data source health check endpoint introduced with Grafana 9.
    Thanks, @jangaraj!
  • Add gracefulness when using the new data source health check endpoint.
    Apparently, this is not implemented thoroughly for all data source types yet.
  • Add new factory methods GrafanaApi.{from_url(),from_env()}.
  • Add GrafanaApi.connect() and GrafanaApi.version().
  • Data source health check subsystem refactoring, many software tests.
  • Improve example programs datasource-health-*
  • Add example program datasource-query.py
  • Add example program grafanalib-upload-dashboard.py
  • Fix endless-loop bug in the search_teams function. Thanks, @changdingfang!
  • Set the User-Agent header to grafana-client/{version}
  • Don't permit scalar value as JSON request body to the Grafana HTTP API,
    it is always wrong. Thanks, @ricmano!
  • Example datasource-health-check: Without --uid option, scan the whole
    Grafana instance
  • Data source health check: Be graceful on network read timeouts
  • Data source health check: Improve acceptance criteria when probing Prometheus
  • Data source health check: Clean up core implementation, add more tests
    Code coverage is now at 100%.
  • Add support for "Dashboard Versions" API. Thanks, @DrMxxxxx!
  • Add datasource.query_range() and datasource.series() functions
    to retrieve metric values. Thanks, @RalfHerzog!

Full Changelog: 2.3.0...3.0.0