Joao Silva
3014103f41
Chore: Remove gf-form from OrganizeFieldsTransformerEditor ( #88240 )
2024-05-27 10:26:47 +01:00
Ashley Harrison
396e75dadf
Chore: Type improvements ( #87634 )
...
* improve typings in opentsdb datasource
* couple of influx improvements
* couple more
* more
* more more more
* 3 more
* changes to variables/inspect/utils
* some graphite improvements
2024-05-10 17:28:44 +01:00
Joao Silva
4bab530375
Chore: Remove gf-forms from SubMenuItems
and RangeMatcherEditor
( #87633 )
2024-05-10 16:18:40 +01:00
Jev Forsberg
9bd44aed2e
Transformations: Fix true inner join in joinByField
transformation ( #87409 )
...
* baldm0mma/inner_join_fix/ init commit
* baldm0mma/inner_join_fix/ first attempt at an tabular inner join
* baldm0mma/inner_join_fix/ add innerTabular
* baldm0mma/inner_join_fix/ add innerJoin option to editor
* baldm0mma/inner_join_fix/ add editor option
* baldm0mma/inner_join_fix/ update joinInnerTabular function behavior
* baldm0mma/inner_join_fix/ add js docs
* baldm0mma/inner_join_fix/ update jsdocs
* baldm0mma/inner_join_fix/ update docs
* baldm0mma/inner_join_fix/ remove unused console.logs
* baldm0mma/inner_join_fix/ update tests
* baldm0mma/inner_join_fix/ simplify getValue
* baldm0mma/inner_join_fix/ update tests
* baldm0mma/inner_join_fix/ update docs builder
* baldm0mma/inner_join_fix/ add tables to Outer join (for tabular data)
* baldm0mma/inner_join_fix/ update docs
* baldm0mma/inner_join_fix/ build docs
* baldm0mma/inner_join_fix/ remove innertab for inner
* baldm0mma/inner_join_fix/ rename innertab
* baldm0mma/inner_join_fix/ update tests
* baldm0mma/inner_join_fix/ rem con logs
* baldm0mma/inner_join_fix/ rem comment
* baldm0mma/inner_join_fix/ rem sample data
* baldm0mma/inner_join_fix/ remove irrelevant test
* baldm0mma/inner_join_fix/ update docs
* Update packages/grafana-data/src/transformations/transformers/joinDataFrames.test.ts
Co-authored-by: Nathan Marrs <nathanielmarrs@gmail.com>
* baldm0mma/inner_join_fix/ update test description
---------
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2024-05-09 11:00:59 -06:00
Jev Forsberg
ad679c62c6
Docs: Update example docs for rename by regex
( #86627 )
...
* baldm0mma/update_regex/ update example docs
* baldm0mma/ push ts
* baldm0mma/update_regex with new exmaples
* baldm0mma/update_regex/ update images
* baldm0mma/regex_update/ update text
2024-04-19 21:04:54 +02:00
TechVest
1ffe858e06
chore: remove repetitive words ( #86412 )
...
Signed-off-by: TechVest <techdashen@qq.com>
2024-04-17 13:08:00 +01:00
Eduardo Franscisco Pedrosa
d23918fd95
Fixes #81465 : Exclude-null now it's getting initialized properly by default ( #85613 )
...
* fix #81465 (FilterByValueTransformerEditor.tsx): Exclude-null now it's getting initialised properly by default
The default matcher of a new filter by value condition has been changed from greater to isNull. Added a file FilterByValueTransformerEditor.test.tsx with a test to confirm this change
* update tests and run linter
* filter-by-values-exclude-null/ update test definition
---------
Co-authored-by: jev forsberg <jev.forsberg@grafana.com>
2024-04-05 11:24:57 -06:00
Lars Stegman
188aed05f9
Transformer: Config from Query: set threshold colours ( #83366 )
...
* Fix typo
* Create handler arguments
* Create handler arguments editor
* Create link in editor
* Add labels to arguments editor fields
* Create unit tests
* Hide "Additional settings" header when no additional settings possible
* Remove div
* Fix invalid DOM
---------
Co-authored-by: jev forsberg <jev.forsberg@grafana.com>
2024-03-22 15:39:01 -06:00
Jev Forsberg
b14525a402
Transformations: Update docs for "Filter data by values" substring matcher ( #84619 )
...
* baldm0mma/substring/ update docs
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
* baldm0mma/substring/ skip 1st test
* baldm0mma/substring/ unskip
* baldm0mma/substring/ update skip
* baldm0mma/substring/ update anno
* baldm0mma/substring/ unrelated spelling error
* baldm0mma/substring/ update annos
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2024-03-19 10:17:34 -06:00
Kyle Cunningham
c88accdf99
Transformations: Docs for Group to nested table ( #83559 )
...
* Start group to nested table docs
* Group to nested table docs
* Remove dead content
* Update docs content
* codeincarnate/nested-table-docs/ run formatter
* Update punctuation (thanks Isabel 🙏 )
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
* Update wording and structure ((thanks Isabel 🙏 )
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
* More wording and structure changes (thanks Isabel 🙏 )
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
* Escape backticks
* Add imagery
* Add generated docs
* Language updates
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
* Language updates
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
* Language updates
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
* Update formatting
* Rebuild transformation docs
---------
Co-authored-by: jev forsberg <jev.forsberg@grafana.com>
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2024-03-04 23:31:00 +02:00
Kyle Cunningham
3121fce305
Timeseries to table transformation: Improve Documentation ( #83647 )
...
* Flesh out timeseries to table docs
* Add generated documentation
* Update docs
* Fix spelling
* Fix link formatting
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
* Update language
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2024-03-04 22:57:47 +02:00
Tim Levett
88ebef5cba
Transformations: Add substring matcher to the 'Filter by Value' transformation ( #83548 )
2024-02-29 16:59:40 -06:00
Jev Forsberg
a30617f8bd
Transformations: Add transformation builder tests and refactor ( #83285 )
...
* baldm0mma/script_tests/ update jest.config paths
* baldm0mma/script_tests/ refactor makefile content
* baldm0mma/script_tests/ refactor file write commands
* baldm0mma/script_tests/ create test module
* baldm0mma/script_tests/ add to codeowners
* baldm0mma/script_tests/ recenter content
* baldm0mma/script_tests/ create buildMarkdownContent and update whitespace
* baldm0mma/script_tests/ run build script
* baldm0mma/script_tests/ update tests to remove make dep and node dep
* baldm0mma/script_tests/ update cntent
* baldm0mma/script_tests/ update makefile
* baldm0mma/script_tests/ update buildMarkdownContent
* baldm0mma/script_tests/ remove unused imports
* baldm0mma/script_tests/ update test annotation
* baldm0mma/script_tests/ prettier
* baldm0mma/script_tests/ update tests
* baldm0mma/script_tests/ update content
* baldm0mma/script_tests/ update annos
* baldm0mma/script_tests/ remove unused vars
* baldm0mma/script_tests/ remove unused imports
* baldm0mma/script_tests/ update annos
* baldm0mma/script_tests/ update paths
* Update scripts/docs/generate-transformations.test.ts
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* baldm0mma/script_tests/ update comment
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2024-02-27 10:41:55 -07:00
Ashley Harrison
ffb9a4de4a
Chore: some test type fixes ( #82889 )
...
* some test type fixes
* ignore table-old since it's an angular panel that will be removed
2024-02-16 14:35:26 +00:00
Ashley Harrison
685e84b1f8
Chore: Remove react-popper
from DataLinkInput
and SuggestionsInput
( #82160 )
...
* replace popper with floating-ui in DataLinkInput
* replace popper with floating-ui in SuggestionsInput
2024-02-12 13:22:24 +00:00
Kyle Cunningham
756cd3c28b
Transformations: Add Group to Nested Tables Transformation ( #79952 )
...
* Stub group to subframe transformation
* Get proper field grouping
* Mostly working but fields not displaying 😭
* Fix display processing in nested tables
* Modularize and start merging groupBy and groupToSubrame
* Get this working
* Prettier
* Typing things
* More types
* Add option for showing subframe table headers
* Prettier
* Get tests going
* Update tests
* Fix naming and add icons
* Betterer fix
* Prettier
* Fix CSS object syntax
* Prettier
* Stub alert for calcs with grouping, start renaming
* Add logic to show warning message for calculations
* Add calc warning
* Renaming and feature flag
* Rename images
* Prettier
* Fix tests
* Update feature toggle
* Fix error showing extra blank row
* minor code cleanup
---------
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2024-02-07 21:28:26 +07:00
Leon Sorokin
d5ac9340e5
Histogram: Add approx bucket count option ( #80990 )
2024-02-05 11:09:36 -06:00
Ryan McKinley
9d17f6e6aa
Transformers: Do not add transformation info to output frames ( #81747 )
2024-02-01 17:17:30 -08:00
Galen Kistler
f73d0eb41c
Transformations: Expose "keep fields" option in partition by values ( #81743 )
...
* expose keep fields to partitionByValues UI
2024-02-01 17:08:02 -06:00
Oscar Kilhed
9a4534a17c
Transformations: Use the display name of the original y field for the predicted field of the regression analysis transformation. ( #81332 )
...
Fix name of regression transformation field
2024-01-29 10:22:17 +01:00
renovate[bot]
86cb412b1d
Update dependency prettier to v3.2.4 ( #81047 )
...
* Update dependency prettier to v3.2.4
* update sdk + run prettier
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-01-23 11:41:24 +00:00
Ashley Harrison
d5db67a073
Chore: type improvements ( #80464 )
...
* type improvements
* some more fixes
* add TODOs to remove type assertions
2024-01-15 14:29:39 +00:00
Ryan McKinley
114845a99a
Transformations: Use an explicit join seperator when converting from an array to string field ( #80169 )
2024-01-09 18:24:16 +02:00
Oscar Kilhed
583b9797af
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>
2024-01-05 19:39:02 +01:00
Oscar Kilhed
f5a221e93f
Transformations: Fix bug where having NaN in the input to regression analysis transformation causes all predictions to be NaN ( #80079 )
...
Make regression analysis transformation handle NaN
2024-01-05 15:50:20 +01:00
Oscar Kilhed
110a41b3db
Transformations: Move moving average and cumulative sum to private preview ( #79495 )
...
* Move moving average and cumulative sum to private preview
* update docs
* rebuild docs
* Update docs/sources/panels-visualizations/query-transform-data/transform-data/index.md
Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com>
---------
Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com>
2023-12-18 16:46:03 +01:00
Oscar Kilhed
cacae6a43b
Transformations: Move formatString transformation to private preview ( #79498 )
...
* Move moving average and cumulative sum to private preview
* update docs
* move formatString to private preview
* rebuild docs
* undo changes that don't belong to this commit
* undo cumulative/window featureflag
* fix case
2023-12-15 11:27:01 +01:00
Oscar Kilhed
b5dc4667f7
Transformations: Move regression analysis transformation to private preview ( #79500 )
...
* move regression analysis transformation to private preview
* fix case
2023-12-15 11:26:39 +01:00
Isabel
937a7ed6d9
Docs: add missing alt text - transformations 10.3 (2/3) ( #79277 )
...
* Added missing alt text
* Rebuilt markdown file
q
wq
* baldm0mma/081223-missing-alt-text-2/ add alt image content to images and build markdown
* baldmomma/081223-missing-alt-text-2/update alt text and build
* baldm0mma/081223-missing-alt-text-2/ make altText required
---------
Co-authored-by: jev forsberg <jev.forsberg@grafana.com>
2023-12-12 10:07:52 -07:00
Leon Sorokin
393711c3a1
Transformations: Add (base field name) to Join transformer ( #79192 )
2023-12-06 19:17:01 -06:00
Sven Grossmann
af05fdc806
Transformations: Fill array with undefined
to prevent mismatching length ( #78911 )
...
* fill array with `undefined` to prevent matching length
* update unit test to include sortBy transformation
---------
Co-authored-by: Galen <galen.kistler@grafana.com>
2023-12-01 13:33:05 -06:00
Domas
b40e61d935
Timeseries to table transformation: Fix misaligned table field values if some frames are missing a label ( #78909 )
...
* fix bug with time series table transform when a frame is missing a label
* prettier format
2023-11-30 19:09:52 +02:00
Oscar Kilhed
6e0a06e52a
Transformations: Fix regression transformation adding predictions after last x point of data ( #78724 )
...
Fix regression stransformation prediction spacing
2023-11-28 11:28:26 +01:00
Oscar Kilhed
ab982e7bd3
Transformations: Add regression analysis transformation ( #78457 )
...
* regression analysis first dragt
* Swap to better regression libraries
* fix name
* Interpolate x points instead of using source x points
* clean up ui and add feature toggle
* fix merge error
* change to loop for finding min max, rename resolution
* Add docs
* add docs and tests
* change name to regression analysis
* update docs
* Fix editor labels
* add regression images
* fix docs
2023-11-24 15:49:16 +01:00
Ashley Harrison
441d24f955
Chore: Remove some gf-form
classes ( #78601 )
...
* remove some gf-form
* couple more transformations
* clean up Playlists
* review comments
* fix unit tests
2023-11-24 12:09:09 +00:00
Jev Forsberg
a3576fc8cf
Baldm0mma/docs expansion ( #78142 )
...
* baldm0mma/docs_expansion/ update Convert field type
* baldm0mma/docs_expansion/ update Extract fields
* baldm0mma/docs_expansion/ update Lookup fields from resource
* baldm0mma/docs_expansion/ update Filter data by query refId
* baldm0mma/docs_extension/ update Filter fields by name
* baldm0mma/docs_expansion/ update Format time
* baldm0mma/docs_expansion/ update Grouping to matrix
* baldm0mma/docs_expansion/ update Create heatmap
* baldm0mma/docs_extension/ updte Histogram
* baldm0mma/docs_expansion/ update Join by field
* baldm0mma/docs_expansion/ update Join by labels
* baldm0mma/docs_expansion/ update Labels to fields
* baldm0mma/docs_expansion/ update Limit
* baldm0mma/docs_expansion/ update Merge
* baldm0mma/docs_expansion/ update Oraganize fields
* baldm0mma/docs_expansion/ update Partition by values
* baldm0mma/docs_expansion/ update Prepare time series
* baldm0mma/docs_expansion/ update Rename by regex
* baldm0mma/docs_expansion/ update Rows to fields
* baldm0mma/docs_expansion/ update Series to rows
* baldm0mma/docs_expansion/ update Time series to table transform
* baldm0mma/docs_expansion/ build docs
* baldm0mma/docs_expansion/ update Prepare time series
* baldm0mma/docs_expansion/ build markdown
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* baldm0mma/docs_expansion/ update Rows to fields conclusion
* baldm0mma/docs_expansion/ update sort by
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* baldm0mma/docs_expansion/ build markdown
* baldm0mma/docs_expansion/ update note in Add field from calculation
* baldm0mma/docs_expansion/ update spelling
* baldm0mma/docs_expansion/ update wording
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* baldm0mma/docs_expansion/ update Partition by values
* baldm0mma/docs_expansion/ update enhancements
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* baldm0mma/docs_expansion/ rem whitesapce
* baldm0mma/docs_expansion/ build markdown
* Update public/app/features/transformers/docs/content.ts
* baldm0mma/docs_expansion/ update whitespace
* baldm0mma/docs_expansion/ update Extract fields
* baldm0mma/docs_expansion/ update with @codeincarnate's suggestions
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* baldm0mma/docs_expansion/ update syntax
* baldm0mma/docs_expansion/ update transformation names
* baldm0mma/docs_expansion/ build markdown
* baldm0mma/docs_expansion/ dataset fix
* baldm0mma/docs_expansion/ build docs
---------
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-11-21 12:05:11 -07:00
Jev Forsberg
4275f2dc8c
Chore: Update e2e selectors for Transformations ( #78426 )
...
* baldm0mma/e2e_selector_migration/ update labels
* baldm0mma/e2e_selector_migration/ run prettier
* baldm0mma/e2e_selector_migration/ add test
* baldm0mma/ update results
* baldm0mma/e2e_selector_migration/ update betterer
2023-11-21 09:31:56 -07:00
Nathan Marrs
0088fe0211
Docs: Update transform docs ( #78290 )
2023-11-17 12:53:04 -08:00
Kyle Cunningham
b9fa9d4a11
Timeseries to table transformation: Improve time series detection ( #77841 )
...
* Improve time series detection
* Prettier
* Add test
* Update packages/grafana-data/src/dataframe/utils.ts
Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com>
* Ensure correct time field support and set maximum size
* Look at each field to see if they are time series
* Add further tests
* Prettier
---------
Co-authored-by: Jev Forsberg <46619047+baldm0mma@users.noreply.github.com>
2023-11-17 14:52:26 -06:00
Nathan Marrs
7397f975b6
Transformations: Support enum field conversion ( #76410 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2023-11-16 09:44:30 -08:00
Óscar Erades
20f541d7e7
Transformations: Fix Timeseries to table transformation trend reduction when result is 0 ( #78026 )
...
* Transformations: Fix Timeseries to table transformation trend reduction when result is 0
When reduceField function returns 0, the reduced value is set to null. I
think we can remove this "|| null" statement, as:
- There is a check a few lines above to make sure the field type is a number. This might be a reasonable guarantee that the calculation we are doing will make sense and there will be no need to set to null.
- Sparkline cell type already has an option to hide value if we believe the calculation
does not make sense.
Fixes #78025
* make sure we check for undefined
---------
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
2023-11-15 10:12:04 +01:00
Galen Kistler
7617a7a3fc
Transformations: Add includeByName to organize fields transformation ( #77797 )
...
* add includeByName inclusion list to transform, update ui to work with either filtering method
2023-11-13 08:59:37 -06:00
Oscar Kilhed
721988e931
Transformations: break add field from calculation transformation UI into sub components ( #77874 )
...
* break out subcomponents
* prettify
* break out editors into separate files
* update betterer since this is only moving around lint issues
* Fix import
2023-11-10 17:12:34 +02:00
Jev Forsberg
a99485ba33
Transformations: Build help content for all standard transformers ( #74052 )
...
* baldm0mma/transformation_info_modal
* baldm0mma/transformation_info_modal/ add getDisplayContent
* baldm0mma/transformation_info_modal/ reamove OperationRowHelp
* baldm0mma/transformation_info_modal/ update prepMarkdown
* baldm0mma/transformation_help_modal/ add example mkdwn
* baldm0mma/transformation_help_modal/ add examples anno
* baldm0mma/transformation_info_modal/ add calFieldHelper
* baldm0mma/transformation_info_modal/ remove file
* baldm0mma/transformation_info_modal/ add CalculateFieldHelper
* baldm0mma/transformation_info_modal/ add TransformationEditorHelperModal
* baldm0mma/transformation_info_modal/ add getHelperContent
* baldm0mma/transformation_info_modal/ move TransformationEditorHelperModal
* baldm0mma/transformation_info_modal/ add ReactElement
* baldm0mma/transformations_info_modal
* baldm0mma/transformation_info_modal/ update props for TransformationEditorHelperModal
* baldm0mma/transformation_info_modal/ test
* test
* baldm0mma/transformation_info_modal/ reset vscode auth
* baldm0mma/transformation_info_modal/ update getHelperContent
* baldm0mma/transformations_info_modal/ add items for rebuilding markdown to react component
* test
* test
* baldm0mma/transformations_info_modal/ remove comment in TransformationOperationRow
* test
* baldm0mma/transformation_info_modal/ add element to typing
* baldm0mma/transformation_info_modal/ update getHelperContent with help component
* baldm0mma/transformation_info_modal/ update modal title
* baldm0mma/transformation_info_modal/ move logic to tranforms
* baldm0mma/transformation_info_modal/ remove unused comments
* baldm0mma/transformation_info_modal/ update standard reg
* baldm0mma/trfansformation_info_modal/ remove context styling
* baldm0mma/transformation_info_modal/ add content for CalculateFieldHelper
* baldm0mma/transformation_info_modal/ add ConcatenateHelper
* baldm0mma/transformations_info_modal/ add ConcatenateHelper
* baldm0mma/transformation_info_modal/ add ConfigFromQueryHelper
* baldm0mma/transformations/info_modal/ add ConvertFieldTypeHelper
* baldm0mma/transformation_info_modal/ add CreateHeatmapHelp
* baldm0mma/transformation_info_modal/ add ExtractFieldsHelper
* baldm0mma/transformation_info_modal/ add FilterFieldsByNameHelper
* baldm0mma/transformation_info_modal/ add FilterFieldsByNameHelper
* baldm0mma/transformation_info_modal/ add OperationRowHelp to parse markdown
* baldm0mma/transformation_info_modal/ remove commented out markdown
* baldm0mma/transformations_info_modal/ remove comment
* baldm0mma/transformation_info_modal/ update configFromQueryTransformRegistryItem
* baldm0mma/transformation_info_modal/ update ConcatenateHelper
* baldm0mma/transformation_info_modal/ update ConvertFieldTypeHelper
* baldm0mma/transformation_info_modal/ update ExtractFieldsHelper
* baldm0mma/transformation_info_modal/ update FieldLookupHelper
* baldm0mma/transformation_info_modal/ update TransformationEditorHelperModal with determineContentDisplay()
* baldm0mma/transformation_info_modal/ add FilterByRefIdHelper
* baldm0mma/transformation_info_modal/ add FilterByValueHelper
* baldm0mma/transformation_info_modal/ update file ext
* baldm0mma/transformation_info_modal/ add GroupByHelper
* baldm0mma/transformation_info_modal/ add HistogramHelper
* baldm0mma/transformation_info_modal/ add JoinByFieldHelper
* baldm0mma/transformation_info_modal/ add JoinByLabelsHelper
* baldm0mma/transformations_info_modal/ add LabelsToFieldsHelper
* baldm0mma/transformation_info_modal/ add LimitHelper
* baldm0mma/transformation_info_modal/ add MergeHelper
* baldm0mma/transformation_info_modal/ add PartitionByValuesHelper
* baldm0mma/transformation_info_modal/ add ReduceHelper
* baldm0mma/transformation_info_modal/ add RenameByRegexHelper
* baldm0mma/transformation_info_modal/ add SeriesToRowsHelper
* baldm0mma/transformation_info_modal/ add SortByHelper
* baldm0mma/transformations_info_modal/ add spatial
* baldm0mma/transformation_info_modal/ update to markdown
* baldm0mma/transformation_info_modal/ remove comments
* baldm0mma/transformation_info_modal/ update boarder with theme
* baldm0mma/transformation_info_modal/ add test suite
* baldm0mma/transformation_info_modal/ update tests
* baldm0mma/transformation_info_modal/ update test to run on all transformations
* baldm0mma/transformation_info_modaol/ add TimeSeriesTableHelper
* baldm0mma/transformation_info_modal/ update concatenateHelper
* baldm0mma/transformation_info_modal/ update calculateFieldHelper
* baldmomma/transformation_info_modal/ update naming
* baldm0mma/transformation_info_modal/ update getLinkToDocs location
* baldm0mma/transformation_info_modal/ update docs
* baldm0mma/transformation_info_modal/ update language
* baldm0mma/transformation_info_modal/ rename test
* baldm0mma/transformation_info_modal/ update naming 2
* baldm0mma/transformation_info_modal/ update to helper
* baldm0mma/transformation_info_modal/ update docs
* Apply suggestions from @imatwawana
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* baldm0mma/transformation_info_modal/ update convertFieldTypeHelper capitalization
* Hack around with generating Markdown from transformations helpers (#75677 )
```console
$ cd docs
$ make sources/panels-visualizations/query-transform-data/transform-data/index.md
$ make docs
```
Browse to http://localhost:3003/docs/grafana/latest/panels-visualizations/query-transform-data/transform-data/
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* baldm0mma/transformation_info_modal/ add calculateFieldHelper
* baldm0mma/transformation_info_modal/ update concatenate
* baldm0mma/transformation_info_modal/ add fieldLookup
* baldm0mma/transformation_info_modal/ add filterFieldsByName
* baldm0mma/transformation_info_modal/ add joinByField
* baldm0mma/transformation_info_modal/ update renameByRegex
* baldm0mma/transformation_info_modal/ update getHelperContent
* baldm0mma/transformation_info_modal/ update calculateFieldTransformRegistryItem
* baldm0mma/transformation_info_modal/ update concatenateTransformRegistryItem
* baldm0mma/transformation_info_modal/ update configFromDataTransformer
* baldm0mma/transformation_info_modal/ update extractFieldsTransformRegistryItem
* baldm0mma/transformation_info_modal/ update formatTimeTransformerRegistryItem
* baldm0mma/transformation_info_modal/ update heatmapTransformRegistryItem
* baldm0mma/transformation_info_modal/ update mergeTransformerRegistryItem
* baldm0mma/transformation_info_modal/ update timeSeriesTableTransformRegistryItem
* baldm0mma/transformation_info_modal/ update doc builder
* baldm0mma/transformation_info_modal/ update docs
* baldm0mma/transformation_info_modal/ remove console log
* baldm0mma/transformation_info_modal/ update console log
* baldm0mma/transformation_info_modal/ update gitignore
* baldm0mma/transformation_info_modal/ update calculateField
* baldm0mma/transformation_info_modal/ add links
* baldm0mma/transformation_info_modal/ update template
* baldm0mma/transformation_info_modal/ update template with images
* baldm0mma/transformation_info_modal/ build markdown
* baldm0mma/transformations_info_modal/update with links
* baldm0mma/transformation_info_modal/ update links
* baldm0mma/transformation_info_modal/ apdate FormatTimeTransfomerEditor
* baldm0mma/transformation_indo_modal/ update HeatmapTransformerEditor
* baldm0mma/transformation_indo_modal/ update ConfigFromQueryTransformerEditor
* baldm0mma/transformation_indo_modal/ update CalculateFieldTransformerEditor
* baldm0mma/transformation_indo_modal/ update ConcatenateTransformerEditor
* baldm0mma/transformation_indo_modal/ update FilterByNameTransformerEditor
* baldm0mma/transformation_indo_modal/ update FilterByRefIdTransformerEditor
* baldm0mma/transformation_indo_modal/ update GroupByTransformerEditor
* baldm0mma/transformation_indo_modal/ update GroupingToMatrixTransformerEditor get helper
* baldm0mma/transformation_indo_modal/ update SeriesToFieldsTransformerEditor get helper
* baldm0mma/transformation_indo_modal/ update LabelsAsFieldsTransformerEditor
* baldm0mma/transformation_info_modal/ update MergeTransformerEditor
* baldm0mma/transformation_info_modal/ update OrganizeFieldsTransformerEditor
* baldm0mma/transformation_info_modal/ update ReduceTransformerEditor
* baldm0mma/transformation_info_modal/ update RenameByRegexTransformerEditor
* baldm0mma/transformation_info_modal/ update SeriesToRowsTransformerEditor
* baldm0mma/transformation_info_modal/ update SortByTransformerEditor
* baldm0mma/transformation_info_modal/ update extractFieldsTransformerEditor
* baldm0mma/transformation_info_modal/ update FilterByValueTransformerEditor
* baldm0mma/transformation_info_modal/ update JoinByLabelsTransformerEditor
* baldm0mma/transformation_info_modal/ update FieldLookupTransformerEditor
* baldm0mma/transformation_info_modal/ update PartitionByValuesEditor
* baldm0mma/transformation_info_modal/ update PrepareTimeSeriesEditor
* baldm0mma/transformation_info_modal/ update RowsToFieldsTransformerEditor
* baldm0mma/transformation_info_modal/ update spatialTransformRegistryItem
* baldm0mma/transformation_info_modal/ update timeSeriesTableTransformRegistryItem
* baldm0mma/transformation_info_modal/ update to helperDocs
* baldm0mma/transformation_info_modal/ update built markdown
* baldm0mma/transformation_info_modal/ run prettier
* baldm0mma/transformation_info_modal/ update comments in getTransformationContent
* baldm0mma/transformation_info_modal/ add removeMarkdownAnchorLinks
* baldm0mma/transformation_info_modal/ update annos in getTransformationContent
* baldm0mma/transformation_info_modal/ add requisite url prefix to markdown images
* baldm0mma/transformation_info_modal/ add cleanMarkdownOfUnwantedSyntax
* baldm0mma/transformation_info_modal/ update annos in content.ts
* baldm0mma/transformation_info_modal/ update e2e tests with always-visiable trabnsformation
* baldm0mma/transformation_info_modal/ remove note
* baldm0mma/transformation_info_modal/ add annotation in getTransformationContent
* baldm0mma/transformation_info_modal/ update e2e test naming
---------
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2023-11-07 09:29:45 -07:00
Oscar Kilhed
59df27cd27
Transformations: Convert calculate field transformer editor to functional component ( #77777 )
...
convert class based transformer editor to functional component
2023-11-07 15:05:05 +01:00
Alex Khomenko
25779bb6e5
Stack: Use the component from grafana/ui ( #77543 )
...
* grafana/ui: Move Stack out of unstable
* grafana/ui: Replace imports
* Replace the import from experimental
* Cleanup
* Remove invalid prop
* Add flexGrow
* Remove Stack used in Field
* Remove import
2023-11-06 18:15:52 +02:00
Victor Marin
61d63d3034
Transformations: Cumulative and window modes for Add field from calculation
( #77029 )
...
* cumulative sum
* refactor and create new mode
* refactor - use reduceOptions for new mode also
* revert naming
* Add window function, rename statistical to cumulative (#77066 )
* Add window function, rename statistical to cumulative
* Fix merge errors
* fix more merge errors
* refactor + add window funcs
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
* add ff + tests + centered moving avg
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
* make sum and mean cumulative more efficient (#77173 )
* make sum and mean cumulative more efficient
* remove cumulative variance, add window stddev
* refactor window to not use reducer for mean. wip variance stdDev
* fix tests after optimization
---------
Co-authored-by: Victor Marin <victor.marin@grafana.com>
* optimize window func (#77266 )
* make sum and mean cumulative more efficient
* remove cumulative variance, add window stddev
* refactor window to not use reducer for mean. wip variance stdDev
* fix tests after optimization
* fix test lint
* optimize window
* tests are passing
* fix nulls
* fix all nulls
---------
Co-authored-by: Victor Marin <victor.marin@grafana.com>
* change window size to be percentage
* fix tests to use percentage
* fixed/percentage window size (#77369 )
* Add docs for cumulative and window functions of the add field from calculation transform. (#77352 )
add docs
* splling
* change WindowType -> WindowAlignment
* update betterer
* refactor getWindowCreator
* add docs to content.ts
* add feature toggle message
---------
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
2023-11-03 16:39:58 +02:00
Oscar Kilhed
0eda368d32
Transformations: Deduplicate names when using extract fields
transformation. ( #77569 )
...
* dedupe field names
* add test to make sure we don't break normal case
2023-11-02 16:47:42 +01:00
Kyle Cunningham
e714c9303e
Timeseries to table transformation: Update Output Changes ( #77415 )
...
* Break out labels into separate fields
* More Updates
* Minor test changes
* Use 'A' for transformed refId
* Make sure tests pass
* Add additional test
* Prettier
* Remove dead comment
* Update time field selection options
* remove console.log
---------
Co-authored-by: Victor Marin <victor.marin@grafana.com>
2023-11-02 10:25:48 -05:00
Kyle Cunningham
71e3814c46
Transformations: Allow Timeseries to table transformation to handle multiple time series ( #76801 )
...
* Initial fix up of getLabelFields
* Update time series to table code
* Cleanup and allow merging
* Support merge and non-merge scenarios
* Update editor
* Fix case with merge true for multiple queries
* Update time series detection, fix tests
* Remove spurious console.log
* Prettier plus remove test console.log
* Remove type assertion
* Add options migration
* Add type export
* Sentence casing
* Make sure current options are preserved when making changes
* Add disabled image
* DashboardMigrator prettier
* Add type assertion explanation and exception
* Fix schema version test
* Prettier
* Fix genAI tests and make them more robust so they dont break on every new schema version
---------
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-10-27 10:30:49 -05:00