Releases: grafana-toolbox/grafana-client
Releases · grafana-toolbox/grafana-client
3.4.0
What's Changed
- Add support for "Datasource Permissions" API in #48. Thanks, @hamelg.
- Add support for "External Group Sync" API in #49. Thanks, @hamelg.
- Add support for "User Preferences" API in #51. Thanks, @autokilla47.
- Improve "Organization and Teams Preferences" APIs in #51. Thanks, @autokilla47.
- Alerting Provisioning: Add support for
X-Disable-Provenance
header in #53. Thanks, @jyepesr1 and @alexmobo.
New Contributors
Full Changelog: 3.3.0...3.4.0
3.3.0
3.3.0
What's Changed
- Implement foundation for accessing the Alerting API.
Thanks, @Maharacha.
New Contributors
- @Maharacha made their first contribution in #46
Full Changelog: 3.2.1...3.3.0
3.2.1
What's Changed
- Fix handling
204 No Content
responses from Grafana HTTP API.
Full Changelog: 3.2.0...3.2.1
3.2.0
What's Changed
- Implement foundation for accessing the Alerting Provisioning API.
Thanks, @bursztyn-pl.
Full Changelog: 3.1.0...3.2.0
3.1.0
What's Changed
- 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.
Full Changelog: 3.0.0...3.1.0
3.0.0
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()
andGrafanaApi.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 tografana-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()
anddatasource.series()
functions
to retrieve metric values. Thanks, @RalfHerzog!
Full Changelog: 2.3.0...3.0.0
2.3.0
What's Changed
- Make
GrafanaApi(auth=)
an optional argument. This makes it easier to connect to Grafana instances that do not require authentication. - Add basic example program, inquiring
play.grafana.org
.
Full Changelog: 2.2.1...2.3.0
2.2.1
- Fix annotations query string parameter
dashboardId
. Thanks, @richbon75!
Full Changelog: 2.2.0...2.2.1
2.2.0
What's Changed
- Retrieve dashboard by name/title. Thanks, @luixx!
- Fixed annotations tags and userid params. Thanks, @Lasica!
Full Changelog: 2.1.0...2.2.0
2.1.0
What's Changed
- Add handler for health API. Thanks, @peekjef72!
- Add support for datasource proxying. Thanks, @peekjef72!
- Fix compatibility between
actions/checkout@v2
andsetuptools_scm
- Fix
folderId
propagation forupdate_dashboard
- Run "black" and "isort"
Full Changelog: 2.0.2...2.1.0