3fb6319d1b
* 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
68 lines
1.7 KiB
JSON
68 lines
1.7 KiB
JSON
// 🌟 This was machine generated. Do not edit. 🌟
|
|
//
|
|
// Frame[0]
|
|
// Name:
|
|
// Dimensions: 3 Fields by 3 Rows
|
|
// +----------------------------+----------------+----------------+
|
|
// | Name: __name__ | Name: job | Name: instance |
|
|
// | Labels: | Labels: | Labels: |
|
|
// | Type: []string | Type: []string | Type: []string |
|
|
// +----------------------------+----------------+----------------+
|
|
// | up | prometheus | localhost:9090 |
|
|
// | up | node | localhost:9091 |
|
|
// | process_start_time_seconds | prometheus | localhost:9090 |
|
|
// +----------------------------+----------------+----------------+
|
|
//
|
|
//
|
|
// 🌟 This was machine generated. Do not edit. 🌟
|
|
{
|
|
"status": 200,
|
|
"frames": [
|
|
{
|
|
"schema": {
|
|
"fields": [
|
|
{
|
|
"name": "__name__",
|
|
"type": "string",
|
|
"typeInfo": {
|
|
"frame": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "job",
|
|
"type": "string",
|
|
"typeInfo": {
|
|
"frame": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "instance",
|
|
"type": "string",
|
|
"typeInfo": {
|
|
"frame": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"data": {
|
|
"values": [
|
|
[
|
|
"up",
|
|
"up",
|
|
"process_start_time_seconds"
|
|
],
|
|
[
|
|
"prometheus",
|
|
"node",
|
|
"prometheus"
|
|
],
|
|
[
|
|
"localhost:9090",
|
|
"localhost:9091",
|
|
"localhost:9090"
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
} |