diff --git a/docs/sources/panels-visualizations/query-transform-data/transform-data/index.md b/docs/sources/panels-visualizations/query-transform-data/transform-data/index.md index 4beec7e4e92..7ccfe7576a4 100644 --- a/docs/sources/panels-visualizations/query-transform-data/transform-data/index.md +++ b/docs/sources/panels-visualizations/query-transform-data/transform-data/index.md @@ -563,8 +563,6 @@ Use this transformation to customize the output of a string field. This transfor This transformation provides a convenient way to standardize and tailor the presentation of string data for better visualization and analysis. -> **Note:** This transformation is currently in public preview. Grafana Labs offers limited support, and breaking changes might occur prior to the feature being made generally available. Enable the `formatString` feature toggle in Grafana to use this feature. Contact Grafana Support to enable this feature in Grafana Cloud. - ### Format time Use this transformation to customize the output of a time field. Output can be formatted using [Moment.js format strings](https://momentjs.com/docs/#/displaying/). For example, if you want to display only the year of a time field, the format string 'YYYY' can be used to show the calendar year (for example, 1999 or 2012). diff --git a/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md b/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md index e3ecb845726..835f7ac2089 100644 --- a/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md +++ b/docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md @@ -47,6 +47,7 @@ Most [generally available](https://grafana.com/docs/release-life-cycle/#general- | `dashgpt` | Enable AI powered features in dashboards | Yes | | `alertingInsights` | Show the new alerting insights landing page | Yes | | `panelMonitoring` | Enables panel monitoring through logs and measurements | Yes | +| `formatString` | Enable format string transformer | Yes | | `transformationsVariableSupport` | Allows using variables in transformations | Yes | | `kubernetesPlaylists` | Use the kubernetes API in the frontend for playlists, and route /api/playlist requests to k8s | Yes | | `recoveryThreshold` | Enables feature recovery threshold (aka hysteresis) for threshold server-side expression | Yes | @@ -91,7 +92,6 @@ Most [generally available](https://grafana.com/docs/release-life-cycle/#general- | `sqlDatasourceDatabaseSelection` | Enables previous SQL data source dataset dropdown behavior | | `reportingRetries` | Enables rendering retries for the reporting feature | | `externalServiceAccounts` | Automatic service account and token setup for plugins | -| `formatString` | Enable format string transformer | | `cloudWatchBatchQueries` | Runs CloudWatch metrics queries as separate batches | | `teamHttpHeaders` | Enables Team LBAC for datasources to apply team headers to the client requests | | `pdfTables` | Enables generating table data as PDF in reporting | diff --git a/pkg/services/featuremgmt/registry.go b/pkg/services/featuremgmt/registry.go index 9aa655cdd34..d0d14abbfbe 100644 --- a/pkg/services/featuremgmt/registry.go +++ b/pkg/services/featuremgmt/registry.go @@ -693,9 +693,10 @@ var ( { Name: "formatString", Description: "Enable format string transformer", - Stage: FeatureStagePublicPreview, + Stage: FeatureStageGeneralAvailability, FrontendOnly: true, Owner: grafanaDatavizSquad, + Expression: "true", // enabled by default }, { Name: "transformationsVariableSupport", diff --git a/pkg/services/featuremgmt/toggles_gen.csv b/pkg/services/featuremgmt/toggles_gen.csv index 80e4d74761c..40519b3e7c3 100644 --- a/pkg/services/featuremgmt/toggles_gen.csv +++ b/pkg/services/featuremgmt/toggles_gen.csv @@ -90,7 +90,7 @@ externalServiceAccounts,preview,@grafana/identity-access-team,false,false,false panelMonitoring,GA,@grafana/dataviz-squad,false,false,true enableNativeHTTPHistogram,experimental,@grafana/grafana-backend-services-squad,false,true,false disableClassicHTTPHistogram,experimental,@grafana/grafana-backend-services-squad,false,true,false -formatString,preview,@grafana/dataviz-squad,false,false,true +formatString,GA,@grafana/dataviz-squad,false,false,true transformationsVariableSupport,GA,@grafana/dataviz-squad,false,false,true kubernetesPlaylists,GA,@grafana/grafana-app-platform-squad,false,true,false kubernetesSnapshots,experimental,@grafana/grafana-app-platform-squad,false,true,false diff --git a/pkg/services/featuremgmt/toggles_gen.json b/pkg/services/featuremgmt/toggles_gen.json index 0aa30c4cf51..677764ca6d0 100644 --- a/pkg/services/featuremgmt/toggles_gen.json +++ b/pkg/services/featuremgmt/toggles_gen.json @@ -1147,14 +1147,18 @@ { "metadata": { "name": "formatString", - "resourceVersion": "1718727528075", - "creationTimestamp": "2023-10-13T18:17:12Z" + "resourceVersion": "1722290290367", + "creationTimestamp": "2023-10-13T18:17:12Z", + "annotations": { + "grafana.app/updatedTimestamp": "2024-07-29 21:58:10.367328 +0000 UTC" + } }, "spec": { "description": "Enable format string transformer", - "stage": "preview", + "stage": "GA", "codeowner": "@grafana/dataviz-squad", - "frontend": true + "frontend": true, + "expression": "true" } }, { diff --git a/public/app/features/transformers/docs/content.ts b/public/app/features/transformers/docs/content.ts index ea22693a974..e9442e582cc 100644 --- a/public/app/features/transformers/docs/content.ts +++ b/public/app/features/transformers/docs/content.ts @@ -505,9 +505,7 @@ Use this transformation to customize the output of a string field. This transfor - **Trim** - Removes all leading and trailing spaces from the string. - **Substring** - Returns a substring of the string, using the specified start and end positions. -This transformation provides a convenient way to standardize and tailor the presentation of string data for better visualization and analysis. - -> **Note:** This transformation is currently in public preview. Grafana Labs offers limited support, and breaking changes might occur prior to the feature being made generally available. Enable the \`formatString\` feature toggle in Grafana to use this feature. Contact Grafana Support to enable this feature in Grafana Cloud.`; +This transformation provides a convenient way to standardize and tailor the presentation of string data for better visualization and analysis.`; }, }, formatTime: {