* refactor(ui): add default values for deadman condition
* refactor(ui): limit values to 2 decimal places when dragging thereshold handles
* refactor(ui): prevent system buckets from being deleted or renamed
* refactor(ui): indicate which buckets are system buckets
* refactor(ui): prevent user from creating buckets starting with _
* refactor(ui): remove system bucketes from generate token overlay
* refactor(ui): remove system buckets from bucket dropdowns
* chore(ui): update changelog
* refactor(ui): move check message to its own card
* refactor(ui): ensure builder cards fill width of overlay
* refactor(ui): make conditions boxes fill width of parent
* refactor(ui): allow check properties card to grow
* refactor(ui): remove matching rules card
* chore(ui): update changelog
e2e tests are failing because the fancyscroll bar component hides
the admin step during certain points in onboarding.
We were able to reproduce when the form in the admin step had been
marked as valid.
The use of the scrollbar in the setting seemed unneeded as it could
be rendered in a quite small window.
Therefore, we removed the scrollbar altogether for now.
Co-authored-by: Christopher Henn <chris@chrishenn.net>
* refactor(ui): move QuestionMarkTooltip into shared folder
* refactor(ui): delete unused component
* refactor(ui): allow QuestionMarkTooltip to wrap other elements
* refactor(ui): Add question mark tooltips to alerting column headers
* refactor(ui): color code buttons to indicate importance and grouping
* refactor(ui): swap order of endpoints and rules columns
* refactor(ui): show "first time" widget when no alerting resources exist
* refactor(ui): update alerting empty copy
* refactor(ui): ensure onboarding tooltips are using the correct prop names
* refactor(ui): remove tests for tooltips in admin step
These should be handled by Clockface instead
* refactor(ui): fix affected e2e test
* chore(ui): update changelog
* refactor(ui): expose bucket options as buttons instead of context menu
* chore(ui): update changelog
* refactor(ui): increase distance between bucket options and meta line
To have checks and notifications happen transactionally we need to be
able to alert the task system when a new task was created using the checks and notifications systems.
These two new middlewares allow us to inform the task system of a update
to a task that was created through the check or notification systems.
* refactor(ui): extend url activator to check on deeper URLs
* refactor(ui): create load data nav and page components
* refactor(ui): update telegrafs, scrapers, and buckets to use load data nav
* refactor(ui): update side nav and router to expose load data tab
* chore(ui): update changelog
* refactor(ui): update link to telegrafs page from status page
* refactor(ui): fix broken routes
* refactor(ui): make settings page tabs consistent with load data tabs
* refactor(ui): appease the linter gods
* refactor(ui): attempt to fix e2e tests
* adding new templates; removing calls to create templates
* fixing quickstart dashboard creation
* Type dashboard template
* bump templates repo version
* add templateID to template meta in swagger
* Add templateID to document meta type in UI
* add templateID to telegrafPlugin and telegrafplugin info types
* Instantiate templates from static templates
* Get tests to pass
* Fix type conflicts
* Bump templates version
* update changelog
If client requests with Accept-Encoding: gzip, then
compress response and return with Content-Encoding: gzip.
This increases the server-side load by about 12%, but saves network bandwidth.
benchmark old ns/op new ns/op delta
Benchmark_Query_no_gzip-4 123609 137885 +11.55%
benchmark old allocs new allocs delta
Benchmark_Query_no_gzip-4 149 150 +0.67%
benchmark old bytes new bytes delta
Benchmark_Query_no_gzip-4 14297 15205 +6.35%
* Report errors found when iterating over flux query in task
* Add failing test for tasks executor result iterator exhaust failure
* Ensure errors exhausting tasks query result iterator are surfaced as task failure
* Update CHANGELOG with task result iteration error surfacing fix
* Add scatter to visualization types dropdown
* Add initial scatter options
* Add scatter visualization to view switcher
* Add scatter to VEO
* Add scatter type to graph types
* Expand scatter options
* Update changelog
* Change scatter color type to strings
* Assume fluxgroupkey is set
* Regularize scatter options
* Place scatter behind feature flag
Co-authored-by: Jade McGough <jade@influxdata.com>
* Add session renew option to launcher and use in middlewhere
* pass session options to services
* Update SessionAutoRenew to SessionRenewDisabled
* Add test for service constructor defaults
* Update changelog
The method we used to compute a single stat / gauge value previously did
account for missing data. If the latest value in a response was part of
a numeric column but was null/NaN/not defined, the single stat
computation would fail and a user would see an error message "Could not
display single stat because your values are non-numeric".
This commit updates the single stat computation to find the latest
*defined* numeric values.
If no latest valid numeric values are found, we will either:
- Display an error message if using the compuation within a single stat
visualization
- Display nothing if using the computation within a within a line +
single stat visualization (i.e. display the line vis only)
If multiple latest values are found, we make an arbitrary selection
(same as previous behavior). The goal is to eventually expose UI
elements to the user so they can make this selection themselves.
This commit also updates the single stat computation to use the
@influxdata/vis `Table` format as an intermediate/parsed representation
of a Flux CSV response. This unlocks the possibility for performance
gains in our CSV parsing. See #13852.
Closes#13824
* Add optional multiselect styling to query builder lists
* Style buckets list to be single select
* Style function list to be multi-select
* Style tag selector to be multi-select
* Updoot
* Appease the linter gods
* Fix scrollbars in selector list
* Make variables toggle button themed to match variables
* Make dropdowns only be draggable from the hamburger
* Polish styles of variable dropdown
* Updoot
* Move and rename components
* Break overlay into subcomponents
* Create empty state with link when no templates exist
* Break down template overlay components further
* Enable scrolling in overlay
Use custom UI instead of responsive grid
* Updoot changelog
* Fix e2e test
* Improve readability of code
* Import types from src/types instead of directly from client
* Import type from src/types instead of directly from client
* Do not display version of template in details panel
* WIP import types from src/types instead of directly from client
* Fix template types