Files
grafana/pkg/promlib/converter/testdata/prom-series-frame.jsonc
T
ismail simsek 3fb6319d1b Prometheus: Introduce prometheus backend library (#83952)
* 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

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"
]
]
}
}
]
}