mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Transformations: Promote format string as generally available (#91161)
This commit is contained in:
@@ -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).
|
||||
|
||||
@@ -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 |
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
|
@@ -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"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user