Prometheus: (Chore) Remove experimental unshipped prometheusWideSerie… (#73751)

This commit is contained in:
Kyle Brandt
2023-08-24 17:47:19 +03:00
committed by GitHub
parent cb6239d913
commit 6d8fc42cdd
42 changed files with 33 additions and 60415 deletions
+3 -142
View File
@@ -3,13 +3,11 @@ package converter
import (
"encoding/json"
"fmt"
"sort"
"strconv"
"time"
"github.com/grafana/grafana-plugin-sdk-go/backend"
"github.com/grafana/grafana-plugin-sdk-go/data"
"github.com/grafana/grafana-plugin-sdk-go/experimental"
jsoniter "github.com/json-iterator/go"
)
@@ -19,9 +17,7 @@ func logf(format string, a ...interface{}) {
}
type Options struct {
MatrixWideSeries bool
VectorWideSeries bool
Dataplane bool
Dataplane bool
}
// ReadPrometheusStyleResult will read results from a prometheus or loki server and return data frames
@@ -114,18 +110,8 @@ func readPrometheusData(iter *jsoniter.Iterator, opt Options) backend.DataRespon
case "result":
switch resultType {
case "matrix":
if opt.MatrixWideSeries {
rsp = readMatrixOrVectorWide(iter, resultType, opt)
} else {
rsp = readMatrixOrVectorMulti(iter, resultType, opt)
}
case "vector":
if opt.VectorWideSeries {
rsp = readMatrixOrVectorWide(iter, resultType, opt)
} else {
rsp = readMatrixOrVectorMulti(iter, resultType, opt)
}
case "matrix", "vector":
rsp = readMatrixOrVectorMulti(iter, resultType, opt)
case "streams":
rsp = readStream(iter)
case "string":
@@ -364,123 +350,6 @@ func readScalar(iter *jsoniter.Iterator) backend.DataResponse {
}
}
func readMatrixOrVectorWide(iter *jsoniter.Iterator, resultType string, opt Options) backend.DataResponse {
rowIdx := 0
timeMap := map[int64]int{}
timeField := data.NewFieldFromFieldType(data.FieldTypeTime, 0)
timeField.Name = data.TimeSeriesTimeFieldName
frame := data.NewFrame("", timeField)
frame.Meta = &data.FrameMeta{ // Overwritten if histogram
Type: data.FrameTypeTimeSeriesWide,
Custom: resultTypeToCustomMeta(resultType),
}
if opt.Dataplane && resultType == "vector" {
frame.Meta.Type = data.FrameTypeNumericWide
}
if opt.Dataplane {
frame.Meta.TypeVersion = data.FrameTypeVersion{0, 1}
}
rsp := backend.DataResponse{
Frames: []*data.Frame{},
}
for iter.ReadArray() {
valueField := data.NewFieldFromFieldType(data.FieldTypeNullableFloat64, frame.Rows())
valueField.Name = data.TimeSeriesValueFieldName
valueField.Labels = data.Labels{}
frame.Fields = append(frame.Fields, valueField)
var histogram *histogramInfo
for l1Field := iter.ReadObject(); l1Field != ""; l1Field = iter.ReadObject() {
switch l1Field {
case "metric":
iter.ReadVal(&valueField.Labels)
case "value":
timeMap, rowIdx = addValuePairToFrame(frame, timeMap, rowIdx, iter)
// nolint:goconst
case "values":
for iter.ReadArray() {
timeMap, rowIdx = addValuePairToFrame(frame, timeMap, rowIdx, iter)
}
case "histogram":
if histogram == nil {
histogram = newHistogramInfo()
}
err := readHistogram(iter, histogram)
if err != nil {
rsp.Error = err
}
case "histograms":
if histogram == nil {
histogram = newHistogramInfo()
}
for iter.ReadArray() {
err := readHistogram(iter, histogram)
if err != nil {
rsp.Error = err
}
}
default:
iter.Skip()
logf("readMatrixOrVector: %s\n", l1Field)
}
}
if histogram != nil {
histogram.yMin.Labels = valueField.Labels
frame := data.NewFrame(valueField.Name, histogram.time, histogram.yMin, histogram.yMax, histogram.count, histogram.yLayout)
frame.Meta = &data.FrameMeta{
Type: "heatmap-cells",
}
if frame.Name == data.TimeSeriesValueFieldName {
frame.Name = "" // only set the name if useful
}
rsp.Frames = append(rsp.Frames, frame)
}
}
if len(rsp.Frames) == 0 {
sorter := experimental.NewFrameSorter(frame, frame.Fields[0])
sort.Sort(sorter)
rsp.Frames = append(rsp.Frames, frame)
}
return rsp
}
func addValuePairToFrame(frame *data.Frame, timeMap map[int64]int, rowIdx int, iter *jsoniter.Iterator) (map[int64]int, int) {
timeField := frame.Fields[0]
valueField := frame.Fields[len(frame.Fields)-1]
t, v, err := readTimeValuePair(iter)
if err != nil {
return timeMap, rowIdx
}
ns := t.UnixNano()
i, ok := timeMap[ns]
if !ok {
timeMap[ns] = rowIdx
i = rowIdx
expandFrame(frame, i)
rowIdx++
}
timeField.Set(i, t)
valueField.Set(i, &v)
return timeMap, rowIdx
}
func readMatrixOrVectorMulti(iter *jsoniter.Iterator, resultType string, opt Options) backend.DataResponse {
rsp := backend.DataResponse{}
@@ -582,14 +451,6 @@ func readTimeValuePair(iter *jsoniter.Iterator) (time.Time, float64, error) {
return tt, fv, err
}
func expandFrame(frame *data.Frame, idx int) {
for _, f := range frame.Fields {
if idx+1 > f.Len() {
f.Extend(idx + 1 - f.Len())
}
}
}
type histogramInfo struct {
//XMax (time) YMin Ymax Count YLayout
time *data.Field
-5
View File
@@ -38,7 +38,6 @@ func TestReadPromFrames(t *testing.T) {
for _, name := range files {
t.Run(name, runScenario(name, Options{}))
t.Run(name, runScenario(name, Options{MatrixWideSeries: true, VectorWideSeries: true}))
}
}
@@ -52,10 +51,6 @@ func runScenario(name string, opts Options) func(t *testing.T) {
f, err := os.Open(path.Join("testdata", name+".json"))
require.NoError(t, err)
if opts.MatrixWideSeries || opts.VectorWideSeries {
name = name + "-wide"
}
iter := jsoniter.Parse(jsoniter.ConfigDefault, f, 1024)
rsp := ReadPrometheusStyleResult(iter, opts)
@@ -1,205 +0,0 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "stats": {
// "ingester": {
// "compressedBytes": 0,
// "decompressedBytes": 0,
// "decompressedLines": 0,
// "headChunkBytes": 0,
// "headChunkLines": 0,
// "totalBatches": 0,
// "totalChunksMatched": 0,
// "totalDuplicates": 0,
// "totalLinesSent": 0,
// "totalReached": 0
// },
// "store": {
// "chunksDownloadTime": 0.000390958,
// "compressedBytes": 31432,
// "decompressedBytes": 7772,
// "decompressedLines": 55,
// "headChunkBytes": 0,
// "headChunkLines": 0,
// "totalChunksDownloaded": 2,
// "totalChunksRef": 2,
// "totalDuplicates": 0
// },
// "summary": {
// "bytesProcessedPerSecond": 3507022,
// "execTime": 0.002216125,
// "linesProcessedPerSecond": 24818,
// "totalBytesProcessed": 7772,
// "totalLinesProcessed": 55
// }
// }
// }
// }
// Name:
// Dimensions: 4 Fields by 6 Rows
// +---------------------------------------+-----------------------------------------+------------------+---------------------+
// | Name: __labels | Name: Time | Name: Line | Name: TS |
// | Labels: | Labels: | Labels: | Labels: |
// | Type: []json.RawMessage | Type: []time.Time | Type: []string | Type: []string |
// +---------------------------------------+-----------------------------------------+------------------+---------------------+
// | {"level":"error","location":"moon🌙"} | 2022-02-16 16:50:44.81075712 +0000 UTC | log line error 1 | 1645030244810757120 |
// | {"level":"info","location":"moon🌙"} | 2022-02-16 16:50:47.02773504 +0000 UTC | log line info 1 | 1645030247027735040 |
// | {"level":"info","location":"moon🌙"} | 2022-02-16 16:50:46.277587968 +0000 UTC | log line info 2 | 1645030246277587968 |
// | {"level":"info","location":"moon🌙"} | 2022-02-16 16:50:46.277587968 +0000 UTC | log line info 2 | 1645030246277587968 |
// | {"level":"info","location":"moon🌙"} | 2022-02-16 16:50:45.539423744 +0000 UTC | log line info 3 | 1645030245539423744 |
// | {"level":"info","location":"moon🌙"} | 2022-02-16 16:50:44.091700992 +0000 UTC | log line info 4 | 1645030244091700992 |
// +---------------------------------------+-----------------------------------------+------------------+---------------------+
//
//
// 🌟 This was machine generated. Do not edit. 🌟
{
"status": 200,
"frames": [
{
"schema": {
"meta": {
"typeVersion": [
0,
0
],
"custom": {
"stats": {
"ingester": {
"compressedBytes": 0,
"decompressedBytes": 0,
"decompressedLines": 0,
"headChunkBytes": 0,
"headChunkLines": 0,
"totalBatches": 0,
"totalChunksMatched": 0,
"totalDuplicates": 0,
"totalLinesSent": 0,
"totalReached": 0
},
"store": {
"chunksDownloadTime": 0.000390958,
"compressedBytes": 31432,
"decompressedBytes": 7772,
"decompressedLines": 55,
"headChunkBytes": 0,
"headChunkLines": 0,
"totalChunksDownloaded": 2,
"totalChunksRef": 2,
"totalDuplicates": 0
},
"summary": {
"bytesProcessedPerSecond": 3507022,
"execTime": 0.002216125,
"linesProcessedPerSecond": 24818,
"totalBytesProcessed": 7772,
"totalLinesProcessed": 55
}
}
}
},
"fields": [
{
"name": "__labels",
"type": "other",
"typeInfo": {
"frame": "json.RawMessage"
}
},
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "Line",
"type": "string",
"typeInfo": {
"frame": "string"
}
},
{
"name": "TS",
"type": "string",
"typeInfo": {
"frame": "string"
}
}
]
},
"data": {
"values": [
[
{
"level": "error",
"location": "moon🌙"
},
{
"level": "info",
"location": "moon🌙"
},
{
"level": "info",
"location": "moon🌙"
},
{
"level": "info",
"location": "moon🌙"
},
{
"level": "info",
"location": "moon🌙"
},
{
"level": "info",
"location": "moon🌙"
}
],
[
1645030244810,
1645030247027,
1645030246277,
1645030246277,
1645030245539,
1645030244091
],
[
"log line error 1",
"log line info 1",
"log line info 2",
"log line info 2",
"log line info 3",
"log line info 4"
],
[
"1645030244810757120",
"1645030247027735040",
"1645030246277587968",
"1645030246277587968",
"1645030245539423744",
"1645030244091700992"
]
],
"nanos": [
null,
[
757120,
735040,
587968,
587968,
423744,
700992
],
null,
null
]
}
}
]
}
@@ -1,196 +0,0 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "stats": {
// "ingester": {
// "compressedBytes": 0,
// "decompressedBytes": 0,
// "decompressedLines": 0,
// "headChunkBytes": 0,
// "headChunkLines": 0,
// "totalBatches": 0,
// "totalChunksMatched": 0,
// "totalDuplicates": 0,
// "totalLinesSent": 0,
// "totalReached": 0
// },
// "store": {
// "chunksDownloadTime": 0.000390958,
// "compressedBytes": 31432,
// "decompressedBytes": 7772,
// "decompressedLines": 55,
// "headChunkBytes": 0,
// "headChunkLines": 0,
// "totalChunksDownloaded": 2,
// "totalChunksRef": 2,
// "totalDuplicates": 0
// },
// "summary": {
// "bytesProcessedPerSecond": 3507022,
// "execTime": 0.002216125,
// "linesProcessedPerSecond": 24818,
// "totalBytesProcessed": 7772,
// "totalLinesProcessed": 55
// }
// }
// }
// }
// Name:
// Dimensions: 4 Fields by 5 Rows
// +-------------------------------------+-----------------------------------------+------------------+---------------------+
// | Name: __labels | Name: Time | Name: Line | Name: TS |
// | Labels: | Labels: | Labels: | Labels: |
// | Type: []json.RawMessage | Type: []time.Time | Type: []string | Type: []string |
// +-------------------------------------+-----------------------------------------+------------------+---------------------+
// | {"level":"error","location":"moon"} | 2022-02-16 16:50:44.81075712 +0000 UTC | log line error 1 | 1645030244810757120 |
// | {"level":"info","location":"moon"} | 2022-02-16 16:50:47.02773504 +0000 UTC | log line info 1 | 1645030247027735040 |
// | {"level":"info","location":"moon"} | 2022-02-16 16:50:46.277587968 +0000 UTC | log line info 2 | 1645030246277587968 |
// | {"level":"info","location":"moon"} | 2022-02-16 16:50:45.539423744 +0000 UTC | log line info 3 | 1645030245539423744 |
// | {"level":"info","location":"moon"} | 2022-02-16 16:50:44.091700992 +0000 UTC | log line info 4 | 1645030244091700992 |
// +-------------------------------------+-----------------------------------------+------------------+---------------------+
//
//
// 🌟 This was machine generated. Do not edit. 🌟
{
"status": 200,
"frames": [
{
"schema": {
"meta": {
"typeVersion": [
0,
0
],
"custom": {
"stats": {
"ingester": {
"compressedBytes": 0,
"decompressedBytes": 0,
"decompressedLines": 0,
"headChunkBytes": 0,
"headChunkLines": 0,
"totalBatches": 0,
"totalChunksMatched": 0,
"totalDuplicates": 0,
"totalLinesSent": 0,
"totalReached": 0
},
"store": {
"chunksDownloadTime": 0.000390958,
"compressedBytes": 31432,
"decompressedBytes": 7772,
"decompressedLines": 55,
"headChunkBytes": 0,
"headChunkLines": 0,
"totalChunksDownloaded": 2,
"totalChunksRef": 2,
"totalDuplicates": 0
},
"summary": {
"bytesProcessedPerSecond": 3507022,
"execTime": 0.002216125,
"linesProcessedPerSecond": 24818,
"totalBytesProcessed": 7772,
"totalLinesProcessed": 55
}
}
}
},
"fields": [
{
"name": "__labels",
"type": "other",
"typeInfo": {
"frame": "json.RawMessage"
}
},
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "Line",
"type": "string",
"typeInfo": {
"frame": "string"
}
},
{
"name": "TS",
"type": "string",
"typeInfo": {
"frame": "string"
}
}
]
},
"data": {
"values": [
[
{
"level": "error",
"location": "moon"
},
{
"level": "info",
"location": "moon"
},
{
"level": "info",
"location": "moon"
},
{
"level": "info",
"location": "moon"
},
{
"level": "info",
"location": "moon"
}
],
[
1645030244810,
1645030247027,
1645030246277,
1645030245539,
1645030244091
],
[
"log line error 1",
"log line info 1",
"log line info 2",
"log line info 3",
"log line info 4"
],
[
"1645030244810757120",
"1645030247027735040",
"1645030246277587968",
"1645030245539423744",
"1645030244091700992"
]
],
"nanos": [
null,
[
757120,
735040,
587968,
423744,
700992
],
null,
null
]
}
}
]
}
@@ -1,90 +0,0 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name:
// Dimensions: 4 Fields by 2 Rows
// +-------------------------+-------------------------------+----------------+---------------------+
// | Name: __labels | Name: Time | Name: Line | Name: TS |
// | Labels: | Labels: | Labels: | Labels: |
// | Type: []json.RawMessage | Type: []time.Time | Type: []string | Type: []string |
// +-------------------------+-------------------------------+----------------+---------------------+
// | {"label1":"value1"} | 2022-06-17 06:49:51 +0000 UTC | text1 | 1655448591000000000 |
// | {"label2":"value2"} | 2022-06-17 06:49:52 +0000 UTC | text2 | 1655448592000000000 |
// +-------------------------+-------------------------------+----------------+---------------------+
//
//
// 🌟 This was machine generated. Do not edit. 🌟
{
"status": 200,
"frames": [
{
"schema": {
"meta": {
"typeVersion": [
0,
0
]
},
"fields": [
{
"name": "__labels",
"type": "other",
"typeInfo": {
"frame": "json.RawMessage"
}
},
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "Line",
"type": "string",
"typeInfo": {
"frame": "string"
}
},
{
"name": "TS",
"type": "string",
"typeInfo": {
"frame": "string"
}
}
]
},
"data": {
"values": [
[
{
"label1": "value1"
},
{
"label2": "value2"
}
],
[
1655448591000,
1655448592000
],
[
"text1",
"text2"
],
[
"1655448591000000000",
"1655448592000000000"
]
]
}
}
]
}
@@ -1,5 +0,0 @@
//
// ERROR: bad_data: invalid parameter "start": cannot parse "" to a valid timestamp🌟 This was machine generated. Do not edit. 🌟
{
"error": "bad_data: invalid parameter \"start\": cannot parse \"\" to a valid timestamp"
}
@@ -1,116 +0,0 @@
{
"frames": [
{
"schema": {
"meta": {
"custom": {
"resultType": "exemplar"
}
},
"fields": [
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64"
},
"labels": {
"__name__": "test_exemplar_metric_total",
"instance": "localhost:8090",
"job": "prometheus",
"service": "bar"
}
},
{
"name": "traceID",
"type": "string",
"typeInfo": {
"frame": "string"
}
},
{
"name": "a",
"type": "string",
"typeInfo": {
"frame": "string"
}
}
]
},
"data": {
"values": [
[
1600096945479
],
[
6
],
[
"EpTxMJ40fUus7aGY"
],
[
"not in next"
]
]
}
},
{
"schema": {
"meta": {
"custom": {
"resultType": "exemplar"
}
},
"fields": [
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64"
},
"labels": {
"__name__": "test_exemplar_metric_total",
"instance": "localhost:8090",
"job": "prometheus",
"service": "foo"
}
},
{
"name": "traceID",
"type": "string",
"typeInfo": {
"frame": "string"
}
}
]
},
"data": {
"values": [
[
1600096955479,1600096965489
],
[
19,20
],
[
"Olp9XHlq763ccsfa","hCtjygkIHwAN9vs4"
]
]
}
}
]
}
@@ -1,173 +0,0 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "exemplar"
// }
// }
// Name:
// Dimensions: 4 Fields by 1 Rows
// +-----------------------------------+---------------------------------------------------------------------------------------------------+------------------+----------------+
// | Name: Time | Name: Value | Name: traceID | Name: a |
// | Labels: | Labels: __name__=test_exemplar_metric_total, instance=localhost:8090, job=prometheus, service=bar | Labels: | Labels: |
// | Type: []time.Time | Type: []float64 | Type: []string | Type: []string |
// +-----------------------------------+---------------------------------------------------------------------------------------------------+------------------+----------------+
// | 2020-09-14 15:22:25.479 +0000 UTC | 6 | EpTxMJ40fUus7aGY | not in next |
// +-----------------------------------+---------------------------------------------------------------------------------------------------+------------------+----------------+
//
//
//
// Frame[1] {
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "exemplar"
// }
// }
// Name:
// Dimensions: 3 Fields by 2 Rows
// +-----------------------------------+---------------------------------------------------------------------------------------------------+------------------+
// | Name: Time | Name: Value | Name: traceID |
// | Labels: | Labels: __name__=test_exemplar_metric_total, instance=localhost:8090, job=prometheus, service=foo | Labels: |
// | Type: []time.Time | Type: []float64 | Type: []string |
// +-----------------------------------+---------------------------------------------------------------------------------------------------+------------------+
// | 2020-09-14 15:22:35.479 +0000 UTC | 19 | Olp9XHlq763ccsfa |
// | 2020-09-14 15:22:45.489 +0000 UTC | 20 | hCtjygkIHwAN9vs4 |
// +-----------------------------------+---------------------------------------------------------------------------------------------------+------------------+
//
//
// 🌟 This was machine generated. Do not edit. 🌟
{
"status": 200,
"frames": [
{
"schema": {
"meta": {
"typeVersion": [
0,
0
],
"custom": {
"resultType": "exemplar"
}
},
"fields": [
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64"
},
"labels": {
"__name__": "test_exemplar_metric_total",
"instance": "localhost:8090",
"job": "prometheus",
"service": "bar"
}
},
{
"name": "traceID",
"type": "string",
"typeInfo": {
"frame": "string"
}
},
{
"name": "a",
"type": "string",
"typeInfo": {
"frame": "string"
}
}
]
},
"data": {
"values": [
[
1600096945479
],
[
6
],
[
"EpTxMJ40fUus7aGY"
],
[
"not in next"
]
]
}
},
{
"schema": {
"meta": {
"typeVersion": [
0,
0
],
"custom": {
"resultType": "exemplar"
}
},
"fields": [
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64"
},
"labels": {
"__name__": "test_exemplar_metric_total",
"instance": "localhost:8090",
"job": "prometheus",
"service": "foo"
}
},
{
"name": "traceID",
"type": "string",
"typeInfo": {
"frame": "string"
}
}
]
},
"data": {
"values": [
[
1600096955479,
1600096965489
],
[
19,
20
],
[
"Olp9XHlq763ccsfa",
"hCtjygkIHwAN9vs4"
]
]
}
}
]
}
@@ -1,39 +0,0 @@
🌟 This was machine generated. Do not edit. 🌟
Frame[0] {
"custom": {
"resultType": "exemplar"
}
}
Name:
Dimensions: 4 Fields by 1 Rows
+-----------------------------------+---------------------------------------------------------------------------------------------------+------------------+----------------+
| Name: Time | Name: Value | Name: traceID | Name: a |
| Labels: | Labels: __name__=test_exemplar_metric_total, instance=localhost:8090, job=prometheus, service=bar | Labels: | Labels: |
| Type: []time.Time | Type: []float64 | Type: []string | Type: []string |
+-----------------------------------+---------------------------------------------------------------------------------------------------+------------------+----------------+
| 2020-09-14 15:22:25.479 +0000 UTC | 6 | EpTxMJ40fUus7aGY | not in next |
+-----------------------------------+---------------------------------------------------------------------------------------------------+------------------+----------------+
Frame[1] {
"custom": {
"resultType": "exemplar"
}
}
Name:
Dimensions: 3 Fields by 2 Rows
+-----------------------------------+---------------------------------------------------------------------------------------------------+------------------+
| Name: Time | Name: Value | Name: traceID |
| Labels: | Labels: __name__=test_exemplar_metric_total, instance=localhost:8090, job=prometheus, service=foo | Labels: |
| Type: []time.Time | Type: []float64 | Type: []string |
+-----------------------------------+---------------------------------------------------------------------------------------------------+------------------+
| 2020-09-14 15:22:35.479 +0000 UTC | 19 | Olp9XHlq763ccsfa |
| 2020-09-14 15:22:45.489 +0000 UTC | 20 | hCtjygkIHwAN9vs4 |
+-----------------------------------+---------------------------------------------------------------------------------------------------+------------------+
====== TEST DATA RESPONSE (arrow base64) ======
FRAME=QVJST1cxAAD/////8AIAABAAAAAAAAoADgAMAAsABAAKAAAAFAAAAAAAAAEEAAoADAAAAAgABAAKAAAACAAAAJgAAAADAAAATAAAACgAAAAEAAAApP3//wgAAAAMAAAAAAAAAAAAAAAFAAAAcmVmSWQAAADE/f//CAAAAAwAAAAAAAAAAAAAAAQAAABuYW1lAAAAAOT9//8IAAAAMAAAACQAAAB7ImN1c3RvbSI6eyJyZXN1bHRUeXBlIjoiZXhlbXBsYXIifX0AAAAABAAAAG1ldGEAAAAABAAAALQBAAC4AAAAWAAAAAQAAABu/v//FAAAADgAAAA4AAAAAAAABTQAAAABAAAABAAAAFz+//8IAAAADAAAAAEAAABhAAAABAAAAG5hbWUAAAAAAAAAAKz///8BAAAAYQAAAL7+//8UAAAAPAAAAEAAAAAAAAAFPAAAAAEAAAAEAAAArP7//wgAAAAQAAAABwAAAHRyYWNlSUQABAAAAG5hbWUAAAAAAAAAAAQABAAEAAAABwAAAHRyYWNlSUQAGv///xQAAADIAAAAyAAAAAAAAAPIAAAAAgAAACwAAAAEAAAADP///wgAAAAQAAAABQAAAFZhbHVlAAAABAAAAG5hbWUAAAAAMP///wgAAAB0AAAAaAAAAHsiX19uYW1lX18iOiJ0ZXN0X2V4ZW1wbGFyX21ldHJpY190b3RhbCIsImluc3RhbmNlIjoibG9jYWxob3N0OjgwOTAiLCJqb2IiOiJwcm9tZXRoZXVzIiwic2VydmljZSI6ImJhciJ9AAAAAAYAAABsYWJlbHMAAAAAAACK////AAACAAUAAABWYWx1ZQASABgAFAAAABMADAAAAAgABAASAAAAFAAAAEQAAABMAAAAAAAACkwAAAABAAAADAAAAAgADAAIAAQACAAAAAgAAAAQAAAABAAAAFRpbWUAAAAABAAAAG5hbWUAAAAAAAAAAAAABgAIAAYABgAAAAAAAwAEAAAAVGltZQAAAAAAAAAA/////zgBAAAUAAAAAAAAAAwA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//FAAAADwAAABAAAAAAAAABTwAAAABAAAABAAAAKz+//8IAAAAEAAAAAcAAAB0cmFjZUlEAAQAAABuYW1lAAAAAAAAAAAEAAQABAAAAAcAAAB0cmFjZUlEABr///8UAAAAyAAAAMgAAAAAAAADyAAAAAIAAAAsAAAABAAAAAz///8IAAAAEAAAAAUAAABWYWx1ZQAAAAQAAABuYW1lAAAAADD///8IAAAAdAAAAGgAAAB7Il9fbmFtZV9fIjoidGVzdF9leGVtcGxhcl9tZXRyaWNfdG90YWwiLCJpbnN0YW5jZSI6ImxvY2FsaG9zdDo4MDkwIiwiam9iIjoicHJvbWV0aGV1cyIsInNlcnZpY2UiOiJmb28ifQAAAAAGAAAAbGFiZWxzAAAAAAAAiv///wAAAgAFAAAAVmFsdWUAEgAYABQAAAATAAwAAAAIAAQAEgAAABQAAABEAAAATAAAAAAAAApMAAAAAQAAAAwAAAAIAAwACAAEAAgAAAAIAAAAEAAAAAQAAABUaW1lAAAAAAQAAABuYW1lAAAAAAAAAAAAAAYACAAGAAYAAAAAAAMABAAAAFRpbWUAAAAAyAIAAEFSUk9XMQ==
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
@@ -1,156 +0,0 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "custom": {
// "resultType": "exemplar"
// }
// }
// Name:
// Dimensions: 4 Fields by 1 Rows
// +-----------------------------------+---------------------------------------------------------------------------------------------------+------------------+----------------+
// | Name: Time | Name: Value | Name: traceID | Name: a |
// | Labels: | Labels: __name__=test_exemplar_metric_total, instance=localhost:8090, job=prometheus, service=bar | Labels: | Labels: |
// | Type: []time.Time | Type: []float64 | Type: []string | Type: []string |
// +-----------------------------------+---------------------------------------------------------------------------------------------------+------------------+----------------+
// | 2020-09-14 15:22:25.479 +0000 UTC | 6 | EpTxMJ40fUus7aGY | not in next |
// +-----------------------------------+---------------------------------------------------------------------------------------------------+------------------+----------------+
//
//
//
// Frame[1] {
// "custom": {
// "resultType": "exemplar"
// }
// }
// Name:
// Dimensions: 3 Fields by 2 Rows
// +-----------------------------------+---------------------------------------------------------------------------------------------------+------------------+
// | Name: Time | Name: Value | Name: traceID |
// | Labels: | Labels: __name__=test_exemplar_metric_total, instance=localhost:8090, job=prometheus, service=foo | Labels: |
// | Type: []time.Time | Type: []float64 | Type: []string |
// +-----------------------------------+---------------------------------------------------------------------------------------------------+------------------+
// | 2020-09-14 15:22:35.479 +0000 UTC | 19 | Olp9XHlq763ccsfa |
// | 2020-09-14 15:22:45.489 +0000 UTC | 20 | hCtjygkIHwAN9vs4 |
// +-----------------------------------+---------------------------------------------------------------------------------------------------+------------------+
//
//
// 🌟 This was machine generated. Do not edit. 🌟
{
"frames": [
{
"schema": {
"meta": {
"custom": {
"resultType": "exemplar"
}
},
"fields": [
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64"
},
"labels": {
"__name__": "test_exemplar_metric_total",
"instance": "localhost:8090",
"job": "prometheus",
"service": "bar"
}
},
{
"name": "traceID",
"type": "string",
"typeInfo": {
"frame": "string"
}
},
{
"name": "a",
"type": "string",
"typeInfo": {
"frame": "string"
}
}
]
},
"data": {
"values": [
[
1600096945479
],
[
6
],
[
"EpTxMJ40fUus7aGY"
],
[
"not in next"
]
]
}
},
{
"schema": {
"meta": {
"custom": {
"resultType": "exemplar"
}
},
"fields": [
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64"
},
"labels": {
"__name__": "test_exemplar_metric_total",
"instance": "localhost:8090",
"job": "prometheus",
"service": "foo"
}
},
{
"name": "traceID",
"type": "string",
"typeInfo": {
"frame": "string"
}
}
]
},
"data": {
"values": [
[
1600096955479,
1600096965489
],
[
19,
20
],
[
"Olp9XHlq763ccsfa",
"hCtjygkIHwAN9vs4"
]
]
}
}
]
}
@@ -1,69 +0,0 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0]
// Name:
// Dimensions: 1 Fields by 21 Rows
// +----------------+
// | Name: Value |
// | Labels: |
// | Type: []string |
// +----------------+
// | __name__ |
// | call |
// | code |
// | config |
// | dialer_name |
// | endpoint |
// | event |
// | goversion |
// | handler |
// | ... |
// +----------------+
//
//
// 🌟 This was machine generated. Do not edit. 🌟
{
"status": 200,
"frames": [
{
"schema": {
"fields": [
{
"name": "Value",
"type": "string",
"typeInfo": {
"frame": "string"
}
}
]
},
"data": {
"values": [
[
"__name__",
"call",
"code",
"config",
"dialer_name",
"endpoint",
"event",
"goversion",
"handler",
"instance",
"interval",
"job",
"le",
"listener_name",
"name",
"quantile",
"reason",
"role",
"scrape_job",
"slice",
"version"
]
]
}
}
]
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -1,99 +0,0 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "type": "timeseries-wide",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "matrix"
// }
// }
// Name:
// Dimensions: 3 Fields by 3 Rows
// +-----------------------------------+--------------------------------------------------------------+--------------------------------------------------------+
// | Name: Time | Name: Value | Name: Value |
// | Labels: | Labels: __name__=up, instance=localhost:9090, job=prometheus | Labels: __name__=up, instance=localhost:9091, job=node |
// | Type: []time.Time | Type: []*float64 | Type: []*float64 |
// +-----------------------------------+--------------------------------------------------------------+--------------------------------------------------------+
// | 2015-07-01 20:10:30.781 +0000 UTC | 1 | 0 |
// | 2015-07-01 20:10:45.781 +0000 UTC | 1 | 0 |
// | 2015-07-01 20:11:00.781 +0000 UTC | 1 | 1 |
// +-----------------------------------+--------------------------------------------------------------+--------------------------------------------------------+
//
//
// 🌟 This was machine generated. Do not edit. 🌟
{
"status": 200,
"frames": [
{
"schema": {
"meta": {
"type": "timeseries-wide",
"typeVersion": [
0,
0
],
"custom": {
"resultType": "matrix"
}
},
"fields": [
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"labels": {
"__name__": "up",
"instance": "localhost:9090",
"job": "prometheus"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"labels": {
"__name__": "up",
"instance": "localhost:9091",
"job": "node"
}
}
]
},
"data": {
"values": [
[
1435781430781,
1435781445781,
1435781460781
],
[
1,
1,
1
],
[
0,
0,
1
]
]
}
}
]
}
@@ -1,94 +0,0 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "type": "timeseries-wide",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "matrix"
// }
// }
// Name:
// Dimensions: 2 Fields by 3 Rows
// +-------------------------------+-----------------------------------------------------+
// | Name: Time | Name: Value |
// | Labels: | Labels: handler=/api/v1/query_range, job=prometheus |
// | Type: []time.Time | Type: []*float64 |
// +-------------------------------+-----------------------------------------------------+
// | 2022-01-11 08:25:30 +0000 UTC | +Inf |
// | 2022-01-11 08:25:31 +0000 UTC | NaN |
// | 2022-01-11 08:25:32 +0000 UTC | -Inf |
// +-------------------------------+-----------------------------------------------------+
//
//
// 🌟 This was machine generated. Do not edit. 🌟
{
"status": 200,
"frames": [
{
"schema": {
"meta": {
"type": "timeseries-wide",
"typeVersion": [
0,
0
],
"custom": {
"resultType": "matrix"
}
},
"fields": [
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"labels": {
"handler": "/api/v1/query_range",
"job": "prometheus"
}
}
]
},
"data": {
"values": [
[
1641889530000,
1641889531000,
1641889532000
],
[
null,
null,
null
]
],
"entities": [
null,
{
"NaN": [
1
],
"Inf": [
0
],
"NegInf": [
2
]
}
]
}
}
]
}
@@ -1,70 +0,0 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "type": "numeric-multi",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "scalar"
// }
// }
// Name:
// Dimensions: 2 Fields by 1 Rows
// +-----------------------------------+-----------------+
// | Name: Time | Name: Value |
// | Labels: | Labels: |
// | Type: []time.Time | Type: []float64 |
// +-----------------------------------+-----------------+
// | 2022-05-04 16:02:19.104 +0000 UTC | 2.482e-05 |
// +-----------------------------------+-----------------+
//
//
// 🌟 This was machine generated. Do not edit. 🌟
{
"status": 200,
"frames": [
{
"schema": {
"meta": {
"type": "numeric-multi",
"typeVersion": [
0,
0
],
"custom": {
"resultType": "scalar"
}
},
"fields": [
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64"
},
"labels": {}
}
]
},
"data": {
"values": [
[
1651680139104
],
[
0.00002482
]
]
}
}
]
}
@@ -1,68 +0,0 @@
// 🌟 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"
]
]
}
}
]
}
@@ -1,70 +0,0 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "string"
// }
// }
// Name:
// Dimensions: 2 Fields by 1 Rows
// +-----------------------------------+----------------+
// | Name: Time | Name: Value |
// | Labels: | Labels: |
// | Type: []time.Time | Type: []string |
// +-----------------------------------+----------------+
// | 2022-05-04 16:02:19.104 +0000 UTC | example |
// +-----------------------------------+----------------+
//
//
// 🌟 This was machine generated. Do not edit. 🌟
{
"status": 200,
"frames": [
{
"schema": {
"meta": {
"type": "timeseries-multi",
"typeVersion": [
0,
0
],
"custom": {
"resultType": "string"
}
},
"fields": [
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "Value",
"type": "string",
"typeInfo": {
"frame": "string"
},
"labels": {}
}
]
},
"data": {
"values": [
[
1651680139104
],
[
"example"
]
]
}
}
]
}
@@ -1,768 +0,0 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "type": "heatmap-cells",
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name:
// Dimensions: 5 Fields by 134 Rows
// +-----------------------------------+------------------------+------------------------+---------------------+---------------+
// | Name: xMax | Name: yMin | Name: yMax | Name: count | Name: yLayout |
// | Labels: | Labels: | Labels: | Labels: | Labels: |
// | Type: []time.Time | Type: []float64 | Type: []float64 | Type: []float64 | Type: []int8 |
// +-----------------------------------+------------------------+------------------------+---------------------+---------------+
// | 2022-04-14 20:21:08.042 +0000 UTC | 4.536465129862675e-06 | 4.947050303081549e-06 | 0.13333333333333333 | 0 |
// | 2022-04-14 20:21:08.042 +0000 UTC | 4.947050303081549e-06 | 5.394796609394436e-06 | 2.0982456140350876 | 0 |
// | 2022-04-14 20:21:08.042 +0000 UTC | 5.394796609394436e-06 | 5.883067418700946e-06 | 4.224561403508771 | 0 |
// | 2022-04-14 20:21:08.042 +0000 UTC | 5.883067418700946e-06 | 6.415530511884418e-06 | 4.101754385964911 | 0 |
// | 2022-04-14 20:21:08.042 +0000 UTC | 6.415530511884418e-06 | 6.9961856323598564e-06 | 3.5438596491228074 | 0 |
// | 2022-04-14 20:21:08.042 +0000 UTC | 6.9961856323598564e-06 | 7.62939453125e-06 | 3.922807017543859 | 0 |
// | 2022-04-14 20:21:08.042 +0000 UTC | 7.62939453125e-06 | 8.319913731882154e-06 | 3.8877192982456137 | 0 |
// | 2022-04-14 20:21:08.042 +0000 UTC | 8.319913731882154e-06 | 9.07293025972535e-06 | 3.480701754385965 | 0 |
// | 2022-04-14 20:21:08.042 +0000 UTC | 9.07293025972535e-06 | 9.894100606163098e-06 | 3.392982456140351 | 0 |
// | ... | ... | ... | ... | ... |
// +-----------------------------------+------------------------+------------------------+---------------------+---------------+
//
//
// 🌟 This was machine generated. Do not edit. 🌟
{
"status": 200,
"frames": [
{
"schema": {
"meta": {
"type": "heatmap-cells",
"typeVersion": [
0,
0
]
},
"fields": [
{
"name": "xMax",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "yMin",
"type": "number",
"typeInfo": {
"frame": "float64"
},
"labels": {}
},
{
"name": "yMax",
"type": "number",
"typeInfo": {
"frame": "float64"
}
},
{
"name": "count",
"type": "number",
"typeInfo": {
"frame": "float64"
}
},
{
"name": "yLayout",
"type": "number",
"typeInfo": {
"frame": "int8"
}
}
]
},
"data": {
"values": [
[
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042,
1649967668042
],
[
0.000004536465129862675,
0.000004947050303081549,
0.000005394796609394436,
0.000005883067418700946,
0.000006415530511884418,
0.0000069961856323598564,
0.00000762939453125,
0.000008319913731882154,
0.00000907293025972535,
0.000009894100606163098,
0.000010789593218788871,
0.000011766134837401892,
0.000012831061023768835,
0.000013992371264719713,
0.0000152587890625,
0.000016639827463764308,
0.0000181458605194507,
0.000019788201212326197,
0.000021579186437577742,
0.000023532269674803783,
0.00002566212204753767,
0.000027984742529439426,
0.000030517578125,
0.000033279654927528616,
0.0000362917210389014,
0.000039576402424652394,
0.000043158372875155485,
0.00004706453934960757,
0.00005132424409507534,
0.00005596948505887885,
0.00006103515625,
0.00006655930985505723,
0.00009412907869921513,
0.00010264848819015068,
0.0004477558804710308,
0.00048828125,
0.0005324744788404579,
0.0005806675366224224,
0.0006332224387944383,
0.0006905339660024878,
0.0007530326295937211,
0.0008211879055212055,
0.0008955117609420616,
0.0009765625,
0.0010649489576809157,
0.0011613350732448448,
0.0012664448775888766,
0.0013810679320049755,
0.0015060652591874421,
0.001642375811042411,
0.0017910235218841233,
0.001953125,
0.0021298979153618314,
0.0023226701464896895,
0.002532889755177753,
0.002762135864009951,
0.0030121305183748843,
0.003284751622084822,
0.0035820470437682465,
0.00390625,
0.004259795830723663,
0.004645340292979379,
0.005065779510355506,
0.005524271728019902,
0.0060242610367497685,
0.006569503244169644,
0.007164094087536493,
0.0078125,
0.008519591661447326,
0.009290680585958758,
0.010131559020711013,
0.011048543456039804,
0.012048522073499537,
0.013139006488339287,
0.014328188175072986,
0.015625,
0.01703918332289465,
0.018581361171917516,
0.020263118041422026,
0.022097086912079608,
0.024097044146999074,
0.026278012976678575,
0.028656376350145972,
0.03125,
0.0340783666457893,
0.03716272234383503,
0.04052623608284405,
0.044194173824159216,
0.04819408829399815,
0.05255602595335715,
0.057312752700291944,
0.0625,
0.0681567332915786,
0.07432544468767006,
0.0810524721656881,
0.08838834764831843,
0.0963881765879963,
0.1051120519067143,
0.11462550540058389,
0.125,
0.1363134665831572,
0.14865088937534013,
0.1621049443313762,
0.17677669529663687,
0.1927763531759926,
0.2102241038134286,
0.22925101080116778,
0.25,
0.2726269331663144,
0.29730177875068026,
0.3242098886627524,
0.35355339059327373,
0.3855527063519852,
0.4204482076268572,
0.45850202160233555,
0.5,
0.5452538663326288,
0.5946035575013605,
0.6484197773255048,
0.7071067811865475,
0.7711054127039704,
1,
1.0905077326652577,
1.189207115002721,
1.2968395546510096,
1.414213562373095,
1.5422108254079407,
1.6817928305074288,
1.8340080864093422,
2,
2.1810154653305154,
2.378414230005442,
2.5936791093020193,
2.82842712474619
],
[
0.000004947050303081549,
0.000005394796609394436,
0.000005883067418700946,
0.000006415530511884418,
0.0000069961856323598564,
0.00000762939453125,
0.000008319913731882154,
0.00000907293025972535,
0.000009894100606163098,
0.000010789593218788871,
0.000011766134837401892,
0.000012831061023768835,
0.000013992371264719713,
0.0000152587890625,
0.000016639827463764308,
0.0000181458605194507,
0.000019788201212326197,
0.000021579186437577742,
0.000023532269674803783,
0.00002566212204753767,
0.000027984742529439426,
0.000030517578125,
0.000033279654927528616,
0.0000362917210389014,
0.000039576402424652394,
0.000043158372875155485,
0.00004706453934960757,
0.00005132424409507534,
0.00005596948505887885,
0.00006103515625,
0.00006655930985505723,
0.0000725834420778028,
0.00010264848819015068,
0.0001119389701177577,
0.00048828125,
0.0005324744788404579,
0.0005806675366224224,
0.0006332224387944383,
0.0006905339660024878,
0.0007530326295937211,
0.0008211879055212055,
0.0008955117609420616,
0.0009765625,
0.0010649489576809157,
0.0011613350732448448,
0.0012664448775888766,
0.0013810679320049755,
0.0015060652591874421,
0.001642375811042411,
0.0017910235218841233,
0.001953125,
0.0021298979153618314,
0.0023226701464896895,
0.002532889755177753,
0.002762135864009951,
0.0030121305183748843,
0.003284751622084822,
0.0035820470437682465,
0.00390625,
0.004259795830723663,
0.004645340292979379,
0.005065779510355506,
0.005524271728019902,
0.0060242610367497685,
0.006569503244169644,
0.007164094087536493,
0.0078125,
0.008519591661447326,
0.009290680585958758,
0.010131559020711013,
0.011048543456039804,
0.012048522073499537,
0.013139006488339287,
0.014328188175072986,
0.015625,
0.01703918332289465,
0.018581361171917516,
0.020263118041422026,
0.022097086912079608,
0.024097044146999074,
0.026278012976678575,
0.028656376350145972,
0.03125,
0.0340783666457893,
0.03716272234383503,
0.04052623608284405,
0.044194173824159216,
0.04819408829399815,
0.05255602595335715,
0.057312752700291944,
0.0625,
0.0681567332915786,
0.07432544468767006,
0.0810524721656881,
0.08838834764831843,
0.0963881765879963,
0.1051120519067143,
0.11462550540058389,
0.125,
0.1363134665831572,
0.14865088937534013,
0.1621049443313762,
0.17677669529663687,
0.1927763531759926,
0.2102241038134286,
0.22925101080116778,
0.25,
0.2726269331663144,
0.29730177875068026,
0.3242098886627524,
0.35355339059327373,
0.3855527063519852,
0.4204482076268572,
0.45850202160233555,
0.5,
0.5452538663326288,
0.5946035575013605,
0.6484197773255048,
0.7071067811865475,
0.7711054127039704,
0.8408964152537144,
1.0905077326652577,
1.189207115002721,
1.2968395546510096,
1.414213562373095,
1.5422108254079407,
1.6817928305074288,
1.8340080864093422,
2,
2.1810154653305154,
2.378414230005442,
2.5936791093020193,
2.82842712474619,
3.0844216508158815
],
[
0.13333333333333333,
2.0982456140350876,
4.224561403508771,
4.101754385964911,
3.5438596491228074,
3.922807017543859,
3.8877192982456137,
3.480701754385965,
3.392982456140351,
2.971929824561403,
2.028070175438596,
1.7087719298245612,
1.1614035087719294,
0.6210526315789473,
0.42105263157894735,
0.3192982456140351,
0.21052631578947364,
0.16842105263157892,
0.1333333333333333,
0.09122807017543859,
0.08771929824561403,
0.08421052631578947,
0.0631578947368421,
0.05964912280701754,
0.014035087719298244,
0.024561403508771926,
0.02456140350877193,
0.007017543859649122,
0,
0.010526315789473682,
0.003508771929824561,
0.003508771929824561,
0.003508771929824561,
0.003508771929824561,
0.003508771929824561,
0.007017543859649122,
0.007017543859649122,
0.03859649122807017,
0.07368421052631578,
0.04912280701754385,
0.09122807017543859,
0.03859649122807017,
0.02456140350877193,
0.017543859649122806,
0.031578947368421054,
0.06315789473684211,
0.10526315789473682,
0.11929824561403507,
0.10877192982456138,
0.11929824561403507,
0.19649122807017538,
0.24561403508771926,
0.19999999999999998,
0.18245614035087715,
0.2771929824561403,
0.5228070175438596,
0.663157894736842,
0.4070175438596491,
0.4421052631578947,
1.0070175438596491,
1.4210526315789476,
1.3859649122807016,
1.0035087719298246,
0.8771929824561402,
8.273684210526316,
32.50877192982456,
57.18245614035087,
53.82105263157894,
39.508771929824555,
22.824561403508767,
11.554385964912282,
6.50877192982456,
4.529824561403507,
3.5298245614035086,
2.7438596491228067,
2.284210526315789,
1.9192982456140348,
2.028070175438596,
1.9403508771929823,
1.4701754385964911,
1.1964912280701754,
0.9228070175438596,
0.8421052631578947,
2.8421052631578942,
2.508771929824561,
1.0842105263157893,
0.3473684210526316,
0.2526315789473684,
0.1964912280701754,
0.09473684210526315,
0.07017543859649121,
0.10526315789473684,
0.07368421052631578,
0.07368421052631577,
0.06666666666666665,
0.04912280701754385,
0.05263157894736841,
0.38947368421052625,
2.9157894736842103,
0.5052631578947367,
0.11228070175438594,
0.05263157894736842,
0.04210526315789473,
0.02807017543859649,
0.010526315789473682,
0.010526315789473682,
0.003508771929824561,
0.010526315789473682,
0.003508771929824561,
0.007017543859649122,
0.007017543859649122,
0.024561403508771926,
0.017543859649122806,
0.02456140350877193,
0.04561403508771929,
0.014035087719298244,
0.021052631578947364,
0.007017543859649122,
0.003508771929824561,
0.003508771929824561,
0.007017543859649122,
0.003508771929824561,
0.010526315789473682,
0.010526315789473682,
0.021052631578947368,
0.003508771929824561,
0.003508771929824561,
0,
0.003508771929824561,
0,
0,
0,
0.003508771929824561,
0.003508771929824561
],
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
]
}
}
]
}
-163
View File
@@ -1,163 +0,0 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "type": "timeseries-wide",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "vector"
// }
// }
// Name:
// Dimensions: 6 Fields by 2 Rows
// +-----------------------------------+--------------------------------------------------------------+--------------------------------------------------------+------------------------------------+-----------------------------------+------------------------------------+
// | Name: Time | Name: Value | Name: Value | Name: Value | Name: Value | Name: Value |
// | Labels: | Labels: __name__=up, instance=localhost:9090, job=prometheus | Labels: __name__=up, instance=localhost:9100, job=node | Labels: level=error, location=moon | Labels: level=info, location=moon | Labels: level=debug, location=moon |
// | Type: []time.Time | Type: []*float64 | Type: []*float64 | Type: []*float64 | Type: []*float64 | Type: []*float64 |
// +-----------------------------------+--------------------------------------------------------------+--------------------------------------------------------+------------------------------------+-----------------------------------+------------------------------------+
// | 2015-07-01 20:10:51.781 +0000 UTC | 1 | 0 | null | null | null |
// | 2022-02-16 16:41:39 +0000 UTC | null | null | +Inf | -Inf | NaN |
// +-----------------------------------+--------------------------------------------------------------+--------------------------------------------------------+------------------------------------+-----------------------------------+------------------------------------+
//
//
// 🌟 This was machine generated. Do not edit. 🌟
{
"status": 200,
"frames": [
{
"schema": {
"meta": {
"type": "timeseries-wide",
"typeVersion": [
0,
0
],
"custom": {
"resultType": "vector"
}
},
"fields": [
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"labels": {
"__name__": "up",
"instance": "localhost:9090",
"job": "prometheus"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"labels": {
"__name__": "up",
"instance": "localhost:9100",
"job": "node"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"labels": {
"level": "error",
"location": "moon"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"labels": {
"level": "info",
"location": "moon"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"labels": {
"level": "debug",
"location": "moon"
}
}
]
},
"data": {
"values": [
[
1435781451781,
1645029699000
],
[
1,
null
],
[
0,
null
],
[
null,
null
],
[
null,
null
],
[
null,
null
]
],
"entities": [
null,
null,
null,
{
"Inf": [
1
]
},
{
"NegInf": [
1
]
},
{
"NaN": [
1
]
}
]
}
}
]
}
@@ -1,183 +0,0 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "type": "timeseries-wide",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "vector"
// },
// "notices": [
// {
// "severity": "warning",
// "text": "warning 1"
// },
// {
// "severity": "warning",
// "text": "warning 2"
// }
// ]
// }
// Name:
// Dimensions: 6 Fields by 2 Rows
// +-----------------------------------+--------------------------------------------------------------+--------------------------------------------------------+------------------------------------+-----------------------------------+------------------------------------+
// | Name: Time | Name: Value | Name: Value | Name: Value | Name: Value | Name: Value |
// | Labels: | Labels: __name__=up, instance=localhost:9090, job=prometheus | Labels: __name__=up, instance=localhost:9100, job=node | Labels: level=error, location=moon | Labels: level=info, location=moon | Labels: level=debug, location=moon |
// | Type: []time.Time | Type: []*float64 | Type: []*float64 | Type: []*float64 | Type: []*float64 | Type: []*float64 |
// +-----------------------------------+--------------------------------------------------------------+--------------------------------------------------------+------------------------------------+-----------------------------------+------------------------------------+
// | 2015-07-01 20:10:51.781 +0000 UTC | 1 | 0 | null | null | null |
// | 2022-02-16 16:41:39 +0000 UTC | null | null | +Inf | -Inf | NaN |
// +-----------------------------------+--------------------------------------------------------------+--------------------------------------------------------+------------------------------------+-----------------------------------+------------------------------------+
//
//
// 🌟 This was machine generated. Do not edit. 🌟
{
"status": 200,
"frames": [
{
"schema": {
"meta": {
"type": "timeseries-wide",
"typeVersion": [
0,
0
],
"custom": {
"resultType": "vector"
},
"notices": [
{
"severity": "warning",
"text": "warning 1"
},
{
"severity": "warning",
"text": "warning 2"
}
]
},
"fields": [
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"labels": {
"__name__": "up",
"instance": "localhost:9090",
"job": "prometheus"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"labels": {
"__name__": "up",
"instance": "localhost:9100",
"job": "node"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"labels": {
"level": "error",
"location": "moon"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"labels": {
"level": "info",
"location": "moon"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64",
"nullable": true
},
"labels": {
"level": "debug",
"location": "moon"
}
}
]
},
"data": {
"values": [
[
1435781451781,
1645029699000
],
[
1,
null
],
[
0,
null
],
[
null,
null
],
[
null,
null
],
[
null,
null
]
],
"entities": [
null,
null,
null,
{
"Inf": [
1
]
},
{
"NegInf": [
1
]
},
{
"NaN": [
1
]
}
]
}
}
]
}