Prometheus: Use frontend package in Prometheus DS with a feature toggle (#84397)
* add feature toggle usePrometheusFrontendPackage * add feature toggle logic to Prometheus module * use config editor with package and remove configOverhaul feature toggle * update betterer because we will be removing other files as we replace with files from @grafana/prometheus * fix exemplar ds picker selector * add more description to ts-ignore * remove go.work.sum change * copy go.work.sum from main * update go.work.sum after talking with ismail * put back the promlib entry --------- Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
This commit is contained in:
committed by
Ashley Harrison
co-authored by
ismail simsek
parent
d7a94af7d7
commit
c40708ffab
@@ -1174,6 +1174,13 @@ var (
|
||||
HideFromDocs: true,
|
||||
HideFromAdminPage: true,
|
||||
},
|
||||
{
|
||||
Name: "usePrometheusFrontendPackage",
|
||||
Description: "Use the @grafana/prometheus frontend package in core Prometheus.",
|
||||
Stage: FeatureStageExperimental,
|
||||
FrontendOnly: true,
|
||||
Owner: grafanaObservabilityMetricsSquad,
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@@ -156,3 +156,4 @@ groupByVariable,experimental,@grafana/dashboards-squad,false,false,false
|
||||
betterPageScrolling,GA,@grafana/grafana-frontend-platform,false,false,true
|
||||
scopeFilters,experimental,@grafana/dashboards-squad,false,false,false
|
||||
ssoSettingsSAML,experimental,@grafana/identity-access-team,false,false,false
|
||||
usePrometheusFrontendPackage,experimental,@grafana/observability-metrics,false,false,true
|
||||
|
||||
|
@@ -634,4 +634,8 @@ const (
|
||||
// FlagSsoSettingsSAML
|
||||
// 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"
|
||||
)
|
||||
|
||||
+1801
-1950
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user