grafana/public/app/features/correlations
Kristina 06dfe2156f
Explore: Add transformations to correlation data links (#61799)
* bring in source from database

* bring in transformations from database

* add regex transformations to scopevar

* Consolidate types, add better example, cleanup

* Add var only if match

* Change ScopedVar to not require text, do not leak transformation-made variables between links

* Add mappings and start implementing logfmt

* Add mappings and start implementing logfmt

* Remove mappings, turn off global regex

* Add example yaml and omit transformations if empty

* Fix the yaml

* Add logfmt transformation

* Cleanup transformations and yaml

* add transformation field to FE types and use it, safeStringify logfmt values

* Add tests, only safe stringify if non-string, fix bug with safe stringify where it would return empty string with false value

* Add test for transformation field

* Do not add null transformations object

* Break out transformation logic, add tests to backend code

* Fix lint errors I understand 😅

* Fix the backend lint error

* Remove unnecessary code and mark new Transformations object as internal

* Add support for named capture groups

* Remove type assertion

* Remove variable name from transformation

* Add test for overriding regexes

* Add back variable name field, but change to mapValue

* fix go api test

* Change transformation types to enum, add better provisioning checks for bad type name and format

* Check for expression with regex transformations
2023-02-22 06:53:03 -06:00
..
components Grafana UI: Add experimental InteractiveTable component (#58223) 2022-11-29 16:18:55 +00:00
Forms UI/Alert: Infer the role property based on the severity (#61242) 2023-01-18 10:16:41 +01:00
CorrelationsFeatureToggle.tsx Correlations: Hide Correlations Page behind a feature toggle (#55224) 2022-09-16 15:14:27 +02:00
CorrelationsPage.test.tsx AppChrome: Unify logic for chromeless pages that should not have NavBar, CommandPalette, Search etc (#62281) 2023-02-02 09:53:06 +01:00
CorrelationsPage.tsx Grafana UI: Add experimental InteractiveTable component (#58223) 2022-11-29 16:18:55 +00:00
transformations.ts Explore: Add transformations to correlation data links (#61799) 2023-02-22 06:53:03 -06:00
types.ts Explore: Add transformations to correlation data links (#61799) 2023-02-22 06:53:03 -06:00
useCorrelations.ts Correlations: add tracking for add, update, delete, and details expanded (#58239) 2022-11-08 10:10:09 +00:00
utils.test.ts Glue: Enrich query results data frames in Explore with correlations to generate static links from correlations (#56295) 2022-10-11 14:40:55 +02:00
utils.ts Explore: Add transformations to correlation data links (#61799) 2023-02-22 06:53:03 -06:00