Alerting: Set alert form simple modes enabled by default (#99233)

set alert form simple modes enabled by default
This commit is contained in:
Sonia Aguilar
2025-01-20 13:55:34 +01:00
committed by GitHub
parent 95d4f83889
commit 80b8dd3fc8
5 changed files with 23 additions and 14 deletions

View File

@ -76,6 +76,7 @@ Most [generally available](https://grafana.com/docs/release-life-cycle/#general-
| `alertingApiServer` | Register Alerting APIs with the K8s API server | Yes |
| `cloudWatchRoundUpEndTime` | Round up end time for metric queries to the next minute to avoid missing data | Yes |
| `newFiltersUI` | Enables new combobox style UI for the Ad hoc filters variable in scenes architecture | Yes |
| `alertingQueryAndExpressionsStepMode` | Enables step mode for alerting queries and expressions | Yes |
| `useSessionStorageForRedirection` | Use session storage for handling the redirection after login | Yes |
| `userStorageAPI` | Enables the user storage API | Yes |
| `azureMonitorDisableLogLimit` | Disables the log limit restriction for Azure Monitor when true. The limit is enabled by default. | |
@ -84,6 +85,7 @@ Most [generally available](https://grafana.com/docs/release-life-cycle/#general-
| `reportingUseRawTimeRange` | Uses the original report or dashboard time range instead of making an absolute transformation | Yes |
| `alertingUIOptimizeReducer` | Enables removing the reducer from the alerting UI when creating a new alert rule and using instant query | Yes |
| `azureMonitorEnableUserAuth` | Enables user auth for Azure Monitor datasource only | Yes |
| `alertingNotificationsStepMode` | Enables simplified step mode in the notifications section | Yes |
| `lokiLabelNamesQueryApi` | Defaults to using the Loki `/labels` API instead of `/series` | Yes |
## Public preview feature toggles
@ -213,7 +215,6 @@ Experimental features might be changed or removed without prior notice.
| `exploreLogsLimitedTimeRange` | Used in Explore Logs to limit the time range |
| `homeSetupGuide` | Used in Home for users who want to return to the onboarding flow or quickly find popular config pages |
| `appSidecar` | Enable the app sidecar feature that allows rendering 2 apps at the same time |
| `alertingQueryAndExpressionsStepMode` | Enables step mode for alerting queries and expressions |
| `rolePickerDrawer` | Enables the new role picker drawer design |
| `pluginsSriChecks` | Enables SRI checks for plugin assets |
| `unifiedStorageBigObjectsSupport` | Enables to save big objects in blob storage |
@ -225,7 +226,6 @@ Experimental features might be changed or removed without prior notice.
| `enableSCIM` | Enables SCIM support for user and group management |
| `crashDetection` | Enables browser crash detection reporting to Faro. |
| `jaegerBackendMigration` | Enables querying the Jaeger data source without the proxy |
| `alertingNotificationsStepMode` | Enables simplified step mode in the notifications section |
| `useV2DashboardsAPI` | Use the v2 kubernetes API in the frontend for dashboards |
| `unifiedHistory` | Displays the navigation history so the user can navigate back to previous pages |
| `investigationsBackend` | Enable the investigations backend API |

View File

@ -1,6 +1,8 @@
import * as e2e from '@grafana/e2e-selectors';
import { expect, test } from '@grafana/plugin-e2e';
// let's disable the feature toggles for now, otherwise the getAlertRuleQueryRow fails and I don't see any other way to get the query row
test.use({ featureToggles: { alertingQueryAndExpressionsStepMode: false, alertingNotificationsStepMode: false } });
test('should evaluate to false if entire request returns 200 but partial query result is invalid', async ({
page,
alertRuleEditPage,

View File

@ -1473,9 +1473,10 @@ var (
{
Name: "alertingQueryAndExpressionsStepMode",
Description: "Enables step mode for alerting queries and expressions",
Stage: FeatureStageExperimental,
Stage: FeatureStageGeneralAvailability,
Owner: grafanaAlertingSquad,
FrontendOnly: true,
Expression: "true",
},
{
Name: "improvedExternalSessionHandling",
@ -1647,9 +1648,10 @@ var (
{
Name: "alertingNotificationsStepMode",
Description: "Enables simplified step mode in the notifications section",
Stage: FeatureStageExperimental,
Stage: FeatureStageGeneralAvailability,
Owner: grafanaAlertingSquad,
FrontendOnly: true,
Expression: "true",
},
{
Name: "useV2DashboardsAPI",

View File

@ -194,7 +194,7 @@ homeSetupGuide,experimental,@grafana/growth-and-onboarding,false,false,true
appPlatformGrpcClientAuth,experimental,@grafana/identity-access-team,false,false,false
appSidecar,experimental,@grafana/grafana-frontend-platform,false,false,false
groupAttributeSync,privatePreview,@grafana/identity-access-team,false,false,false
alertingQueryAndExpressionsStepMode,experimental,@grafana/alerting-squad,false,false,true
alertingQueryAndExpressionsStepMode,GA,@grafana/alerting-squad,false,false,true
improvedExternalSessionHandling,preview,@grafana/identity-access-team,false,false,false
useSessionStorageForRedirection,GA,@grafana/identity-access-team,false,false,false
rolePickerDrawer,experimental,@grafana/identity-access-team,false,false,false
@ -219,7 +219,7 @@ jaegerBackendMigration,experimental,@grafana/oss-big-tent,false,false,false
reportingUseRawTimeRange,GA,@grafana/sharing-squad,false,false,false
alertingUIOptimizeReducer,GA,@grafana/alerting-squad,false,false,true
azureMonitorEnableUserAuth,GA,@grafana/partner-datasources,false,false,false
alertingNotificationsStepMode,experimental,@grafana/alerting-squad,false,false,true
alertingNotificationsStepMode,GA,@grafana/alerting-squad,false,false,true
useV2DashboardsAPI,experimental,@grafana/dashboards-squad,false,true,false
feedbackButton,experimental,@grafana/grafana-operator-experience-squad,false,false,false
unifiedStorageSearchUI,experimental,@grafana/search-and-storage,false,false,false

1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
194 appPlatformGrpcClientAuth experimental @grafana/identity-access-team false false false
195 appSidecar experimental @grafana/grafana-frontend-platform false false false
196 groupAttributeSync privatePreview @grafana/identity-access-team false false false
197 alertingQueryAndExpressionsStepMode experimental GA @grafana/alerting-squad false false true
198 improvedExternalSessionHandling preview @grafana/identity-access-team false false false
199 useSessionStorageForRedirection GA @grafana/identity-access-team false false false
200 rolePickerDrawer experimental @grafana/identity-access-team false false false
219 reportingUseRawTimeRange GA @grafana/sharing-squad false false false
220 alertingUIOptimizeReducer GA @grafana/alerting-squad false false true
221 azureMonitorEnableUserAuth GA @grafana/partner-datasources false false false
222 alertingNotificationsStepMode experimental GA @grafana/alerting-squad false false true
223 useV2DashboardsAPI experimental @grafana/dashboards-squad false true false
224 feedbackButton experimental @grafana/grafana-operator-experience-squad false false false
225 unifiedStorageSearchUI experimental @grafana/search-and-storage false false false

View File

@ -276,17 +276,18 @@
{
"metadata": {
"name": "alertingNotificationsStepMode",
"resourceVersion": "1732272457848",
"resourceVersion": "1737362059637",
"creationTimestamp": "2024-11-06T09:35:49Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-11-22 10:47:37.848635 +0000 UTC"
"grafana.app/updatedTimestamp": "2025-01-20 08:34:19.63725 +0000 UTC"
}
},
"spec": {
"description": "Enables simplified step mode in the notifications section",
"stage": "experimental",
"stage": "GA",
"codeowner": "@grafana/alerting-squad",
"frontend": true
"frontend": true,
"expression": "true"
}
},
{
@ -308,14 +309,18 @@
{
"metadata": {
"name": "alertingQueryAndExpressionsStepMode",
"resourceVersion": "1725978395461",
"creationTimestamp": "2024-09-26T06:33:14Z"
"resourceVersion": "1737362059637",
"creationTimestamp": "2024-09-26T06:33:14Z",
"annotations": {
"grafana.app/updatedTimestamp": "2025-01-20 08:34:19.63725 +0000 UTC"
}
},
"spec": {
"description": "Enables step mode for alerting queries and expressions",
"stage": "experimental",
"stage": "GA",
"codeowner": "@grafana/alerting-squad",
"frontend": true
"frontend": true,
"expression": "true"
}
},
{