3
0
mirror of https://github.com/grafana/grafana.git synced 2025-02-25 18:55:37 -06:00
grafana/pkg/promlib/converter/testdata/prom-scalar.json
ismail simsek 3fb6319d1b
Prometheus: Introduce prometheus backend library ()
* Move files to prometheus-library

* refactor core prometheus to use prometheus-library

* modify client transport options

* mock

* have a type

* import aliases

* rename

* call the right method

* remove unrelated test from the library

* update codeowners

* go work sync

* update go.work.sum

* make swagger-clean && make openapi3-gen

* add promlib to makefile

* remove clilogger

* Export the function

* update unit test

* add prometheus_test.go

* fix mock type

* use mapUtil from grafana-plugin-sdk-go
2024-03-11 17:22:33 +01:00

10 lines
118 B
JSON

{
"status": "success",
"data": {
"resultType": "scalar",
"result": [
1651680139.104,
"0.00002482"
]
}
}