Transformations: Move moving average, regression analysis and format string transformations to public preview (#80067)

* move transformation features to public preview

* update docs

* Update docs/sources/panels-visualizations/query-transform-data/transform-data/index.md

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

* Update docs/sources/panels-visualizations/query-transform-data/transform-data/index.md

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

* Update docs/sources/panels-visualizations/query-transform-data/transform-data/index.md

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

* fix formating of ffs

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
This commit is contained in:
Oscar Kilhed 2024-01-05 19:39:02 +01:00 committed by GitHub
parent 701895ed3c
commit 583b9797af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 37 additions and 34 deletions

View File

@ -154,7 +154,7 @@ Use this transformation to add a new field calculated from two other fields. Eac
- **Alias** - (Optional) Enter the name of your new field. If you leave this blank, then the field will be named to match the calculation.
- **Replace all fields** - (Optional) Select this option if you want to hide all other fields and display only your calculated field in the visualization.
> **Note:** **Cumulative functions** and **Window functions** modes are currently in private preview. Grafana Labs offers support on a best-effort basis, and breaking changes might occur prior to the feature being made generally available.
> **Note:** **Cumulative functions** and **Window functions** modes are currently in public preview. Grafana Labs offers limited support, and breaking changes might occur prior to the feature being made generally available. Enable the `addFieldFromCalculationStatFunctions` feature toggle in Grafana to use this feature. Contact Grafana Support to enable this feature in Grafana Cloud.
In the example below, we added two fields together and named them Sum.
@ -519,7 +519,7 @@ 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 private preview. Grafana Labs offers support on a best-effort basis, and breaking changes might occur prior to the feature being made generally available.
> **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
@ -1278,7 +1278,7 @@ There are two different models:
- **Polynomial regression** - Fits a polynomial function to the data.
{{< figure src="/static/img/docs/transformations/polynomial-regression.png" class="docs-image--no-shadow" max-width= "1100px" alt="A time series visualization with a curved line representing the polynomial function" >}}
> **Note:** This transformation is currently in private preview. Grafana Labs offers support on a best-effort basis, and breaking changes might occur prior to the feature being made generally available.
> **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 `regressionTransformation` feature toggle in Grafana to use this feature. Contact Grafana Support to enable this feature in Grafana Cloud.
{{% docs/reference %}}
[Table panel]: "/docs/grafana/ -> /docs/grafana/<GRAFANA VERSION>/panels-visualizations/visualizations/table"

View File

@ -60,28 +60,31 @@ Some features are enabled by default. You can disable these feature by setting t
## Preview feature toggles
| Feature toggle name | Description |
| -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `panelTitleSearch` | Search for dashboards using panel title |
| `migrationLocking` | Lock database during migrations |
| `correlations` | Correlations page |
| `autoMigrateOldPanels` | Migrate old angular panels to supported versions (graph, table-old, worldmap, etc) |
| `disableAngular` | Dynamic flag to disable angular at runtime. The preferred method is to set `angular_support_enabled` to `false` in the [security] settings, which allows you to change the state at runtime. |
| `grpcServer` | Run the GRPC server |
| `accessControlOnCall` | Access control primitives for OnCall |
| `nestedFolders` | Enable folder nesting |
| `alertingNoNormalState` | Stop maintaining state of alerts that are not firing |
| `renderAuthJWT` | Uses JWT-based auth for rendering instead of relying on remote cache |
| `refactorVariablesTimeRange` | Refactor time range variables flow to reduce number of API calls made when query variables are chained |
| `faroDatasourceSelector` | Enable the data source selector within the Frontend Apps section of the Frontend Observability |
| `enableDatagridEditing` | Enables the edit functionality in the datagrid panel |
| `sqlDatasourceDatabaseSelection` | Enables previous SQL data source dataset dropdown behavior |
| `awsAsyncQueryCaching` | Enable caching for async queries for Redshift and Athena. Requires that the `useCachingService` feature toggle is enabled and the datasource has caching and async query support enabled |
| `dashgpt` | Enable AI powered features in dashboards |
| `reportingRetries` | Enables rendering retries for the reporting feature |
| `transformationsVariableSupport` | Allows using variables in transformations |
| `cloudWatchBatchQueries` | Runs CloudWatch metrics queries as separate batches |
| `pdfTables` | Enables generating table data as PDF in reporting |
| Feature toggle name | Description |
| -------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `panelTitleSearch` | Search for dashboards using panel title |
| `migrationLocking` | Lock database during migrations |
| `correlations` | Correlations page |
| `autoMigrateOldPanels` | Migrate old angular panels to supported versions (graph, table-old, worldmap, etc) |
| `disableAngular` | Dynamic flag to disable angular at runtime. The preferred method is to set `angular_support_enabled` to `false` in the [security] settings, which allows you to change the state at runtime. |
| `grpcServer` | Run the GRPC server |
| `accessControlOnCall` | Access control primitives for OnCall |
| `nestedFolders` | Enable folder nesting |
| `alertingNoNormalState` | Stop maintaining state of alerts that are not firing |
| `renderAuthJWT` | Uses JWT-based auth for rendering instead of relying on remote cache |
| `refactorVariablesTimeRange` | Refactor time range variables flow to reduce number of API calls made when query variables are chained |
| `faroDatasourceSelector` | Enable the data source selector within the Frontend Apps section of the Frontend Observability |
| `enableDatagridEditing` | Enables the edit functionality in the datagrid panel |
| `sqlDatasourceDatabaseSelection` | Enables previous SQL data source dataset dropdown behavior |
| `awsAsyncQueryCaching` | Enable caching for async queries for Redshift and Athena. Requires that the `useCachingService` feature toggle is enabled and the datasource has caching and async query support enabled |
| `dashgpt` | Enable AI powered features in dashboards |
| `reportingRetries` | Enables rendering retries for the reporting feature |
| `formatString` | Enable format string transformer |
| `transformationsVariableSupport` | Allows using variables in transformations |
| `cloudWatchBatchQueries` | Runs CloudWatch metrics queries as separate batches |
| `addFieldFromCalculationStatFunctions` | Add cumulative and window functions to the add field from calculation transformation |
| `pdfTables` | Enables generating table data as PDF in reporting |
| `regressionTransformation` | Enables regression analysis transformation |
## Experimental feature toggles

View File

@ -974,7 +974,7 @@ var (
{
Name: "formatString",
Description: "Enable format string transformer",
Stage: FeatureStagePrivatePreview,
Stage: FeatureStagePublicPreview,
FrontendOnly: true,
Owner: grafanaBiSquad,
Created: time.Date(2023, time.October, 13, 12, 0, 0, 0, time.UTC),
@ -1095,7 +1095,7 @@ var (
{
Name: "addFieldFromCalculationStatFunctions",
Description: "Add cumulative and window functions to the add field from calculation transformation",
Stage: FeatureStagePrivatePreview,
Stage: FeatureStagePublicPreview,
FrontendOnly: true,
Owner: grafanaBiSquad,
Created: time.Date(2023, time.November, 3, 12, 0, 0, 0, time.UTC),
@ -1257,7 +1257,7 @@ var (
{
Name: "regressionTransformation",
Description: "Enables regression analysis transformation",
Stage: FeatureStagePrivatePreview,
Stage: FeatureStagePublicPreview,
FrontendOnly: true,
Owner: grafanaBiSquad,
Created: time.Date(2023, time.November, 24, 12, 0, 0, 0, time.UTC),

View File

@ -113,7 +113,7 @@ cloudWatchWildCardDimensionValues,GA,@grafana/aws-datasources,2023-09-27,false,f
externalServiceAccounts,privatePreview,@grafana/identity-access-team,2023-09-28,false,false,false,false
panelMonitoring,experimental,@grafana/dataviz-squad,2023-10-08,false,false,false,true
enableNativeHTTPHistogram,experimental,@grafana/hosted-grafana-team,2023-10-03,false,false,false,false
formatString,privatePreview,@grafana/grafana-bi-squad,2023-10-13,false,false,false,true
formatString,preview,@grafana/grafana-bi-squad,2023-10-13,false,false,false,true
transformationsVariableSupport,preview,@grafana/grafana-bi-squad,2023-10-04,false,false,false,true
kubernetesPlaylists,experimental,@grafana/grafana-app-platform-squad,2023-11-08,false,false,true,false
kubernetesSnapshots,experimental,@grafana/grafana-app-platform-squad,2023-12-04,false,false,true,false
@ -128,7 +128,7 @@ pluginsInstrumentationStatusSource,experimental,@grafana/plugins-platform-backen
costManagementUi,experimental,@grafana/databases-frontend,2023-10-17,false,false,false,false
managedPluginsInstall,experimental,@grafana/plugins-platform-backend,2023-10-18,false,false,false,false
prometheusPromQAIL,experimental,@grafana/observability-metrics,2023-10-19,false,false,false,true
addFieldFromCalculationStatFunctions,privatePreview,@grafana/grafana-bi-squad,2023-11-03,false,false,false,true
addFieldFromCalculationStatFunctions,preview,@grafana/grafana-bi-squad,2023-11-03,false,false,false,true
alertmanagerRemoteSecondary,experimental,@grafana/alerting-squad,2023-10-30,false,false,false,false
alertmanagerRemotePrimary,experimental,@grafana/alerting-squad,2023-10-30,false,false,false,false
alertmanagerRemoteOnly,experimental,@grafana/alerting-squad,2023-10-30,false,false,false,false
@ -148,7 +148,7 @@ alertingSimplifiedRouting,experimental,@grafana/alerting-squad,2023-11-10,false,
logRowsPopoverMenu,experimental,@grafana/observability-logs,2023-11-16,false,false,false,true
pluginsSkipHostEnvVars,experimental,@grafana/plugins-platform-backend,2023-11-15,false,false,false,false
tableSharedCrosshair,experimental,@grafana/grafana-bi-squad,2023-12-12,false,false,false,true
regressionTransformation,privatePreview,@grafana/grafana-bi-squad,2023-11-24,false,false,false,true
regressionTransformation,preview,@grafana/grafana-bi-squad,2023-11-24,false,false,false,true
displayAnonymousStats,GA,@grafana/identity-access-team,2023-11-29,false,false,false,true
alertStateHistoryAnnotationsFromLoki,experimental,@grafana/alerting-squad,2023-11-30,false,false,true,false
lokiQueryHints,GA,@grafana/observability-logs,2023-12-18,false,false,false,true

1 Name Stage Owner Created requiresDevMode RequiresLicense RequiresRestart FrontendOnly
113 externalServiceAccounts privatePreview @grafana/identity-access-team 2023-09-28 false false false false
114 panelMonitoring experimental @grafana/dataviz-squad 2023-10-08 false false false true
115 enableNativeHTTPHistogram experimental @grafana/hosted-grafana-team 2023-10-03 false false false false
116 formatString privatePreview preview @grafana/grafana-bi-squad 2023-10-13 false false false true
117 transformationsVariableSupport preview @grafana/grafana-bi-squad 2023-10-04 false false false true
118 kubernetesPlaylists experimental @grafana/grafana-app-platform-squad 2023-11-08 false false true false
119 kubernetesSnapshots experimental @grafana/grafana-app-platform-squad 2023-12-04 false false true false
128 costManagementUi experimental @grafana/databases-frontend 2023-10-17 false false false false
129 managedPluginsInstall experimental @grafana/plugins-platform-backend 2023-10-18 false false false false
130 prometheusPromQAIL experimental @grafana/observability-metrics 2023-10-19 false false false true
131 addFieldFromCalculationStatFunctions privatePreview preview @grafana/grafana-bi-squad 2023-11-03 false false false true
132 alertmanagerRemoteSecondary experimental @grafana/alerting-squad 2023-10-30 false false false false
133 alertmanagerRemotePrimary experimental @grafana/alerting-squad 2023-10-30 false false false false
134 alertmanagerRemoteOnly experimental @grafana/alerting-squad 2023-10-30 false false false false
148 logRowsPopoverMenu experimental @grafana/observability-logs 2023-11-16 false false false true
149 pluginsSkipHostEnvVars experimental @grafana/plugins-platform-backend 2023-11-15 false false false false
150 tableSharedCrosshair experimental @grafana/grafana-bi-squad 2023-12-12 false false false true
151 regressionTransformation privatePreview preview @grafana/grafana-bi-squad 2023-11-24 false false false true
152 displayAnonymousStats GA @grafana/identity-access-team 2023-11-29 false false false true
153 alertStateHistoryAnnotationsFromLoki experimental @grafana/alerting-squad 2023-11-30 false false true false
154 lokiQueryHints GA @grafana/observability-logs 2023-12-18 false false false true

View File

@ -68,7 +68,7 @@ export const transformationDocsContent: TransformationDocsContentType = {
- **Alias** - (Optional) Enter the name of your new field. If you leave this blank, then the field will be named to match the calculation.
- **Replace all fields** - (Optional) Select this option if you want to hide all other fields and display only your calculated field in the visualization.
> **Note:** **Cumulative functions** and **Window functions** modes are currently in private preview. Grafana Labs offers support on a best-effort basis, and breaking changes might occur prior to the feature being made generally available.
> **Note:** **Cumulative functions** and **Window functions** modes are currently in public preview. Grafana Labs offers limited support, and breaking changes might occur prior to the feature being made generally available. Enable the \`addFieldFromCalculationStatFunctions\` feature toggle in Grafana to use this feature. Contact Grafana Support to enable this feature in Grafana Cloud.
In the example below, we added two fields together and named them Sum.
@ -501,7 +501,7 @@ export const transformationDocsContent: TransformationDocsContentType = {
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 private preview. Grafana Labs offers support on a best-effort basis, and breaking changes might occur prior to the feature being made generally available.`;
> **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.`;
},
},
formatTime: {
@ -1396,7 +1396,7 @@ ${buildImageContent(
'A time series visualization with a curved line representing the polynomial function'
)}
> **Note:** This transformation is currently in private preview. Grafana Labs offers support on a best-effort basis, and breaking changes might occur prior to the feature being made generally available.
> **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 \`regressionTransformation\` feature toggle in Grafana to use this feature. Contact Grafana Support to enable this feature in Grafana Cloud.
`;
},
},