Prometheus: Config overhaul part two, auth and DataSourceHttpSettings overhaul (#71250)

* build httpsettings overhaul with new auth component

* remove test code

* add connection and advanced http settings components

* use tooltip with link

* add correct styling and spacing

* save option select for sigV4

* fix styles in Azure auth to fit new auth component

* add types in overhaul folder that are not available yet in grafana

* update e2e tests for new connection component

* update e2e tests for new connection component

* update width of azure inputs

* fix non custom auth selects

* add feature toggle

* wrap azure style changes behind the feature flag

* fix feature toggle rebase fix error

* move advanced http setting and wrap everything in the config subsection component to fix font

* fix input width

* use cx for conditional classes

* use cx for conditional class
This commit is contained in:
Brendan O'Handley
2023-07-26 12:09:53 -04:00
committed by GitHub
parent d39ec2428e
commit 98cb3ce3b6
16 changed files with 837 additions and 358 deletions

View File

@@ -675,5 +675,11 @@ var (
Owner: grafanaPartnerPluginsSquad,
Expression: "true", // on by default
},
{
Name: "prometheusConfigOverhaulAuth",
Description: "Update the Prometheus configuration page with the new auth component",
Stage: FeatureStageExperimental,
Owner: grafanaObservabilityMetricsSquad,
},
}
)

View File

@@ -97,3 +97,4 @@ featureToggleAdminPage,experimental,@grafana/grafana-operator-experience-squad,f
awsAsyncQueryCaching,experimental,@grafana/aws-datasources,false,false,false,false
splitScopes,preview,@grafana/grafana-authnz-team,false,false,true,false
azureMonitorDataplane,GA,@grafana/partner-datasources,false,false,false,false
prometheusConfigOverhaulAuth,experimental,@grafana/observability-metrics,false,false,false,false
1 Name Stage Owner requiresDevMode RequiresLicense RequiresRestart FrontendOnly
97 awsAsyncQueryCaching experimental @grafana/aws-datasources false false false false
98 splitScopes preview @grafana/grafana-authnz-team false false true false
99 azureMonitorDataplane GA @grafana/partner-datasources false false false false
100 prometheusConfigOverhaulAuth experimental @grafana/observability-metrics false false false false

View File

@@ -398,4 +398,8 @@ const (
// FlagAzureMonitorDataplane
// Adds dataplane compliant frame metadata in the Azure Monitor datasource
FlagAzureMonitorDataplane = "azureMonitorDataplane"
// FlagPrometheusConfigOverhaulAuth
// Update the Prometheus configuration page with the new auth component
FlagPrometheusConfigOverhaulAuth = "prometheusConfigOverhaulAuth"
)