grafana/docs/sources
Totalus 754aca25c5
Transformation: added support for excluding/including rows based on their values. (#26884)
* Adding FilterByValue transformer skeleton

* Connecting options with Editor

* Improving UI and making deep copy of options on change.

* Improving Transformation Editor UI

* Implementing Regex filtering

* Adding valueFilters.ts and creating filter registry

* Connecting the test function

* Correcting TypeScript errors

* Using FilterInstance instead of simple Filter test function

* Adding field.type as filter options

* Improving UI. Adding custom placeholder depending on filter.

* Implementing a few more filter types

* Implementing more filters

* Return original data if no filter were processed

* Improving UI

* Correcting TS errors

* Making sure inequality transform are invalid until the filterExpression is not empty

* Cleanup in the UI file

* Improving UI (highlight invalid fields)

* Only show filterType that are supported for the selected field

* Adding tests + correction of a filter

* Adding transformer test

* Adding doc

* Cleanup

* Typing props for FilterSelectorRow component

Co-authored-by: Marcus Andersson <systemvetaren@gmail.com>

* Moving rendering in the JSX

Co-authored-by: Marcus Andersson <systemvetaren@gmail.com>

* Memoizing filterTypeOptions computation

Co-authored-by: Marcus Andersson <systemvetaren@gmail.com>

* Improve code compactness

Co-authored-by: Marcus Andersson <systemvetaren@gmail.com>

* Cleanup + solving TS errors

* Updating some labels

* Wrapping stuff around useMemo and useCallback

* Using cloneDeep from lodash

* Don't highlight field name input if null

* Removing time type fields in selectable options

* We want loose equality in this scenario.

* Adding `onChange` to useCallback dependencies

Co-authored-by: Marcus Andersson <systemvetaren@gmail.com>

* Include or exclude matching any or all conditions

* Correcting field name matching

* Cleanup

* Don't highlight the filterExpression input when its empty

* Adding Range filter

* Updating doc

* Correcting TS error

* Only showing the Match All/Match Any option if more than one condition

* Two inputs for the Range filter instead of one

* Improving invalid highlight for Range filter type

* Cleanup

* Improving labels in UI

* Using ButtonSelect to improve UI

* editor UI updates.

* Updating tests

* Adding component for Regex

* Improve TS typing

* Adding components for the other filter types.

* Cleanup

* Correct error

* Updating valueFilter.test.ts

* Updating filterByValue.test.ts

* Reverting and removing Range filter

* Update docs/sources/panels/transformations.md

* starting to implement poc.

* added a small poc.

* wip

* added tests.

* added structure for dynamic value matcher editors.

* added more support.

* added some more value matchers.

* removed unused value filters.

* added some more matchers.

* adding more matchers.

* added a range matcher.

* fixing some tests.

* fixing tests.

* remove unused dep.

* making the matching a bit more performant.

* UX improvements and alignment fixes

* fixed delete button.

* fixed some spacing in the UI.

* added docs for matchers.

* adding docs and exposing value matcher types.

* will store dateTime as string.

* updated docs according to feedback.

* moved filter by value in transformation list.

* Improved description.

* added regex value filter.

* added support for regex.

* fixing failing tests.

Co-authored-by: Marcus Andersson <systemvetaren@gmail.com>
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2020-12-01 10:22:37 +01:00
..
administration Alerting: Add support for Sensu Go notification channel (#28012) 2020-11-27 19:09:24 +02:00
alerting Alerting: Add support for Sensu Go notification channel (#28012) 2020-11-27 19:09:24 +02:00
auth Docs: updates for file-based menu (#28500) 2020-11-09 12:26:49 -08:00
best-practices Docs: updates for file-based menu (#28500) 2020-11-09 12:26:49 -08:00
dashboards Docs: updates for file-based menu (#28500) 2020-11-09 12:26:49 -08:00
datasources Explore/Logs: Update Parsed fields to Detected fields (#28881) 2020-11-23 20:10:09 +01:00
developers Plugins: Add support for includes' icon (#29416) 2020-11-27 10:48:37 +01:00
enterprise Docs: updates for file-based menu (#28500) 2020-11-09 12:26:49 -08:00
explore Explore/Logs: Update Parsed fields to Detected fields (#28881) 2020-11-23 20:10:09 +01:00
getting-started Getting started with Grafana and MS SQL (#29401) 2020-11-25 18:53:10 -05:00
http_api Docs: Fixes what'new menu and creates index page, adds first draft of release notes to docs (#29158) 2020-11-17 16:16:49 +01:00
installation Docs: docker -> Docker (#29331) 2020-11-26 16:32:37 +01:00
linking Docs: Accurately reflecting available variables (#29302) 2020-11-24 09:49:28 +01:00
manage-users Docs: updates for file-based menu (#28500) 2020-11-09 12:26:49 -08:00
panels Transformation: added support for excluding/including rows based on their values. (#26884) 2020-12-01 10:22:37 +01:00
permissions Docs: Add Cloud content links (#29317) 2020-11-25 11:46:35 -08:00
plugins Docs: updates for file-based menu (#28500) 2020-11-09 12:26:49 -08:00
release-notes ReleaseNotes: Updated changelog and release notes for 7.3.4 (#29430) 2020-11-27 10:53:13 +01:00
shared Docs: Fix links (#28945) 2020-11-09 10:52:55 -08:00
sharing Docs: updates for file-based menu (#28500) 2020-11-09 12:26:49 -08:00
troubleshooting Docs: updates for file-based menu (#28500) 2020-11-09 12:26:49 -08:00
variables docs: fix repeated dashboards link (#29002) 2020-11-10 21:48:54 +01:00
whatsnew Explore/Logs: Update Parsed fields to Detected fields (#28881) 2020-11-23 20:10:09 +01:00
_index.md Getting Started: Updated index topic, removed "what-is-grafana", and adjusted weight o… (#29216) 2020-11-19 10:37:18 -05:00
menu.yaml Getting Started: Updated index topic, removed "what-is-grafana", and adjusted weight o… (#29216) 2020-11-19 10:37:18 -05:00