We use this library to query thanos. Recent versions added a new entry to the json response:
{
"status": "success",
"data": {
"resultType": "vector",
"result": [
{
"metric": {},
"value": [
1733333548.697,
"0"
]
}
],
"stats": {
"samples": {
"totalQueryableSamples": 63,
"totalQueryableSamplesPerStep": null,
"peakSamples": 18
}
},
"analysis": {
"name": "",
"executionTime": "0s",
"children": null
}
},
"warnings": [
"PromQL info: metric might not be a counter, name does not end in _total/_sum/_count/_bucket: \"nginx_ingress_controller_requests\""
]
}
This results in this error inside the library:
failed to parse JSON response from server
We use this library to query thanos. Recent versions added a new entry to the json response:
{ "status": "success", "data": { "resultType": "vector", "result": [ { "metric": {}, "value": [ 1733333548.697, "0" ] } ], "stats": { "samples": { "totalQueryableSamples": 63, "totalQueryableSamplesPerStep": null, "peakSamples": 18 } }, "analysis": { "name": "", "executionTime": "0s", "children": null } }, "warnings": [ "PromQL info: metric might not be a counter, name does not end in _total/_sum/_count/_bucket: \"nginx_ingress_controller_requests\"" ] }This results in this error inside the library: