grafana/public/app/core
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
..
actions TopNav: Plugin page layouts / information architecture (#53174) 2022-09-05 14:56:08 +02:00
components Page: Remove footer from new page layout (#63455) 2023-02-22 13:30:57 +01:00
context TopNav: KioskMode rewrite move to AppChrome responsibility and make it a global feature (#55149) 2022-09-15 14:04:58 +02:00
copy Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
history Preferences: Add preferences kind and remove unused navbar settings (#59621) 2023-01-25 11:00:32 -08:00
hooks Chore: Remove unused files (#57515) 2022-10-25 23:34:53 +01:00
internationalization Navigation: Ensure command palette is correctly translated (#61103) 2023-02-08 13:15:37 +00:00
navigation Chore: fix type errors in tests (#63270) 2023-02-14 16:46:42 +01:00
reducers Chore: fix type errors in tests (#63270) 2023-02-14 16:46:42 +01:00
selectors PluginPage: Fix finding root section for standalone pages (#56554) 2022-10-07 16:33:36 +02:00
services Chore: fix type errors in tests (#63270) 2023-02-14 16:46:42 +01:00
specs Chore: fix type errors in tests (#63270) 2023-02-14 16:46:42 +01:00
utils Explore: Add transformations to correlation data links (#61799) 2023-02-22 06:53:03 -06:00
app_events.ts EventBus: Introduces new event bus with emitter backward compatible interface (#27564) 2020-11-03 13:08:54 +01:00
config.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
constants.ts PanelEditor: Present actionable suggestions when panel cannot visualize current data (#42083) 2021-11-25 09:41:03 +01:00
core.ts TopNav: KioskMode rewrite move to AppChrome responsibility and make it a global feature (#55149) 2022-09-15 14:04:58 +02:00
lodash_extended.ts Performance: Standardize lodash imports to use destructured members (#33040) 2021-04-21 09:38:00 +02:00
logsModel.test.ts LogsVolume: Make log volume work with chunking (#63181) 2023-02-10 14:43:41 +01:00
logsModel.ts LogsVolume: Make log volume work with chunking (#63181) 2023-02-10 14:43:41 +01:00
profiler.ts Angular: Isolate angular more (#41440) 2021-11-10 11:05:36 +01:00
store.ts any/type assertion fixes (#57009) 2022-10-17 10:10:10 +01:00
TableModel.ts Chore: more any/type assertion improvements (#57450) 2022-10-25 11:04:35 +02:00
time_series2.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00