Prometheus: Use the frontend package in Prometheus and remove feature toggle (#86080)

* add history links for monaco completion provider folder

* add history links for monaco query field folder

* add history links for components folder

* add history links for configuration folder

* add history links for dashboard json folder

* add history links for gcopypaste folder

* add history link for variableMigration

* add history link for querybuilder/components/metrics-modal folder

* add history link for querybuilder/components/promqail folder

* add history links for querybuilder/components folder

* add history links for querybuilder/hooks folder

* add history links for querybuilder/shared folder

* add history links for querybuilder folder

* add history links for querycache folder

* add history links for src folder

* use frontend package and custom auth in module.ts

* remove files and fix import issues

* remove usePrometheusFrontendPackage

* remove extra files

* update betterer

* remove extra files after rebase

* fix betterer for rebase

* fix e2e flakiness
This commit is contained in:
Brendan O'Handley
2024-04-15 16:45:23 -05:00
committed by GitHub
parent c9350a25c4
commit f85470d652
344 changed files with 193 additions and 30015 deletions

View File

@@ -1164,13 +1164,6 @@ var (
HideFromDocs: true,
HideFromAdminPage: true,
},
{
Name: "usePrometheusFrontendPackage",
Description: "Use the @grafana/prometheus frontend package in core Prometheus.",
Stage: FeatureStageGeneralAvailability,
FrontendOnly: true,
Owner: grafanaObservabilityMetricsSquad,
},
{
Name: "oauthRequireSubClaim",
Description: "Require that sub claims is present in oauth tokens.",

View File

@@ -155,7 +155,6 @@ betterPageScrolling,GA,@grafana/grafana-frontend-platform,false,false,true
authAPIAccessTokenAuth,experimental,@grafana/identity-access-team,false,false,false
scopeFilters,experimental,@grafana/dashboards-squad,false,false,false
ssoSettingsSAML,experimental,@grafana/identity-access-team,false,false,false
usePrometheusFrontendPackage,GA,@grafana/observability-metrics,false,false,true
oauthRequireSubClaim,experimental,@grafana/identity-access-team,false,false,false
newDashboardWithFiltersAndGroupBy,experimental,@grafana/dashboards-squad,false,false,false
cloudWatchNewLabelParsing,GA,@grafana/aws-datasources,false,false,false
1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
155 authAPIAccessTokenAuth experimental @grafana/identity-access-team false false false
156 scopeFilters experimental @grafana/dashboards-squad false false false
157 ssoSettingsSAML experimental @grafana/identity-access-team false false false
usePrometheusFrontendPackage GA @grafana/observability-metrics false false true
158 oauthRequireSubClaim experimental @grafana/identity-access-team false false false
159 newDashboardWithFiltersAndGroupBy experimental @grafana/dashboards-squad false false false
160 cloudWatchNewLabelParsing GA @grafana/aws-datasources false false false

View File

@@ -631,10 +631,6 @@ const (
// Use the new SSO Settings API to configure the SAML connector
FlagSsoSettingsSAML = "ssoSettingsSAML"
// FlagUsePrometheusFrontendPackage
// Use the @grafana/prometheus frontend package in core Prometheus.
FlagUsePrometheusFrontendPackage = "usePrometheusFrontendPackage"
// FlagOauthRequireSubClaim
// Require that sub claims is present in oauth tokens.
FlagOauthRequireSubClaim = "oauthRequireSubClaim"

View File

@@ -1468,6 +1468,7 @@
"name": "usePrometheusFrontendPackage",
"resourceVersion": "1712841379965",
"creationTimestamp": "2024-04-09T05:07:41Z",
"deletionTimestamp": "2024-04-12T23:12:45Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-04-11 13:16:19.965312 +0000 UTC"
}