Closed dhftah closed 8 months ago
the underlying bug is still there; this time Frame
is not represented in the Go library nor the definition correctly. I will submit another PR, but can't fix this properly upstream until the api definition is fixed.
I can't submit fixes unfortunately (i am not a "collaborator" to grafana), but will track patches on:
It looks like the dashboard object in its entirety is also missing. The API specification seems to be substantially incomplete?
thanks @julienduchesne!
Currently there is a problem with the object "QueryDataResponse". Specifically, the object has the definition:
However, the API return from Grafana is of the form:
Meaning that whenever the response is deserialized into the Responses object, it is empty.
This issue is introduced as the API specification queried by the library¹ contains the bug:
This was subsequently fixed, but hasn't yet been updated in the library. This commit updates the library to the most recent commit touching that file, and then regenerates the client.
== Design Notes === Deletion of legacy alerts
There's a large deletion of legacy alerts. I haven't validated all changes to the API against the spec; just consumed it, and regenerated it.
YMMV!
—