Prometheus: Move converter in prometheus package (#82269)

* use jsoniter from sdk

* move converter into the prometheus

* remove jsonitere

* unit test

* remove redundant ownership
This commit is contained in:
ismail simsek
2024-02-15 15:09:30 +01:00
committed by GitHub
parent 45c7393564
commit 916a7bbb08
49 changed files with 6 additions and 30 deletions
File diff suppressed because it is too large Load Diff
-110
View File
@@ -1,110 +0,0 @@
package converter
import (
"fmt"
"os"
"path"
"strings"
"testing"
"time"
"github.com/grafana/grafana-plugin-sdk-go/experimental"
"github.com/grafana/grafana/pkg/infra/httpclient"
jsoniter "github.com/json-iterator/go"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
const update = false
var files = []string{
"prom-labels",
"prom-matrix",
"prom-matrix-with-nans",
"prom-matrix-histogram-no-labels",
"prom-matrix-histogram-partitioned",
"prom-vector-histogram-no-labels",
"prom-vector",
"prom-string",
"prom-scalar",
"prom-series",
"prom-warnings",
"prom-error",
"prom-exemplars-a",
"prom-exemplars-b",
"prom-exemplars-diff-labels",
"loki-streams-a",
"loki-streams-b",
"loki-streams-c",
}
func TestReadPromFrames(t *testing.T) {
for _, name := range files {
t.Run(name, runScenario(name, Options{}))
}
}
func TestReadLimited(t *testing.T) {
for _, name := range files {
p := path.Join("testdata", name+".json")
stat, err := os.Stat(p)
require.NoError(t, err)
size := stat.Size()
for i := int64(10); i < size-1; i += size / 10 {
t.Run(fmt.Sprintf("%v_%v", name, i), func(t *testing.T) {
//nolint:gosec
f, err := os.Open(p)
require.NoError(t, err)
mbr := httpclient.MaxBytesReader(f, i)
iter := jsoniter.Parse(jsoniter.ConfigDefault, mbr, 1024)
rsp := ReadPrometheusStyleResult(iter, Options{})
require.ErrorContains(t, rsp.Error, "response body too large")
})
}
}
}
func runScenario(name string, opts Options) func(t *testing.T) {
return func(t *testing.T) {
// Safe to disable, this is a test.
// nolint:gosec
f, err := os.Open(path.Join("testdata", name+".json"))
require.NoError(t, err)
iter := jsoniter.Parse(jsoniter.ConfigDefault, f, 1024)
rsp := ReadPrometheusStyleResult(iter, opts)
if strings.Contains(name, "error") {
require.Error(t, rsp.Error)
return
}
require.NoError(t, rsp.Error)
fname := name + "-frame"
experimental.CheckGoldenJSONResponse(t, "testdata", fname, &rsp, update)
}
}
func TestTimeConversions(t *testing.T) {
// include millisecond precision
assert.Equal(t,
time.Date(2020, time.September, 14, 15, 22, 25, 479000000, time.UTC),
timeFromFloat(1600096945.479))
ti, err := timeFromLokiString("1645030246277587968")
require.NoError(t, err)
// Loki date parsing
assert.Equal(t,
time.Date(2022, time.February, 16, 16, 50, 46, 277587968, time.UTC),
ti)
ti, err = timeFromLokiString("2000000000000000000")
require.NoError(t, err)
assert.Equal(t,
time.Date(2033, time.May, 18, 3, 33, 20, 0, time.UTC),
ti)
}
-205
View File
@@ -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
]
}
}
]
}
-81
View File
@@ -1,81 +0,0 @@
{
"status": "success",
"data": {
"resultType": "streams",
"result": [
{
"stream": {
"level": "error",
"location": "moon🌙"
},
"values": [
[
"1645030244810757120",
"log line error 1"
]
]
},
{
"stream": {
"level": "info",
"location": "moon🌙"
},
"values": [
[
"1645030247027735040",
"log line info 1"
],
[
"1645030246277587968",
"log line info 2"
],
[
"1645030246277587968",
"log line info 2"
],
[
"1645030245539423744",
"log line info 3"
],
[
"1645030244091700992",
"log line info 4"
]
]
}
],
"stats": {
"summary": {
"bytesProcessedPerSecond": 3507022,
"linesProcessedPerSecond": 24818,
"totalBytesProcessed": 7772,
"totalLinesProcessed": 55,
"execTime": 0.002216125
},
"store": {
"totalChunksRef": 2,
"totalChunksDownloaded": 2,
"chunksDownloadTime": 0.000390958,
"headChunkBytes": 0,
"headChunkLines": 0,
"decompressedBytes": 7772,
"decompressedLines": 55,
"compressedBytes": 31432,
"totalDuplicates": 0
},
"ingester": {
"totalReached": 0,
"totalChunksMatched": 0,
"totalBatches": 0,
"totalLinesSent": 0,
"headChunkBytes": 0,
"headChunkLines": 0,
"decompressedBytes": 0,
"decompressedLines": 0,
"compressedBytes": 0,
"totalDuplicates": 0
}
}
}
}
-196
View File
@@ -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
]
}
}
]
}
-76
View File
@@ -1,76 +0,0 @@
{
"status": "success",
"data": {
"resultType": "streams",
"result": [
{
"stream": {
"level": "error",
"location": "moon"
},
"values": [
[
"1645030244810757120",
"log line error 1"
]
]
},
{
"stream": {
"level": "info",
"location": "moon"
},
"values": [
[
"1645030247027735040",
"log line info 1"
],
[
"1645030246277587968",
"log line info 2"
],
[
"1645030245539423744",
"log line info 3"
],
[
"1645030244091700992",
"log line info 4"
]
]
}
],
"stats": {
"summary": {
"bytesProcessedPerSecond": 3507022,
"linesProcessedPerSecond": 24818,
"totalBytesProcessed": 7772,
"totalLinesProcessed": 55,
"execTime": 0.002216125
},
"store": {
"totalChunksRef": 2,
"totalChunksDownloaded": 2,
"chunksDownloadTime": 0.000390958,
"headChunkBytes": 0,
"headChunkLines": 0,
"decompressedBytes": 7772,
"decompressedLines": 55,
"compressedBytes": 31432,
"totalDuplicates": 0
},
"ingester": {
"totalReached": 0,
"totalChunksMatched": 0,
"totalBatches": 0,
"totalLinesSent": 0,
"headChunkBytes": 0,
"headChunkLines": 0,
"decompressedBytes": 0,
"decompressedLines": 0,
"compressedBytes": 0,
"totalDuplicates": 0
}
}
}
}
-90
View File
@@ -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"
]
]
}
}
]
}
-17
View File
@@ -1,17 +0,0 @@
{
"status": "success",
"data": {
"resultType": "streams",
"result": [
{
"stream": { "label1": "value1" },
"values": [["1655448591000000000", "text1"]
]
},
{
"stream": { "label2": "value2"},
"values": [["1655448592000000000", "text2"]]
}
]
}
}
@@ -1,97 +0,0 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ]
// }
// Name:
// Dimensions: 5 Fields by 1 Rows
// +----------------------------------------+-----------------------------------+----------------+---------------------+--------------------------------+
// | Name: __labels | Name: Time | Name: Line | Name: TS | Name: __labelTypes |
// | Labels: | Labels: | Labels: | Labels: | Labels: |
// | Type: []json.RawMessage | Type: []time.Time | Type: []string | Type: []string | Type: []json.RawMessage |
// +----------------------------------------+-----------------------------------+----------------+---------------------+--------------------------------+
// | {"label":"value","nonIndexed":"value"} | 2023-10-11 11:55:10.236 +0000 UTC | text | 1697025310236000000 | {"nonIndexed":"S","label":"I"} |
// +----------------------------------------+-----------------------------------+----------------+---------------------+--------------------------------+
//
//
// 🌟 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"
}
},
{
"name": "__labelTypes",
"type": "other",
"typeInfo": {
"frame": "json.RawMessage"
}
}
]
},
"data": {
"values": [
[
{
"label": "value",
"nonIndexed": "value"
}
],
[
1697025310236
],
[
"text"
],
[
"1697025310236000000"
],
[
{
"nonIndexed": "S",
"label": "I"
}
]
]
}
}
]
}
@@ -1,27 +0,0 @@
{
"status": "success",
"data": {
"encodingFlags": [
"categorize-labels"
],
"resultType": "streams",
"result": [
{
"stream": {
"label": "value"
},
"values": [
[
"1697025310236000000",
"text",
{
"structuredMetadata": {
"nonIndexed": "value"
}
}
]
]
}
]
}
}
-5
View File
@@ -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"
}
-5
View File
@@ -1,5 +0,0 @@
{
"status": "error",
"errorType": "bad_data",
"error": "invalid parameter \"start\": cannot parse \"\" to a valid timestamp"
}
-116
View File
@@ -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"
]
]
}
}
]
}
-173
View File
@@ -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"
]
]
}
}
]
}
-39
View File
@@ -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=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
FRAME=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
-47
View File
@@ -1,47 +0,0 @@
{
"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
}
]
}
]
}
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
File diff suppressed because one or more lines are too long
@@ -1,93 +0,0 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "exemplar"
// }
// }
// Name:
// Dimensions: 4 Fields by 2 Rows
// +-----------------------------------+-----------------+------------------+------------------+
// | Name: Time | Name: Value | Name: traceID | Name: ztraceID |
// | Labels: | Labels: | Labels: | Labels: |
// | Type: []time.Time | Type: []float64 | Type: []string | 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": "traceID",
"type": "string",
"typeInfo": {
"frame": "string"
}
},
{
"name": "ztraceID",
"type": "string",
"typeInfo": {
"frame": "string"
}
}
]
},
"data": {
"values": [
[
1600096955479,
1600096965489
],
[
19,
20
],
[
"Olp9XHlq763ccsfa",
""
],
[
"",
"hCtjygkIHwAN9vs4"
]
]
}
}
]
}
@@ -1,23 +0,0 @@
{
"status": "success",
"data": [
{
"exemplars": [
{
"labels": {
"traceID": "Olp9XHlq763ccsfa"
},
"value": "19",
"timestamp": 1600096955.479
},
{
"labels": {
"ztraceID": "hCtjygkIHwAN9vs4"
},
"value": "20",
"timestamp": 1600096965.489
}
]
}
]
}
-156
View File
@@ -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"
]
]
}
}
]
}
-47
View File
@@ -1,47 +0,0 @@
{
"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
}
]
}
]
}
-69
View File
@@ -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"
]
]
}
}
]
}
-26
View File
@@ -1,26 +0,0 @@
{
"status": "success",
"data": [
"__name__",
"call",
"code",
"config",
"dialer_name",
"endpoint",
"event",
"goversion",
"handler",
"instance",
"interval",
"job",
"le",
"listener_name",
"name",
"quantile",
"reason",
"role",
"scrape_job",
"slice",
"version"
]
}
-153
View File
@@ -1,153 +0,0 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "matrix"
// }
// }
// Name:
// Dimensions: 2 Fields by 3 Rows
// +-----------------------------------+--------------------------------------------------------------+
// | Name: Time | Name: Value |
// | Labels: | Labels: __name__=up, instance=localhost:9090, job=prometheus |
// | Type: []time.Time | Type: []float64 |
// +-----------------------------------+--------------------------------------------------------------+
// | 2015-07-01 20:10:30.781 +0000 UTC | 1 |
// | 2015-07-01 20:10:45.781 +0000 UTC | 1 |
// | 2015-07-01 20:11:00.781 +0000 UTC | 1 |
// +-----------------------------------+--------------------------------------------------------------+
//
//
//
// Frame[1] {
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "matrix"
// }
// }
// Name:
// Dimensions: 2 Fields by 3 Rows
// +-----------------------------------+--------------------------------------------------------+
// | Name: Time | Name: Value |
// | Labels: | Labels: __name__=up, instance=localhost:9091, job=node |
// | Type: []time.Time | Type: []float64 |
// +-----------------------------------+--------------------------------------------------------+
// | 2015-07-01 20:10:30.781 +0000 UTC | 0 |
// | 2015-07-01 20:10:45.781 +0000 UTC | 0 |
// | 2015-07-01 20:11:00.781 +0000 UTC | 1 |
// +-----------------------------------+--------------------------------------------------------+
//
//
// 🌟 This was machine generated. Do not edit. 🌟
{
"status": 200,
"frames": [
{
"schema": {
"meta": {
"type": "timeseries-multi",
"typeVersion": [
0,
0
],
"custom": {
"resultType": "matrix"
}
},
"fields": [
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64"
},
"labels": {
"__name__": "up",
"instance": "localhost:9090",
"job": "prometheus"
}
}
]
},
"data": {
"values": [
[
1435781430781,
1435781445781,
1435781460781
],
[
1,
1,
1
]
]
}
},
{
"schema": {
"meta": {
"type": "timeseries-multi",
"typeVersion": [
0,
0
],
"custom": {
"resultType": "matrix"
}
},
"fields": [
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64"
},
"labels": {
"__name__": "up",
"instance": "localhost:9091",
"job": "node"
}
}
]
},
"data": {
"values": [
[
1435781430781,
1435781445781,
1435781460781
],
[
0,
0,
1
]
]
}
}
]
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -1,93 +0,0 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "type": "timeseries-multi",
// "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-multi",
"typeVersion": [
0,
0
],
"custom": {
"resultType": "matrix"
}
},
"fields": [
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64"
},
"labels": {
"handler": "/api/v1/query_range",
"job": "prometheus"
}
}
]
},
"data": {
"values": [
[
1641889530000,
1641889531000,
1641889532000
],
[
null,
null,
null
]
],
"entities": [
null,
{
"NaN": [
1
],
"Inf": [
0
],
"NegInf": [
2
]
}
]
}
}
]
}
-16
View File
@@ -1,16 +0,0 @@
{
"status": "success",
"data": {
"resultType": "matrix",
"result": [
{
"metric": { "handler": "/api/v1/query_range", "job": "prometheus" },
"values": [
[1641889530, "+Inf"],
[1641889531, "NaN"],
[1641889532, "-Inf"]
]
}
]
}
}
-33
View File
@@ -1,33 +0,0 @@
{
"status" : "success",
"data" : {
"resultType" : "matrix",
"result" : [
{
"metric" : {
"__name__" : "up",
"job" : "prometheus",
"instance" : "localhost:9090"
},
"values" : [
[ 1435781430.781, "1" ],
[ 1435781445.781, "1" ],
[ 1435781460.781, "1" ]
]
},
{
"metric" : {
"__name__" : "up",
"job" : "node",
"instance" : "localhost:9091"
},
"values" : [
[ 1435781430.781, "0" ],
[ 1435781445.781, "0" ],
[ 1435781460.781, "1" ]
]
}
]
}
}
-70
View File
@@ -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
]
]
}
}
]
}
-10
View File
@@ -1,10 +0,0 @@
{
"status": "success",
"data": {
"resultType": "scalar",
"result": [
1651680139.104,
"0.00002482"
]
}
}
-68
View File
@@ -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"
]
]
}
}
]
}
-21
View File
@@ -1,21 +0,0 @@
{
"status" : "success",
"data" : [
{
"__name__" : "up",
"job" : "prometheus",
"instance" : "localhost:9090"
},
{
"__name__" : "up",
"job" : "node",
"instance" : "localhost:9091"
},
{
"__name__" : "process_start_time_seconds",
"job" : "prometheus",
"instance" : "localhost:9090"
}
]
}
-70
View File
@@ -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"
]
]
}
}
]
}
-10
View File
@@ -1,10 +0,0 @@
{
"status": "success",
"data": {
"resultType": "string",
"result": [
1651680139.104,
"example"
]
}
}
-363
View File
@@ -1,363 +0,0 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "vector"
// }
// }
// Name:
// Dimensions: 2 Fields by 1 Rows
// +-----------------------------------+--------------------------------------------------------------+
// | Name: Time | Name: Value |
// | Labels: | Labels: __name__=up, instance=localhost:9090, job=prometheus |
// | Type: []time.Time | Type: []float64 |
// +-----------------------------------+--------------------------------------------------------------+
// | 2015-07-01 20:10:51.781 +0000 UTC | 1 |
// +-----------------------------------+--------------------------------------------------------------+
//
//
//
// Frame[1] {
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "vector"
// }
// }
// Name:
// Dimensions: 2 Fields by 1 Rows
// +-----------------------------------+--------------------------------------------------------+
// | Name: Time | Name: Value |
// | Labels: | Labels: __name__=up, instance=localhost:9100, job=node |
// | Type: []time.Time | Type: []float64 |
// +-----------------------------------+--------------------------------------------------------+
// | 2015-07-01 20:10:51.781 +0000 UTC | 0 |
// +-----------------------------------+--------------------------------------------------------+
//
//
//
// Frame[2] {
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "vector"
// }
// }
// Name:
// Dimensions: 2 Fields by 1 Rows
// +-------------------------------+------------------------------------+
// | Name: Time | Name: Value |
// | Labels: | Labels: level=error, location=moon |
// | Type: []time.Time | Type: []float64 |
// +-------------------------------+------------------------------------+
// | 2022-02-16 16:41:39 +0000 UTC | +Inf |
// +-------------------------------+------------------------------------+
//
//
//
// Frame[3] {
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "vector"
// }
// }
// Name:
// Dimensions: 2 Fields by 1 Rows
// +-------------------------------+-----------------------------------+
// | Name: Time | Name: Value |
// | Labels: | Labels: level=info, location=moon |
// | Type: []time.Time | Type: []float64 |
// +-------------------------------+-----------------------------------+
// | 2022-02-16 16:41:39 +0000 UTC | -Inf |
// +-------------------------------+-----------------------------------+
//
//
//
// Frame[4] {
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "vector"
// }
// }
// Name:
// Dimensions: 2 Fields by 1 Rows
// +-------------------------------+------------------------------------+
// | Name: Time | Name: Value |
// | Labels: | Labels: level=debug, location=moon |
// | Type: []time.Time | Type: []float64 |
// +-------------------------------+------------------------------------+
// | 2022-02-16 16:41:39 +0000 UTC | NaN |
// +-------------------------------+------------------------------------+
//
//
// 🌟 This was machine generated. Do not edit. 🌟
{
"status": 200,
"frames": [
{
"schema": {
"meta": {
"type": "timeseries-multi",
"typeVersion": [
0,
0
],
"custom": {
"resultType": "vector"
}
},
"fields": [
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64"
},
"labels": {
"__name__": "up",
"instance": "localhost:9090",
"job": "prometheus"
}
}
]
},
"data": {
"values": [
[
1435781451781
],
[
1
]
]
}
},
{
"schema": {
"meta": {
"type": "timeseries-multi",
"typeVersion": [
0,
0
],
"custom": {
"resultType": "vector"
}
},
"fields": [
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64"
},
"labels": {
"__name__": "up",
"instance": "localhost:9100",
"job": "node"
}
}
]
},
"data": {
"values": [
[
1435781451781
],
[
0
]
]
}
},
{
"schema": {
"meta": {
"type": "timeseries-multi",
"typeVersion": [
0,
0
],
"custom": {
"resultType": "vector"
}
},
"fields": [
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64"
},
"labels": {
"level": "error",
"location": "moon"
}
}
]
},
"data": {
"values": [
[
1645029699000
],
[
null
]
],
"entities": [
null,
{
"Inf": [
0
]
}
]
}
},
{
"schema": {
"meta": {
"type": "timeseries-multi",
"typeVersion": [
0,
0
],
"custom": {
"resultType": "vector"
}
},
"fields": [
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64"
},
"labels": {
"level": "info",
"location": "moon"
}
}
]
},
"data": {
"values": [
[
1645029699000
],
[
null
]
],
"entities": [
null,
{
"NegInf": [
0
]
}
]
}
},
{
"schema": {
"meta": {
"type": "timeseries-multi",
"typeVersion": [
0,
0
],
"custom": {
"resultType": "vector"
}
},
"fields": [
{
"name": "Time",
"type": "time",
"typeInfo": {
"frame": "time.Time"
}
},
{
"name": "Value",
"type": "number",
"typeInfo": {
"frame": "float64"
},
"labels": {
"level": "debug",
"location": "moon"
}
}
]
},
"data": {
"values": [
[
1645029699000
],
[
null
]
],
"entities": [
null,
{
"NaN": [
0
]
}
]
}
}
]
}
@@ -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
]
]
}
}
]
}
@@ -1,824 +0,0 @@
{
"status": "success",
"data": {
"resultType": "vector",
"result": [
{
"metric": {},
"histogram": [
1649967668.042,
{
"count": "316.47719298245624",
"sum": "3.3474505904112015",
"buckets": [
[
0,
"0.000004536465129862675",
"0.000004947050303081549",
"0.13333333333333333"
],
[
0,
"0.000004947050303081549",
"0.000005394796609394436",
"2.0982456140350876"
],
[
0,
"0.000005394796609394436",
"0.000005883067418700946",
"4.224561403508771"
],
[
0,
"0.000005883067418700946",
"0.000006415530511884418",
"4.101754385964911"
],
[
0,
"0.000006415530511884418",
"0.0000069961856323598564",
"3.5438596491228074"
],
[
0,
"0.0000069961856323598564",
"0.00000762939453125",
"3.922807017543859"
],
[
0,
"0.00000762939453125",
"0.000008319913731882154",
"3.8877192982456137"
],
[
0,
"0.000008319913731882154",
"0.00000907293025972535",
"3.480701754385965"
],
[
0,
"0.00000907293025972535",
"0.000009894100606163098",
"3.392982456140351"
],
[
0,
"0.000009894100606163098",
"0.000010789593218788871",
"2.971929824561403"
],
[
0,
"0.000010789593218788871",
"0.000011766134837401892",
"2.028070175438596"
],
[
0,
"0.000011766134837401892",
"0.000012831061023768835",
"1.7087719298245612"
],
[
0,
"0.000012831061023768835",
"0.000013992371264719713",
"1.1614035087719294"
],
[
0,
"0.000013992371264719713",
"0.0000152587890625",
"0.6210526315789473"
],
[
0,
"0.0000152587890625",
"0.000016639827463764308",
"0.42105263157894735"
],
[
0,
"0.000016639827463764308",
"0.0000181458605194507",
"0.3192982456140351"
],
[
0,
"0.0000181458605194507",
"0.000019788201212326197",
"0.21052631578947364"
],
[
0,
"0.000019788201212326197",
"0.000021579186437577742",
"0.16842105263157892"
],
[
0,
"0.000021579186437577742",
"0.000023532269674803783",
"0.1333333333333333"
],
[
0,
"0.000023532269674803783",
"0.00002566212204753767",
"0.09122807017543859"
],
[
0,
"0.00002566212204753767",
"0.000027984742529439426",
"0.08771929824561403"
],
[
0,
"0.000027984742529439426",
"0.000030517578125",
"0.08421052631578947"
],
[
0,
"0.000030517578125",
"0.000033279654927528616",
"0.0631578947368421"
],
[
0,
"0.000033279654927528616",
"0.0000362917210389014",
"0.05964912280701754"
],
[
0,
"0.0000362917210389014",
"0.000039576402424652394",
"0.014035087719298244"
],
[
0,
"0.000039576402424652394",
"0.000043158372875155485",
"0.024561403508771926"
],
[
0,
"0.000043158372875155485",
"0.00004706453934960757",
"0.02456140350877193"
],
[
0,
"0.00004706453934960757",
"0.00005132424409507534",
"0.007017543859649122"
],
[
0,
"0.00005132424409507534",
"0.00005596948505887885",
"0"
],
[
0,
"0.00005596948505887885",
"0.00006103515625",
"0.010526315789473682"
],
[
0,
"0.00006103515625",
"0.00006655930985505723",
"0.003508771929824561"
],
[
0,
"0.00006655930985505723",
"0.0000725834420778028",
"0.003508771929824561"
],
[
0,
"0.00009412907869921513",
"0.00010264848819015068",
"0.003508771929824561"
],
[
0,
"0.00010264848819015068",
"0.0001119389701177577",
"0.003508771929824561"
],
[
0,
"0.0004477558804710308",
"0.00048828125",
"0.003508771929824561"
],
[
0,
"0.00048828125",
"0.0005324744788404579",
"0.007017543859649122"
],
[
0,
"0.0005324744788404579",
"0.0005806675366224224",
"0.007017543859649122"
],
[
0,
"0.0005806675366224224",
"0.0006332224387944383",
"0.03859649122807017"
],
[
0,
"0.0006332224387944383",
"0.0006905339660024878",
"0.07368421052631578"
],
[
0,
"0.0006905339660024878",
"0.0007530326295937211",
"0.04912280701754385"
],
[
0,
"0.0007530326295937211",
"0.0008211879055212055",
"0.09122807017543859"
],
[
0,
"0.0008211879055212055",
"0.0008955117609420616",
"0.03859649122807017"
],
[
0,
"0.0008955117609420616",
"0.0009765625",
"0.02456140350877193"
],
[
0,
"0.0009765625",
"0.0010649489576809157",
"0.017543859649122806"
],
[
0,
"0.0010649489576809157",
"0.0011613350732448448",
"0.031578947368421054"
],
[
0,
"0.0011613350732448448",
"0.0012664448775888766",
"0.06315789473684211"
],
[
0,
"0.0012664448775888766",
"0.0013810679320049755",
"0.10526315789473682"
],
[
0,
"0.0013810679320049755",
"0.0015060652591874421",
"0.11929824561403507"
],
[
0,
"0.0015060652591874421",
"0.001642375811042411",
"0.10877192982456138"
],
[
0,
"0.001642375811042411",
"0.0017910235218841233",
"0.11929824561403507"
],
[
0,
"0.0017910235218841233",
"0.001953125",
"0.19649122807017538"
],
[
0,
"0.001953125",
"0.0021298979153618314",
"0.24561403508771926"
],
[
0,
"0.0021298979153618314",
"0.0023226701464896895",
"0.19999999999999998"
],
[
0,
"0.0023226701464896895",
"0.002532889755177753",
"0.18245614035087715"
],
[
0,
"0.002532889755177753",
"0.002762135864009951",
"0.2771929824561403"
],
[
0,
"0.002762135864009951",
"0.0030121305183748843",
"0.5228070175438596"
],
[
0,
"0.0030121305183748843",
"0.003284751622084822",
"0.663157894736842"
],
[
0,
"0.003284751622084822",
"0.0035820470437682465",
"0.4070175438596491"
],
[
0,
"0.0035820470437682465",
"0.00390625",
"0.4421052631578947"
],
[
0,
"0.00390625",
"0.004259795830723663",
"1.0070175438596491"
],
[
0,
"0.004259795830723663",
"0.004645340292979379",
"1.4210526315789476"
],
[
0,
"0.004645340292979379",
"0.005065779510355506",
"1.3859649122807016"
],
[
0,
"0.005065779510355506",
"0.005524271728019902",
"1.0035087719298246"
],
[
0,
"0.005524271728019902",
"0.0060242610367497685",
"0.8771929824561402"
],
[
0,
"0.0060242610367497685",
"0.006569503244169644",
"8.273684210526316"
],
[
0,
"0.006569503244169644",
"0.007164094087536493",
"32.50877192982456"
],
[
0,
"0.007164094087536493",
"0.0078125",
"57.18245614035087"
],
[
0,
"0.0078125",
"0.008519591661447326",
"53.82105263157894"
],
[
0,
"0.008519591661447326",
"0.009290680585958758",
"39.508771929824555"
],
[
0,
"0.009290680585958758",
"0.010131559020711013",
"22.824561403508767"
],
[
0,
"0.010131559020711013",
"0.011048543456039804",
"11.554385964912282"
],
[
0,
"0.011048543456039804",
"0.012048522073499537",
"6.50877192982456"
],
[
0,
"0.012048522073499537",
"0.013139006488339287",
"4.529824561403507"
],
[
0,
"0.013139006488339287",
"0.014328188175072986",
"3.5298245614035086"
],
[
0,
"0.014328188175072986",
"0.015625",
"2.7438596491228067"
],
[
0,
"0.015625",
"0.01703918332289465",
"2.284210526315789"
],
[
0,
"0.01703918332289465",
"0.018581361171917516",
"1.9192982456140348"
],
[
0,
"0.018581361171917516",
"0.020263118041422026",
"2.028070175438596"
],
[
0,
"0.020263118041422026",
"0.022097086912079608",
"1.9403508771929823"
],
[
0,
"0.022097086912079608",
"0.024097044146999074",
"1.4701754385964911"
],
[
0,
"0.024097044146999074",
"0.026278012976678575",
"1.1964912280701754"
],
[
0,
"0.026278012976678575",
"0.028656376350145972",
"0.9228070175438596"
],
[
0,
"0.028656376350145972",
"0.03125",
"0.8421052631578947"
],
[
0,
"0.03125",
"0.0340783666457893",
"2.8421052631578942"
],
[
0,
"0.0340783666457893",
"0.03716272234383503",
"2.508771929824561"
],
[
0,
"0.03716272234383503",
"0.04052623608284405",
"1.0842105263157893"
],
[
0,
"0.04052623608284405",
"0.044194173824159216",
"0.3473684210526316"
],
[
0,
"0.044194173824159216",
"0.04819408829399815",
"0.2526315789473684"
],
[
0,
"0.04819408829399815",
"0.05255602595335715",
"0.1964912280701754"
],
[
0,
"0.05255602595335715",
"0.057312752700291944",
"0.09473684210526315"
],
[
0,
"0.057312752700291944",
"0.0625",
"0.07017543859649121"
],
[
0,
"0.0625",
"0.0681567332915786",
"0.10526315789473684"
],
[
0,
"0.0681567332915786",
"0.07432544468767006",
"0.07368421052631578"
],
[
0,
"0.07432544468767006",
"0.0810524721656881",
"0.07368421052631577"
],
[
0,
"0.0810524721656881",
"0.08838834764831843",
"0.06666666666666665"
],
[
0,
"0.08838834764831843",
"0.0963881765879963",
"0.04912280701754385"
],
[
0,
"0.0963881765879963",
"0.1051120519067143",
"0.05263157894736841"
],
[
0,
"0.1051120519067143",
"0.11462550540058389",
"0.38947368421052625"
],
[
0,
"0.11462550540058389",
"0.125",
"2.9157894736842103"
],
[
0,
"0.125",
"0.1363134665831572",
"0.5052631578947367"
],
[
0,
"0.1363134665831572",
"0.14865088937534013",
"0.11228070175438594"
],
[
0,
"0.14865088937534013",
"0.1621049443313762",
"0.05263157894736842"
],
[
0,
"0.1621049443313762",
"0.17677669529663687",
"0.04210526315789473"
],
[
0,
"0.17677669529663687",
"0.1927763531759926",
"0.02807017543859649"
],
[
0,
"0.1927763531759926",
"0.2102241038134286",
"0.010526315789473682"
],
[
0,
"0.2102241038134286",
"0.22925101080116778",
"0.010526315789473682"
],
[
0,
"0.22925101080116778",
"0.25",
"0.003508771929824561"
],
[
0,
"0.25",
"0.2726269331663144",
"0.010526315789473682"
],
[
0,
"0.2726269331663144",
"0.29730177875068026",
"0.003508771929824561"
],
[
0,
"0.29730177875068026",
"0.3242098886627524",
"0.007017543859649122"
],
[
0,
"0.3242098886627524",
"0.35355339059327373",
"0.007017543859649122"
],
[
0,
"0.35355339059327373",
"0.3855527063519852",
"0.024561403508771926"
],
[
0,
"0.3855527063519852",
"0.4204482076268572",
"0.017543859649122806"
],
[
0,
"0.4204482076268572",
"0.45850202160233555",
"0.02456140350877193"
],
[
0,
"0.45850202160233555",
"0.5",
"0.04561403508771929"
],
[
0,
"0.5",
"0.5452538663326288",
"0.014035087719298244"
],
[
0,
"0.5452538663326288",
"0.5946035575013605",
"0.021052631578947364"
],
[
0,
"0.5946035575013605",
"0.6484197773255048",
"0.007017543859649122"
],
[
0,
"0.6484197773255048",
"0.7071067811865475",
"0.003508771929824561"
],
[
0,
"0.7071067811865475",
"0.7711054127039704",
"0.003508771929824561"
],
[
0,
"0.7711054127039704",
"0.8408964152537144",
"0.007017543859649122"
],
[
0,
"1",
"1.0905077326652577",
"0.003508771929824561"
],
[
0,
"1.0905077326652577",
"1.189207115002721",
"0.010526315789473682"
],
[
0,
"1.189207115002721",
"1.2968395546510096",
"0.010526315789473682"
],
[
0,
"1.2968395546510096",
"1.414213562373095",
"0.021052631578947368"
],
[
0,
"1.414213562373095",
"1.5422108254079407",
"0.003508771929824561"
],
[
0,
"1.5422108254079407",
"1.6817928305074288",
"0.003508771929824561"
],
[
0,
"1.6817928305074288",
"1.8340080864093422",
"0"
],
[
0,
"1.8340080864093422",
"2",
"0.003508771929824561"
],
[
0,
"2",
"2.1810154653305154",
"0"
],
[
0,
"2.1810154653305154",
"2.378414230005442",
"0"
],
[
0,
"2.378414230005442",
"2.5936791093020193",
"0"
],
[
0,
"2.5936791093020193",
"2.82842712474619",
"0.003508771929824561"
],
[
0,
"2.82842712474619",
"3.0844216508158815",
"0.003508771929824561"
]
]
}
]
}
]
}
}
-36
View File
@@ -1,36 +0,0 @@
{
"status" : "success",
"data" : {
"resultType" : "vector",
"result" : [
{
"metric" : {
"__name__" : "up",
"job" : "prometheus",
"instance" : "localhost:9090"
},
"value": [ 1435781451.781, "1" ]
},
{
"metric" : {
"__name__" : "up",
"job" : "node",
"instance" : "localhost:9100"
},
"value" : [ 1435781451.781, "0" ]
},
{
"metric": { "level": "error", "location": "moon"},
"value": [1645029699, "+Inf"]
},
{
"metric": { "level": "info", "location": "moon" },
"value": [1645029699, "-Inf"]
},
{
"metric": { "level": "debug", "location": "moon" },
"value": [1645029699, "NaN"]
}
]
}
}
-463
View File
@@ -1,463 +0,0 @@
// 🌟 This was machine generated. Do not edit. 🌟
//
// Frame[0] {
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "vector"
// },
// "notices": [
// {
// "severity": "warning",
// "text": "warning 1"
// },
// {
// "severity": "warning",
// "text": "warning 2"
// }
// ]
// }
// Name:
// Dimensions: 2 Fields by 1 Rows
// +-----------------------------------+--------------------------------------------------------------+
// | Name: Time | Name: Value |
// | Labels: | Labels: __name__=up, instance=localhost:9090, job=prometheus |
// | Type: []time.Time | Type: []float64 |
// +-----------------------------------+--------------------------------------------------------------+
// | 2015-07-01 20:10:51.781 +0000 UTC | 1 |
// +-----------------------------------+--------------------------------------------------------------+
//
//
//
// Frame[1] {
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "vector"
// },
// "notices": [
// {
// "severity": "warning",
// "text": "warning 1"
// },
// {
// "severity": "warning",
// "text": "warning 2"
// }
// ]
// }
// Name:
// Dimensions: 2 Fields by 1 Rows
// +-----------------------------------+--------------------------------------------------------+
// | Name: Time | Name: Value |
// | Labels: | Labels: __name__=up, instance=localhost:9100, job=node |
// | Type: []time.Time | Type: []float64 |
// +-----------------------------------+--------------------------------------------------------+
// | 2015-07-01 20:10:51.781 +0000 UTC | 0 |
// +-----------------------------------+--------------------------------------------------------+
//
//
//
// Frame[2] {
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "vector"
// },
// "notices": [
// {
// "severity": "warning",
// "text": "warning 1"
// },
// {
// "severity": "warning",
// "text": "warning 2"
// }
// ]
// }
// Name:
// Dimensions: 2 Fields by 1 Rows
// +-------------------------------+------------------------------------+
// | Name: Time | Name: Value |
// | Labels: | Labels: level=error, location=moon |
// | Type: []time.Time | Type: []float64 |
// +-------------------------------+------------------------------------+
// | 2022-02-16 16:41:39 +0000 UTC | +Inf |
// +-------------------------------+------------------------------------+
//
//
//
// Frame[3] {
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "vector"
// },
// "notices": [
// {
// "severity": "warning",
// "text": "warning 1"
// },
// {
// "severity": "warning",
// "text": "warning 2"
// }
// ]
// }
// Name:
// Dimensions: 2 Fields by 1 Rows
// +-------------------------------+-----------------------------------+
// | Name: Time | Name: Value |
// | Labels: | Labels: level=info, location=moon |
// | Type: []time.Time | Type: []float64 |
// +-------------------------------+-----------------------------------+
// | 2022-02-16 16:41:39 +0000 UTC | -Inf |
// +-------------------------------+-----------------------------------+
//
//
//
// Frame[4] {
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// ],
// "custom": {
// "resultType": "vector"
// },
// "notices": [
// {
// "severity": "warning",
// "text": "warning 1"
// },
// {
// "severity": "warning",
// "text": "warning 2"
// }
// ]
// }
// Name:
// Dimensions: 2 Fields by 1 Rows
// +-------------------------------+------------------------------------+
// | Name: Time | Name: Value |
// | Labels: | Labels: level=debug, location=moon |
// | Type: []time.Time | Type: []float64 |
// +-------------------------------+------------------------------------+
// | 2022-02-16 16:41:39 +0000 UTC | NaN |
// +-------------------------------+------------------------------------+
//
//
// 🌟 This was machine generated. Do not edit. 🌟
{
"status": 200,
"frames": [
{
"schema": {
"meta": {
"type": "timeseries-multi",
"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"
},
"labels": {
"__name__": "up",
"instance": "localhost:9090",
"job": "prometheus"
}
}
]
},
"data": {
"values": [
[
1435781451781
],
[
1
]
]
}
},
{
"schema": {
"meta": {
"type": "timeseries-multi",
"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"
},
"labels": {
"__name__": "up",
"instance": "localhost:9100",
"job": "node"
}
}
]
},
"data": {
"values": [
[
1435781451781
],
[
0
]
]
}
},
{
"schema": {
"meta": {
"type": "timeseries-multi",
"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"
},
"labels": {
"level": "error",
"location": "moon"
}
}
]
},
"data": {
"values": [
[
1645029699000
],
[
null
]
],
"entities": [
null,
{
"Inf": [
0
]
}
]
}
},
{
"schema": {
"meta": {
"type": "timeseries-multi",
"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"
},
"labels": {
"level": "info",
"location": "moon"
}
}
]
},
"data": {
"values": [
[
1645029699000
],
[
null
]
],
"entities": [
null,
{
"NegInf": [
0
]
}
]
}
},
{
"schema": {
"meta": {
"type": "timeseries-multi",
"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"
},
"labels": {
"level": "debug",
"location": "moon"
}
}
]
},
"data": {
"values": [
[
1645029699000
],
[
null
]
],
"entities": [
null,
{
"NaN": [
0
]
}
]
}
}
]
}
-37
View File
@@ -1,37 +0,0 @@
{
"status" : "success",
"data" : {
"resultType" : "vector",
"result" : [
{
"metric" : {
"__name__" : "up",
"job" : "prometheus",
"instance" : "localhost:9090"
},
"value": [ 1435781451.781, "1" ]
},
{
"metric" : {
"__name__" : "up",
"job" : "node",
"instance" : "localhost:9100"
},
"value" : [ 1435781451.781, "0" ]
},
{
"metric": { "level": "error", "location": "moon"},
"value": [1645029699, "+Inf"]
},
{
"metric": { "level": "info", "location": "moon" },
"value": [1645029699, "-Inf"]
},
{
"metric": { "level": "debug", "location": "moon" },
"value": [1645029699, "NaN"]
}
]
},
"warnings" : ["warning 1", "warning 2"]
}