Prometheus/Promlib: Remove the PrometheusDataplane feature so always enabled (#92218)

This has been default behavior since v10

---------

Co-authored-by: Brendan O'Handley <brendan.ohandley@grafana.com>
This commit is contained in:
Kyle Brandt
2024-08-26 08:53:38 -04:00
committed by GitHub
parent fa95eb8c02
commit 84e5c3af22
17 changed files with 106 additions and 138 deletions
+3 -4
View File
@@ -4,14 +4,14 @@
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// 1
// ],
// "custom": {
// "resultType": "matrix"
// },
// "executedQueryString": "Expr: histogram_quantile(0.95, sum(rate(tns_request_duration_seconds_bucket[4s])) by (le))\nStep: 1s"
// }
// Name: histogram_quantile(0.95, sum(rate(tns_request_duration_seconds_bucket[4s])) by (le))
// Name:
// Dimensions: 2 Fields by 301 Rows
// +-----------------------------------+----------------------+
// | Name: Time | Name: Value |
@@ -37,12 +37,11 @@
"frames": [
{
"schema": {
"name": "histogram_quantile(0.95, sum(rate(tns_request_duration_seconds_bucket[4s])) by (le))",
"meta": {
"type": "timeseries-multi",
"typeVersion": [
0,
0
1
],
"custom": {
"resultType": "matrix"
+3 -4
View File
@@ -4,14 +4,14 @@
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// 1
// ],
// "custom": {
// "resultType": "matrix"
// },
// "executedQueryString": "Expr: 1 / 0\nStep: 1s"
// }
// Name: 1 / 0
// Name:
// Dimensions: 2 Fields by 3 Rows
// +-------------------------------+-----------------+
// | Name: Time | Name: Value |
@@ -30,12 +30,11 @@
"frames": [
{
"schema": {
"name": "1 / 0",
"meta": {
"type": "timeseries-multi",
"typeVersion": [
0,
0
1
],
"custom": {
"resultType": "matrix"
+5 -6
View File
@@ -4,17 +4,17 @@
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// 1
// ],
// "custom": {
// "resultType": "matrix"
// },
// "executedQueryString": "Expr: test1\nStep: 1s"
// }
// Name: go_goroutines{job="prometheus"}
// Name:
// Dimensions: 2 Fields by 3 Rows
// +-------------------------------+------------------------------------------------+
// | Name: Time | Name: Value |
// | Name: Time | Name: go_goroutines |
// | Labels: | Labels: __name__=go_goroutines, job=prometheus |
// | Type: []time.Time | Type: []float64 |
// +-------------------------------+------------------------------------------------+
@@ -30,12 +30,11 @@
"frames": [
{
"schema": {
"name": "go_goroutines{job=\"prometheus\"}",
"meta": {
"type": "timeseries-multi",
"typeVersion": [
0,
0
1
],
"custom": {
"resultType": "matrix"
@@ -54,7 +53,7 @@
}
},
{
"name": "Value",
"name": "go_goroutines",
"type": "number",
"typeInfo": {
"frame": "float64"
+3 -4
View File
@@ -4,14 +4,14 @@
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// 1
// ],
// "custom": {
// "resultType": "matrix"
// },
// "executedQueryString": "Expr: \nStep: 1s"
// }
// Name: {handler="/api/v1/query_range", job="prometheus"}
// Name:
// Dimensions: 2 Fields by 3 Rows
// +-------------------------------+-----------------------------------------------------+
// | Name: Time | Name: Value |
@@ -30,12 +30,11 @@
"frames": [
{
"schema": {
"name": "{handler=\"/api/v1/query_range\", job=\"prometheus\"}",
"meta": {
"type": "timeseries-multi",
"typeVersion": [
0,
0
1
],
"custom": {
"resultType": "matrix"
+10 -12
View File
@@ -4,17 +4,17 @@
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// 1
// ],
// "custom": {
// "resultType": "matrix"
// },
// "executedQueryString": "Expr: \nStep: 1s"
// }
// Name: prometheus_http_requests_total{code="200", handler="/api/v1/query_range", job="prometheus"}
// Name:
// Dimensions: 2 Fields by 3 Rows
// +-----------------------------------+--------------------------------------------------------------------------------------------------------+
// | Name: Time | Name: Value |
// | Name: Time | Name: prometheus_http_requests_total |
// | Labels: | Labels: __name__=prometheus_http_requests_total, code=200, handler=/api/v1/query_range, job=prometheus |
// | Type: []time.Time | Type: []float64 |
// +-----------------------------------+--------------------------------------------------------------------------------------------------------+
@@ -29,16 +29,16 @@
// "type": "timeseries-multi",
// "typeVersion": [
// 0,
// 0
// 1
// ],
// "custom": {
// "resultType": "matrix"
// }
// }
// Name: prometheus_http_requests_total{code="400", handler="/api/v1/query_range", job="prometheus"}
// Name:
// Dimensions: 2 Fields by 2 Rows
// +-----------------------------------+--------------------------------------------------------------------------------------------------------+
// | Name: Time | Name: Value |
// | Name: Time | Name: prometheus_http_requests_total |
// | Labels: | Labels: __name__=prometheus_http_requests_total, code=400, handler=/api/v1/query_range, job=prometheus |
// | Type: []time.Time | Type: []float64 |
// +-----------------------------------+--------------------------------------------------------------------------------------------------------+
@@ -53,12 +53,11 @@
"frames": [
{
"schema": {
"name": "prometheus_http_requests_total{code=\"200\", handler=\"/api/v1/query_range\", job=\"prometheus\"}",
"meta": {
"type": "timeseries-multi",
"typeVersion": [
0,
0
1
],
"custom": {
"resultType": "matrix"
@@ -77,7 +76,7 @@
}
},
{
"name": "Value",
"name": "prometheus_http_requests_total",
"type": "number",
"typeInfo": {
"frame": "float64"
@@ -111,12 +110,11 @@
},
{
"schema": {
"name": "prometheus_http_requests_total{code=\"400\", handler=\"/api/v1/query_range\", job=\"prometheus\"}",
"meta": {
"type": "timeseries-multi",
"typeVersion": [
0,
0
1
],
"custom": {
"resultType": "matrix"
@@ -134,7 +132,7 @@
}
},
{
"name": "Value",
"name": "prometheus_http_requests_total",
"type": "number",
"typeInfo": {
"frame": "float64"