Prometheus: Add flag to compare streaming and buffered responses (#51711)
* Add flag to compare streaming and buffered * Move log * Fix lint * Fix tests * Remove debug logs
This commit is contained in:
+10
-11
@@ -9,15 +9,15 @@
|
||||
// }
|
||||
// Name: 1 / 0
|
||||
// Dimensions: 2 Fields by 3 Rows
|
||||
// +-------------------------------+------------------+
|
||||
// | Name: Time | Name: Value |
|
||||
// | Labels: | Labels: |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// +-------------------------------+------------------+
|
||||
// | 2022-01-11 08:25:30 +0000 UTC | +Inf |
|
||||
// | 2022-01-11 08:25:31 +0000 UTC | +Inf |
|
||||
// | 2022-01-11 08:25:32 +0000 UTC | +Inf |
|
||||
// +-------------------------------+------------------+
|
||||
// +-------------------------------+-----------------+
|
||||
// | Name: Time | Name: Value |
|
||||
// | Labels: | Labels: |
|
||||
// | Type: []time.Time | Type: []float64 |
|
||||
// +-------------------------------+-----------------+
|
||||
// | 2022-01-11 08:25:30 +0000 UTC | +Inf |
|
||||
// | 2022-01-11 08:25:31 +0000 UTC | +Inf |
|
||||
// | 2022-01-11 08:25:32 +0000 UTC | +Inf |
|
||||
// +-------------------------------+-----------------+
|
||||
//
|
||||
//
|
||||
// 🌟 This was machine generated. Do not edit. 🌟
|
||||
@@ -48,8 +48,7 @@
|
||||
"name": "Value",
|
||||
"type": "number",
|
||||
"typeInfo": {
|
||||
"frame": "float64",
|
||||
"nullable": true
|
||||
"frame": "float64"
|
||||
},
|
||||
"labels": {},
|
||||
"config": {
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
// +-------------------------------+------------------------------------------------+
|
||||
// | Name: Time | Name: Value |
|
||||
// | Labels: | Labels: __name__=go_goroutines, job=prometheus |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// | Type: []time.Time | Type: []float64 |
|
||||
// +-------------------------------+------------------------------------------------+
|
||||
// | 2022-01-11 08:25:33 +0000 UTC | 21 |
|
||||
// | 2022-01-11 08:25:34 +0000 UTC | 32 |
|
||||
@@ -48,8 +48,7 @@
|
||||
"name": "Value",
|
||||
"type": "number",
|
||||
"typeInfo": {
|
||||
"frame": "float64",
|
||||
"nullable": true
|
||||
"frame": "float64"
|
||||
},
|
||||
"labels": {
|
||||
"__name__": "go_goroutines",
|
||||
|
||||
@@ -12,11 +12,11 @@
|
||||
// +-------------------------------+-----------------------------------------------------+
|
||||
// | Name: Time | Name: Value |
|
||||
// | Labels: | Labels: handler=/api/v1/query_range, job=prometheus |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// | Type: []time.Time | Type: []float64 |
|
||||
// +-------------------------------+-----------------------------------------------------+
|
||||
// | 2022-01-11 08:25:30 +0000 UTC | null |
|
||||
// | 2022-01-11 08:25:31 +0000 UTC | null |
|
||||
// | 2022-01-11 08:25:32 +0000 UTC | null |
|
||||
// | 2022-01-11 08:25:30 +0000 UTC | 0 |
|
||||
// | 2022-01-11 08:25:31 +0000 UTC | 0 |
|
||||
// | 2022-01-11 08:25:32 +0000 UTC | 0 |
|
||||
// +-------------------------------+-----------------------------------------------------+
|
||||
//
|
||||
//
|
||||
@@ -48,8 +48,7 @@
|
||||
"name": "Value",
|
||||
"type": "number",
|
||||
"typeInfo": {
|
||||
"frame": "float64",
|
||||
"nullable": true
|
||||
"frame": "float64"
|
||||
},
|
||||
"labels": {
|
||||
"handler": "/api/v1/query_range",
|
||||
@@ -69,9 +68,9 @@
|
||||
1641889532000
|
||||
],
|
||||
[
|
||||
null,
|
||||
null,
|
||||
null
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
]
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
// +-----------------------------------+--------------------------------------------------------------------------------------------------------+
|
||||
// | Name: Time | Name: Value |
|
||||
// | Labels: | Labels: __name__=prometheus_http_requests_total, code=200, handler=/api/v1/query_range, job=prometheus |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// | Type: []time.Time | Type: []float64 |
|
||||
// +-----------------------------------+--------------------------------------------------------------------------------------------------------+
|
||||
// | 2022-01-11 08:25:30.123 +0000 UTC | 21 |
|
||||
// | 2022-01-11 08:25:31.123 +0000 UTC | 32 |
|
||||
@@ -33,7 +33,7 @@
|
||||
// +-----------------------------------+--------------------------------------------------------------------------------------------------------+
|
||||
// | Name: Time | Name: Value |
|
||||
// | Labels: | Labels: __name__=prometheus_http_requests_total, code=400, handler=/api/v1/query_range, job=prometheus |
|
||||
// | Type: []time.Time | Type: []*float64 |
|
||||
// | Type: []time.Time | Type: []float64 |
|
||||
// +-----------------------------------+--------------------------------------------------------------------------------------------------------+
|
||||
// | 2022-01-11 08:25:29.123 +0000 UTC | 54 |
|
||||
// | 2022-01-11 08:25:32.123 +0000 UTC | 76 |
|
||||
@@ -68,8 +68,7 @@
|
||||
"name": "Value",
|
||||
"type": "number",
|
||||
"typeInfo": {
|
||||
"frame": "float64",
|
||||
"nullable": true
|
||||
"frame": "float64"
|
||||
},
|
||||
"labels": {
|
||||
"__name__": "prometheus_http_requests_total",
|
||||
@@ -123,8 +122,7 @@
|
||||
"name": "Value",
|
||||
"type": "number",
|
||||
"typeInfo": {
|
||||
"frame": "float64",
|
||||
"nullable": true
|
||||
"frame": "float64"
|
||||
},
|
||||
"labels": {
|
||||
"__name__": "prometheus_http_requests_total",
|
||||
|
||||
Reference in New Issue
Block a user