mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* 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
48 lines
1.3 KiB
JSON
48 lines
1.3 KiB
JSON
{
|
|
"status": "success",
|
|
"data": [
|
|
{
|
|
"seriesLabels": {
|
|
"__name__": "test_exemplar_metric_total",
|
|
"instance": "localhost:8090",
|
|
"job": "prometheus",
|
|
"service": "bar"
|
|
},
|
|
"exemplars": [
|
|
{
|
|
"labels": {
|
|
"traceID": "EpTxMJ40fUus7aGY",
|
|
"a": "not in next"
|
|
},
|
|
"value": "6",
|
|
"timestamp": 1600096945.479
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"seriesLabels": {
|
|
"__name__": "test_exemplar_metric_total",
|
|
"instance": "localhost:8090",
|
|
"job": "prometheus",
|
|
"service": "foo"
|
|
},
|
|
"exemplars": [
|
|
{
|
|
"labels": {
|
|
"traceID": "Olp9XHlq763ccsfa"
|
|
},
|
|
"value": "19",
|
|
"timestamp": 1600096955.479
|
|
},
|
|
{
|
|
"labels": {
|
|
"traceID": "hCtjygkIHwAN9vs4"
|
|
},
|
|
"value": "20",
|
|
"timestamp": 1600096965.489
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|