Feature toggles: add expression to generated json and k8s response (#90006)

This commit is contained in:
Stephanie Hingtgen 2024-07-03 12:08:58 -06:00 committed by GitHub
parent 48552a578a
commit 2d5c58cb90
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 326 additions and 138 deletions

View File

@ -46,6 +46,9 @@ type FeatureSpec struct {
// Do not show the value in docs
HideFromDocs bool `json:"hideFromDocs,omitempty"`
// Expression to determine if the flag is enabled by default
Expression string `json:"expression,omitempty"`
}
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

View File

@ -145,15 +145,19 @@
{
"metadata": {
"name": "alertingInsights",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-09-14T12:58:04Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-09-14T12:58:04Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Show the new alerting insights landing page",
"stage": "GA",
"codeowner": "@grafana/alerting-squad",
"frontend": true,
"hideFromAdminPage": true
"hideFromAdminPage": true,
"expression": "true"
}
},
{
@ -172,14 +176,18 @@
{
"metadata": {
"name": "alertingNoDataErrorExecution",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-08-15T14:27:15Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-08-15T14:27:15Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Changes how Alerting state manager handles execution of NoData/Error",
"stage": "GA",
"codeowner": "@grafana/alerting-squad",
"requiresRestart": true
"requiresRestart": true,
"expression": "true"
}
},
{
@ -198,13 +206,17 @@
{
"metadata": {
"name": "alertingQueryOptimization",
"resourceVersion": "1718727528075",
"creationTimestamp": "2024-01-10T20:52:58Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2024-01-10T20:52:58Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Optimizes eligible queries in order to reduce load on datasources",
"stage": "GA",
"codeowner": "@grafana/alerting-squad"
"codeowner": "@grafana/alerting-squad",
"expression": "false"
}
},
{
@ -222,13 +234,17 @@
{
"metadata": {
"name": "alertingSimplifiedRouting",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-11-10T13:14:39Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-11-10T13:14:39Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Enables users to easily configure alert notifications by specifying a contact point directly when editing or creating an alert rule",
"stage": "GA",
"codeowner": "@grafana/alerting-squad"
"codeowner": "@grafana/alerting-squad",
"expression": "true"
}
},
{
@ -270,26 +286,34 @@
{
"metadata": {
"name": "angularDeprecationUI",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-08-29T14:05:47Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-08-29T14:05:47Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Display Angular warnings in dashboards and panels",
"stage": "GA",
"codeowner": "@grafana/plugins-platform-backend",
"frontend": true
"frontend": true,
"expression": "true"
}
},
{
"metadata": {
"name": "annotationPermissionUpdate",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-10-31T13:30:13Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-10-31T13:30:13Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Change the way annotation permissions work by scoping them to folders and dashboards.",
"stage": "GA",
"codeowner": "@grafana/identity-access-team"
"codeowner": "@grafana/identity-access-team",
"expression": "true"
}
},
{
@ -427,26 +451,34 @@
{
"metadata": {
"name": "awsAsyncQueryCaching",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-07-21T15:34:07Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-07-21T15:34:07Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Enable caching for async queries for Redshift and Athena. Requires that the datasource has caching and async query support enabled",
"stage": "GA",
"codeowner": "@grafana/aws-datasources"
"codeowner": "@grafana/aws-datasources",
"expression": "true"
}
},
{
"metadata": {
"name": "awsDatasourcesNewFormStyling",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-10-12T08:59:10Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-10-12T08:59:10Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Applies new form styling for configuration and query editors in AWS plugins",
"stage": "GA",
"codeowner": "@grafana/aws-datasources",
"frontend": true
"frontend": true,
"expression": "true"
}
},
{
@ -476,8 +508,11 @@
{
"metadata": {
"name": "bodyScrolling",
"resourceVersion": "1719825052257",
"creationTimestamp": "2024-07-01T09:10:52Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2024-07-01T09:10:52Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Adjusts Page to make body the scrollable element",
@ -485,7 +520,8 @@
"codeowner": "@grafana/grafana-frontend-platform",
"frontend": true,
"hideFromAdminPage": true,
"hideFromDocs": true
"hideFromDocs": true,
"expression": "false"
}
},
{
@ -556,38 +592,50 @@
{
"metadata": {
"name": "cloudWatchCrossAccountQuerying",
"resourceVersion": "1718727528075",
"creationTimestamp": "2022-11-28T11:39:12Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2022-11-28T11:39:12Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Enables cross-account querying in CloudWatch datasources",
"stage": "GA",
"codeowner": "@grafana/aws-datasources",
"allowSelfServe": true
"allowSelfServe": true,
"expression": "true"
}
},
{
"metadata": {
"name": "cloudWatchNewLabelParsing",
"resourceVersion": "1718727528075",
"creationTimestamp": "2024-04-05T15:57:56Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2024-04-05T15:57:56Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Updates CloudWatch label parsing to be more accurate",
"stage": "GA",
"codeowner": "@grafana/aws-datasources"
"codeowner": "@grafana/aws-datasources",
"expression": "true"
}
},
{
"metadata": {
"name": "cloudWatchRoundUpEndTime",
"resourceVersion": "1719324143210",
"creationTimestamp": "2024-06-25T14:02:23Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2024-06-25T14:02:23Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Round up end time for metric queries to the next minute to avoid missing data",
"stage": "GA",
"codeowner": "@grafana/aws-datasources"
"codeowner": "@grafana/aws-datasources",
"expression": "true"
}
},
{
@ -620,14 +668,18 @@
{
"metadata": {
"name": "correlations",
"resourceVersion": "1718727528075",
"creationTimestamp": "2022-09-16T13:14:27Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2022-09-16T13:14:27Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Correlations page",
"stage": "GA",
"codeowner": "@grafana/explore-squad",
"allowSelfServe": true
"allowSelfServe": true,
"expression": "true"
}
},
{
@ -649,13 +701,17 @@
{
"metadata": {
"name": "dashboardRestoreUI",
"resourceVersion": "1719321338253",
"creationTimestamp": "2024-06-25T13:15:38Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2024-06-25T13:15:38Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Enables the frontend to be able to restore a recently deleted dashboard",
"stage": "experimental",
"codeowner": "@grafana/grafana-frontend-platform"
"codeowner": "@grafana/grafana-frontend-platform",
"expression": "false"
}
},
{
@ -700,53 +756,69 @@
{
"metadata": {
"name": "dashgpt",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-08-30T20:22:05Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-08-30T20:22:05Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Enable AI powered features in dashboards",
"stage": "GA",
"codeowner": "@grafana/dashboards-squad",
"frontend": true
"frontend": true,
"expression": "true"
}
},
{
"metadata": {
"name": "databaseReadReplica",
"resourceVersion": "1718727528075",
"creationTimestamp": "2024-06-18T16:18:48Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2024-06-18T16:18:48Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Use a read replica for some database queries.",
"stage": "experimental",
"codeowner": "@grafana/grafana-backend-services-squad"
"codeowner": "@grafana/grafana-backend-services-squad",
"expression": "false"
}
},
{
"metadata": {
"name": "dataplaneFrontendFallback",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-04-07T21:13:19Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-04-07T21:13:19Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Support dataplane contract field name change for transformations and field name matchers where the name is different",
"stage": "GA",
"codeowner": "@grafana/observability-metrics",
"frontend": true,
"allowSelfServe": true
"allowSelfServe": true,
"expression": "true"
}
},
{
"metadata": {
"name": "datasourceProxyDisableRBAC",
"resourceVersion": "1718727528075",
"creationTimestamp": "2024-05-21T13:05:16Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2024-05-21T13:05:16Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Disables applying a plugin route's ReqAction field to authorization",
"stage": "GA",
"codeowner": "@grafana/identity-access-team",
"hideFromDocs": true
"hideFromDocs": true,
"expression": "false"
}
},
{
@ -805,14 +877,18 @@
{
"metadata": {
"name": "disableEnvelopeEncryption",
"resourceVersion": "1718727528075",
"creationTimestamp": "2022-05-24T08:34:47Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2022-05-24T08:34:47Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Disable envelope encryption (emergency only)",
"stage": "GA",
"codeowner": "@grafana/grafana-as-code",
"hideFromAdminPage": true
"hideFromAdminPage": true,
"expression": "false"
}
},
{
@ -911,14 +987,18 @@
{
"metadata": {
"name": "exploreMetrics",
"resourceVersion": "1718727528075",
"creationTimestamp": "2024-04-09T18:15:18Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2024-04-09T18:15:18Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Enables the new Explore Metrics core app",
"stage": "GA",
"codeowner": "@grafana/dashboards-squad",
"frontend": true
"frontend": true,
"expression": "true"
}
},
{
@ -1013,14 +1093,18 @@
{
"metadata": {
"name": "featureHighlights",
"resourceVersion": "1718727528075",
"creationTimestamp": "2022-02-03T11:53:23Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2022-02-03T11:53:23Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Highlight Grafana Enterprise features",
"stage": "GA",
"codeowner": "@grafana/grafana-as-code",
"allowSelfServe": true
"allowSelfServe": true,
"expression": "false"
}
},
{
@ -1185,15 +1269,19 @@
{
"metadata": {
"name": "influxdbBackendMigration",
"resourceVersion": "1718727528075",
"resourceVersion": "1720021873452",
"creationTimestamp": "2022-02-09T18:26:16Z",
"deletionTimestamp": "2023-01-17T14:11:26Z"
"deletionTimestamp": "2023-01-17T14:11:26Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Query InfluxDB InfluxQL without the proxy",
"stage": "GA",
"codeowner": "@grafana/observability-metrics",
"frontend": true
"frontend": true,
"expression": "true"
}
},
{
@ -1277,14 +1365,18 @@
{
"metadata": {
"name": "kubernetesPlaylists",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-10-05T19:00:36Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-10-05T19:00:36Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Use the kubernetes API in the frontend for playlists, and route /api/playlist requests to k8s",
"stage": "GA",
"codeowner": "@grafana/grafana-app-platform-squad",
"requiresRestart": true
"requiresRestart": true,
"expression": "true"
}
},
{
@ -1341,28 +1433,36 @@
{
"metadata": {
"name": "logRowsPopoverMenu",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-11-16T09:48:10Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-11-16T09:48:10Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Enable filtering menu displayed when text of a log line is selected",
"stage": "GA",
"codeowner": "@grafana/observability-logs",
"frontend": true
"frontend": true,
"expression": "true"
}
},
{
"metadata": {
"name": "logsContextDatasourceUi",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-01-27T14:12:01Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-01-27T14:12:01Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Allow datasource to provide custom UI for context view",
"stage": "GA",
"codeowner": "@grafana/observability-logs",
"frontend": true,
"allowSelfServe": true
"allowSelfServe": true,
"expression": "true"
}
},
{
@ -1381,27 +1481,35 @@
{
"metadata": {
"name": "logsExploreTableVisualisation",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-07-12T13:52:42Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-07-12T13:52:42Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "A table visualisation for logs in Explore",
"stage": "GA",
"codeowner": "@grafana/observability-logs",
"frontend": true
"frontend": true,
"expression": "true"
}
},
{
"metadata": {
"name": "logsInfiniteScrolling",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-11-09T10:54:03Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-11-09T10:54:03Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Enables infinite scrolling for the Logs panel in Explore and Dashboards",
"stage": "GA",
"codeowner": "@grafana/observability-logs",
"frontend": true
"frontend": true,
"expression": "true"
}
},
{
@ -1431,14 +1539,18 @@
{
"metadata": {
"name": "lokiMetricDataplane",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-04-13T13:07:08Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-04-13T13:07:08Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Changes metric responses from Loki to be compliant with the dataplane specification.",
"stage": "GA",
"codeowner": "@grafana/observability-logs",
"allowSelfServe": true
"allowSelfServe": true,
"expression": "true"
}
},
{
@ -1457,28 +1569,36 @@
{
"metadata": {
"name": "lokiQueryHints",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-12-18T20:43:16Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-12-18T20:43:16Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Enables query hints for Loki",
"stage": "GA",
"codeowner": "@grafana/observability-logs",
"frontend": true
"frontend": true,
"expression": "true"
}
},
{
"metadata": {
"name": "lokiQuerySplitting",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-02-09T17:27:02Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-02-09T17:27:02Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Split large interval queries into subqueries with smaller time intervals",
"stage": "GA",
"codeowner": "@grafana/observability-logs",
"frontend": true,
"allowSelfServe": true
"allowSelfServe": true,
"expression": "true"
}
},
{
@ -1509,25 +1629,33 @@
{
"metadata": {
"name": "lokiStructuredMetadata",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-11-16T16:06:14Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-11-16T16:06:14Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Enables the loki data source to request structured metadata from the Loki server",
"stage": "GA",
"codeowner": "@grafana/observability-logs"
"codeowner": "@grafana/observability-logs",
"expression": "true"
}
},
{
"metadata": {
"name": "managedPluginsInstall",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-10-18T13:17:03Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-10-18T13:17:03Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Install managed plugins directly from plugins catalog",
"stage": "GA",
"codeowner": "@grafana/plugins-platform-backend"
"codeowner": "@grafana/plugins-platform-backend",
"expression": "true"
}
},
{
@ -1570,13 +1698,17 @@
{
"metadata": {
"name": "nestedFolders",
"resourceVersion": "1718727528075",
"creationTimestamp": "2022-10-26T14:15:14Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2022-10-26T14:15:14Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Enable folder nesting",
"stage": "GA",
"codeowner": "@grafana/search-and-storage"
"codeowner": "@grafana/search-and-storage",
"expression": "true"
}
},
{
@ -1711,14 +1843,18 @@
{
"metadata": {
"name": "panelMonitoring",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-10-09T05:19:08Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-10-09T05:19:08Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Enables panel monitoring through logs and measurements",
"stage": "GA",
"codeowner": "@grafana/dataviz-squad",
"frontend": true
"frontend": true,
"expression": "true"
}
},
{
@ -1800,13 +1936,17 @@
{
"metadata": {
"name": "pluginProxyPreserveTrailingSlash",
"resourceVersion": "1718727528075",
"creationTimestamp": "2024-06-05T11:36:14Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2024-06-05T11:36:14Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Preserve plugin proxy trailing slash.",
"stage": "GA",
"codeowner": "@grafana/plugins-platform-backend"
"codeowner": "@grafana/plugins-platform-backend",
"expression": "false"
}
},
{
@ -1889,26 +2029,34 @@
{
"metadata": {
"name": "prometheusConfigOverhaulAuth",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-07-26T16:09:53Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-07-26T16:09:53Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Update the Prometheus configuration page with the new auth component",
"stage": "GA",
"codeowner": "@grafana/observability-metrics"
"codeowner": "@grafana/observability-metrics",
"expression": "true"
}
},
{
"metadata": {
"name": "prometheusDataplane",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-03-29T15:26:32Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-03-29T15:26:32Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Changes responses to from Prometheus to be compliant with the dataplane specification. In particular, when this feature toggle is active, the numeric `Field.Name` is set from 'Value' to the value of the `__name__` label.",
"stage": "GA",
"codeowner": "@grafana/observability-metrics",
"allowSelfServe": true
"allowSelfServe": true,
"expression": "true"
}
},
{
@ -1928,15 +2076,19 @@
{
"metadata": {
"name": "prometheusMetricEncyclopedia",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-03-07T18:41:05Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-03-07T18:41:05Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Adds the metrics explorer component to the Prometheus query builder as an option in metric select",
"stage": "GA",
"codeowner": "@grafana/observability-metrics",
"frontend": true,
"allowSelfServe": true
"allowSelfServe": true,
"expression": "true"
}
},
{
@ -1955,14 +2107,18 @@
{
"metadata": {
"name": "publicDashboards",
"resourceVersion": "1718727528075",
"creationTimestamp": "2022-04-07T18:30:19Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2022-04-07T18:30:19Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "[Deprecated] Public dashboards are now enabled by default; to disable them, use the configuration setting. This feature toggle will be removed in the next major version.",
"stage": "GA",
"codeowner": "@grafana/sharing-squad",
"allowSelfServe": true
"allowSelfServe": true,
"expression": "true"
}
},
{
@ -2060,26 +2216,34 @@
{
"metadata": {
"name": "recordedQueriesMulti",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-06-14T12:34:22Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-06-14T12:34:22Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Enables writing multiple items from a single query within Recorded Queries",
"stage": "GA",
"codeowner": "@grafana/observability-metrics"
"codeowner": "@grafana/observability-metrics",
"expression": "true"
}
},
{
"metadata": {
"name": "recoveryThreshold",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-10-10T14:51:50Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-10-10T14:51:50Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Enables feature recovery threshold (aka hysteresis) for threshold server-side expression",
"stage": "GA",
"codeowner": "@grafana/alerting-squad",
"requiresRestart": true
"requiresRestart": true,
"expression": "true"
}
},
{
@ -2215,14 +2379,18 @@
{
"metadata": {
"name": "ssoSettingsApi",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-11-08T09:50:01Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-11-08T09:50:01Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Enables the SSO settings API and the OAuth configuration UIs in Grafana",
"stage": "GA",
"codeowner": "@grafana/identity-access-team",
"allowSelfServe": true
"allowSelfServe": true,
"expression": "true"
}
},
{
@ -2305,53 +2473,69 @@
{
"metadata": {
"name": "topnav",
"resourceVersion": "1718727528075",
"creationTimestamp": "2022-06-20T14:25:43Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2022-06-20T14:25:43Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Enables topnav support in external plugins. The new Grafana navigation cannot be disabled.",
"stage": "deprecated",
"codeowner": "@grafana/grafana-frontend-platform"
"codeowner": "@grafana/grafana-frontend-platform",
"expression": "true"
}
},
{
"metadata": {
"name": "traceQLStreaming",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-07-26T13:33:16Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-07-26T13:33:16Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Enables response streaming of TraceQL queries of the Tempo data source",
"stage": "GA",
"codeowner": "@grafana/observability-traces-and-profiling",
"frontend": true
"frontend": true,
"expression": "false"
}
},
{
"metadata": {
"name": "transformationsRedesign",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-07-12T16:35:49Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-07-12T16:35:49Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Enables the transformations redesign",
"stage": "GA",
"codeowner": "@grafana/observability-metrics",
"frontend": true,
"allowSelfServe": true
"allowSelfServe": true,
"expression": "true"
}
},
{
"metadata": {
"name": "transformationsVariableSupport",
"resourceVersion": "1718727528075",
"creationTimestamp": "2023-10-04T14:28:46Z"
"resourceVersion": "1720021873452",
"creationTimestamp": "2023-10-04T14:28:46Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-03 15:51:13.452477 +0000 UTC"
}
},
"spec": {
"description": "Allows using variables in transformations",
"stage": "GA",
"codeowner": "@grafana/dataviz-squad",
"frontend": true
"frontend": true,
"expression": "true"
}
},
{

View File

@ -59,6 +59,7 @@ func TestFeatureToggleFiles(t *testing.T) {
AllowSelfServe: flag.AllowSelfServe,
HideFromAdminPage: flag.HideFromAdminPage,
HideFromDocs: flag.HideFromDocs,
Expression: flag.Expression,
// EnabledVersion: ???,
}