Transformations: Deduplicate names when using extract fields transformation. (#77569)
* dedupe field names * add test to make sure we don't break normal case
This commit is contained in:
@@ -960,5 +960,12 @@ var (
|
||||
RequiresDevMode: false,
|
||||
Owner: grafanaAuthnzSquad,
|
||||
},
|
||||
{
|
||||
Name: "extractFieldsNameDeduplication",
|
||||
Description: "Make sure extracted field names are unique in the dataframe",
|
||||
Stage: FeatureStageExperimental,
|
||||
FrontendOnly: true,
|
||||
Owner: grafanaBiSquad,
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
@@ -136,3 +136,4 @@ alertmanagerRemoteSecondary,experimental,@grafana/alerting-squad,false,false,fal
|
||||
alertmanagerRemotePrimary,experimental,@grafana/alerting-squad,false,false,false,false
|
||||
alertmanagerRemoteOnly,experimental,@grafana/alerting-squad,false,false,false,false
|
||||
annotationPermissionUpdate,experimental,@grafana/grafana-authnz-team,false,false,false,false
|
||||
extractFieldsNameDeduplication,experimental,@grafana/grafana-bi-squad,false,false,false,true
|
||||
|
||||
|
@@ -554,4 +554,8 @@ const (
|
||||
// FlagAnnotationPermissionUpdate
|
||||
// Separate annotation permissions from dashboard permissions to allow for more granular control.
|
||||
FlagAnnotationPermissionUpdate = "annotationPermissionUpdate"
|
||||
|
||||
// FlagExtractFieldsNameDeduplication
|
||||
// Make sure extracted field names are unique in the dataframe
|
||||
FlagExtractFieldsNameDeduplication = "extractFieldsNameDeduplication"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user