Grafana-client

Latest version: v4.2.4

Safety actively analyzes 701610 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 7

3.4.0

* Add support for "Datasource Permissions" API. Thanks, hamelg.
* Add support for "External Group Sync" API. Thanks, hamelg.
* Add support for "User Preferences" API. Thanks, autokilla47.
* Improve "Organization and Teams Preferences" APIs. Thanks, autokilla47.
* Alerting Provisioning: Add support for `X-Disable-Provenance` header.
Thanks, jyepesr1 and alexmobo.

3.3.0

* Implement foundation for accessing the Alerting API.
Thanks, Maharacha.

3.2.1

* Fix handling `204 No Content` responses from Grafana HTTP API.

3.2.0

* Implement foundation for accessing the Alerting Provisioning API.
Thanks, bursztyn-pl.

3.1.0

* Update the `update_folder` method of the folder API to allow changing
the UID of the folder. Thanks, iNoahNothing.
* Add `update_datasource_by_uid` to the datasource API. Thanks, mgreen-sm.
* Add `HeaderAuth` authentication mechanism, using an arbitrary HTTP header for
authentication, where the user can specify both its name and value. Thanks, l0tzi.

3.0.0

* 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!

Page 5 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.