Commit Graph

2404 Commits (e5eac576fbed3a36054039f7b75788bc22bf8726)

Author SHA1 Message Date
Chris Goller 837a410bea
feat(http): gzip compress the query CSV response. (#14495)
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%
2019-07-29 14:47:55 -05:00
Alirie Gray c04f3a2b30 chore(tasks): remove old auth code and allow only token auth 2019-07-26 09:51:32 -07:00
George a481d4ab5d
fix: enforce bucket authentication on task update (#14480) 2019-07-26 17:37:45 +02:00
Alirie Gray 65e9bde6cc chore(tasks): update changelog (#14468) 2019-07-25 15:50:15 -07:00
Russ Savage 7e1ff6c59e
updating changelog for alpha 16 release 2019-07-25 15:23:46 -07:00
Russ Savage aa004e9aa8
moving bugfix to the correct release 2019-07-25 15:03:24 -07:00
Russ Savage 441b3b2e3b
updated changelog (#14463) 2019-07-25 14:46:14 -07:00
kelwang ff9ef66472 feat(influxdb): add missing change log (#14461) 2019-07-25 14:45:13 -07:00
Iris Scholten 050c7a4e31 chore: move changelog update to correct release (#14462) 2019-07-25 14:35:25 -07:00
Iris Scholten e15469abfd
chore: Update changelog (#14460) 2019-07-25 14:20:04 -07:00
Russ Savage 3dafbc6c62
Fixed task manual run notification type (#14412)
* Fixed task manual run notification type

* updating changelog

* fixing trailing whitespace in stale.yml config
2019-07-22 17:08:23 -07:00
Nate Isley 5e2b92927d
Update CHANGELOG.md
Co-Authored-By: Christopher Henn <chris@chrishenn.net>
2019-07-11 14:05:29 -07:00
Nate Isley b58f8d71e4
updating changelog for alpha 15
updating changelog for alpha 15
2019-07-11 14:00:36 -07:00
Christopher Henn 0ea2c009c0
chore(ui): update changelog with time zone PR 2019-07-11 09:50:16 -07:00
George 61e35a8554
fix(tasks) report errors found when iterating over flux query (#14287)
* 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
2019-07-11 17:45:45 +01:00
Nate Isley 3b34bc8330
Update CHANGELOG.md
Co-Authored-By: Christopher Henn <chris@chrishenn.net>
2019-06-28 07:27:25 -07:00
Nate Isley f11a11ec18
Update CHANGELOG.md
Co-Authored-By: Christopher Henn <chris@chrishenn.net>
2019-06-28 07:23:49 -07:00
Nate Isley d896dc2155
Update CHANGELOG.md 2019-06-28 07:13:41 -07:00
Adam Perlin a88cf8d06a feat(storage): Add verify-wal tool to changelog 2019-06-27 16:28:28 -07:00
Palak Bhojani 5d4799d868 Update changelog for updating a task token 2019-06-25 11:39:26 -07:00
Palak Bhojani 875efabc68 Update changelog for token selection 2019-06-24 14:21:12 -07:00
Christopher Henn 097867bfb8 fix(ui): prevent variable dropdown from clipping
Closes #14075
2019-06-19 15:39:40 -07:00
Christopher Henn 4bd7320f7c fix(ui): update client version to resolve query bottleneck
Closes #14084

Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2019-06-19 11:02:13 -07:00
Nate Isley eb431f9570
Update CHANGELOG.md 2019-06-13 16:57:56 -07:00
Brandon Farmer af1a217bea Update changelog for static templates 2019-06-13 14:10:39 -07:00
Nate Isley 4919d934e3
Merge branch 'master' into nisley-patch-alpha-12 2019-06-13 11:53:53 -07:00
Christopher Henn fe3869d60e feat(ui): add option to shade area below line graphs 2019-06-13 11:36:08 -07:00
Nate Isley c6fbfcb18d
Update CHANGELOG.md 2019-06-13 11:12:08 -07:00
Christopher Henn eee4416809 feat(ui): upgrade giraffe dependency 2019-06-07 16:06:11 -07:00
Christopher Henn f2d198c169 feat(ui): enable formatting line graph y ticks with binary prefix 2019-06-04 17:37:31 -07:00
Nate Isley 03c53f9bc6
Update CHANGELOG.md 2019-05-31 08:41:11 -07:00
Nate Isley ba6448e2d0
update changelog 2019-05-30 16:50:29 -07:00
Nate Isley ca18fdb6f7
updating changelog with alpha 10 release date 2019-05-30 10:22:40 -07:00
Deniz Kusefoglu 192998d1e5
Add scatter (#13974)
* 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
2019-05-28 13:15:29 -07:00
Christopher Henn 9ef08fdc17 feat(ui): expose smooth interpolation option for line graphs
Closes #13762
2019-05-17 13:45:03 -07:00
Christopher Henn 1a59fbc174 fix(ui): fix crash in time machine when opening vis settings
Closes #13813
2019-05-17 12:15:14 -07:00
Iris Scholten 2e26f23f9e
feat(authentication): Add cli args for specifying session length and renewal (#13924)
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
2019-05-15 10:16:47 -07:00
Iris Scholten 9cb2b339cf feat(ui): Export and download resource with formatted resource name 2019-05-14 16:34:38 -07:00
Iris Scholten 41e578a4c2 chore(ui): Use ResourceList component for Scrapers List 2019-05-13 10:30:56 -07:00
Christopher Henn adfb6a9b46 fix(ui): improve single stat computation
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
2019-05-10 07:29:24 -07:00
Chris Goller a010e7b516
feat(tasks): add description field to tasks (#13850)
feat(tasks): add description field to tasks
2019-05-09 10:38:18 -05:00
alexpaxton c1ad0f03de
Fix jumbled labels on card select cards (#13856)
* Fix jumbled labels on card select cards

* Updoot
2019-05-08 15:41:26 -07:00
Alirie Gray 77934b01c6 feat(tasks): add description field to tasks 2019-05-08 13:39:09 -07:00
alexpaxton c32f2dfc81
Polish/query builder checkboxes (#13835)
* 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
2019-05-07 15:48:45 -07:00
alexpaxton ae96d2ddcb
Polish Variable Dropdowns (#13823)
* Make variables toggle button themed to match variables

* Make dropdowns only be draggable from the hamburger

* Polish styles of variable dropdown

* Updoot
2019-05-07 13:54:34 -07:00
Christopher Henn afd4c6b902 fix(ui): expand tab key presses to 2 spaces in the Flux editor 2019-05-06 14:48:28 -07:00
Christopher Henn e029a95ad3 fix(ui): generate more idiomatic Flux in query builder 2019-05-06 14:39:13 -07:00
Iris Scholten 20dcbafb2f fix(ui): ensure map type variables can get selected key 2019-05-06 12:58:32 -07:00
Russ Savage 82eb9099a6
remove telegraf bucket name from getting started with flux template (#13753)
* remove telegraf bucket name
2019-05-02 08:56:50 -07:00
Russ Savage 391ca7acc1
adding section for alpha 10 (#13744) 2019-05-01 14:00:26 -07:00
Russ Savage 050c6e35c5
updating changelog for alpha-9 (#13739) 2019-05-01 13:24:28 -07:00
Russ Savage 954ba9601d
update the system time function (#13742)
* update the system time function
2019-05-01 13:17:36 -07:00
Russ Savage 1f63aba1a9
fix a typo in the range example (#13738)
fix a typo in the range example
2019-05-01 12:26:15 -07:00
Russ Savage 9a7840aae0
fixing window example (#13732) 2019-05-01 10:38:18 -07:00
Russ Savage 90f42df107
Fixing templates to address float != int error (#13718)
Fixing system template to address float != int error in flux
2019-04-30 14:13:23 -07:00
Russ Savage 3e6ac0cc1e
adding local metrics dashboard for quickstart (#13715)
Adding local metrics dashboard for quickstart
2019-04-30 12:31:39 -07:00
Andrew Watkins f2fd7d6728
feat(ui/explorer): add imports to flux scripts (#13711)
* fix(ui) Update flux function docs and examples

* add package property to FluxToolbarFunction

* added package property to built-in flux functions

* added package propert to the toFloat function

* prettified fluxFunction.ts

* updated columns parameter on derivative function

* added newline after derivative desc for prettier fluxFunction.ts

* chore(e2e): updsate cypress to 2.0

* feat(query-builder): add import statements

* wip

* feat(ui/builder): simplify import addition logic

* test: remove only

* chore: linting

* test: string organization
2019-04-29 21:56:36 -07:00
Russ Savage 0983797b14
updated markdown link to a more useful site (#13602)
* updated markdown link to a more useful site
2019-04-24 17:03:46 -07:00
Iris Scholten cdb325d0e0 fix(ui): Display error message from writing line protocol 2019-04-24 14:26:41 -07:00
Iris Scholten ad0b0891de
Merge pull request #13601 from influxdata/feat/buckets-token
feat(ui): Add option to generate read / write token
2019-04-24 11:19:41 -07:00
Iris Scholten 62f2d632e5 feat(ui): Add option to generate read / write token 2019-04-24 11:09:12 -07:00
alexpaxton 191c16c474
Use DapperScrollbars in inline label editor (#13584)
* wip

* Minor tweaks

* Updoot
2019-04-23 14:56:01 -07:00
alexpaxton 17caffe309
Fix Dropdown Overlapping Dot & Text (#13585)
* Only remove item padding when mode is action list and no selectedID is passed in

* Updoot
2019-04-23 12:10:28 -07:00
Iris Scholten 0f01067f60 feat(ui): Add option to generate an all access token 2019-04-22 17:58:50 -07:00
Delmer Reed 4684b9fac0 feat(ui/buckets): add buckets danger zone
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2019-04-19 17:02:45 -04:00
Lyon Hill 726fbefe9a
Integrate the new changes to tasks (#13473)
* Integrat the new changes to tasks
2019-04-19 08:37:59 -06:00
Iris Scholten 24bd1850a6 feat(ui): Add orgname to dashboard page title 2019-04-18 12:57:29 -07:00
Iris Scholten 5fbca241d6 feat(ui): Add ability to rename org 2019-04-17 16:57:18 -07:00
alexpaxton 2b8c17b767
Polish Create From Template Overlay (#13424)
* 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
2019-04-16 13:58:27 -07:00
Iris Scholten a14e64af27 feat(ui): Set autorefresh of that dashboard to pause if absolute time range is selected 2019-04-16 10:45:36 -07:00
Russ Savage 2c4deb8b96
Update for alpha 8 release 2019-04-12 15:39:33 -07:00
Russ Savage 70100b2f98
adding new default template for getting started with flux (#13345)
* adding new default template for getting started with flux
2019-04-12 13:10:04 -07:00
Iris Scholten 7c0d4f85c3 feat(ui): sync note editor text and preview scrolling 2019-04-10 16:44:31 -07:00
Alirie Gray 8af997e490 feat(nav): allow user to switch orgs from the navbar 2019-04-04 16:08:57 -07:00
Palak Bhojani dbfe926ea0 Add the ability to add labels on variables 2019-04-04 11:21:36 -07:00
Alirie Gray bceac1ab97 feat(dashboards): add overlay to create dashboard from template 2019-04-02 14:33:04 -07:00
Palak Bhojani 2683651b8c Add the ability to edit token's description 2019-04-01 09:27:00 -07:00
Russ Savage 3ceae6198a
Updating for alpha 7 (#13006) 2019-03-28 17:54:27 -07:00
alexpaxton 133b131617
Introduce DapperScrollbars (#12961)
* Install new scrollbars library

* First pass at new wrapper for scrollbars

* Replace FancyScrollbars with DapperScrollbars in Page components

* Polish DapperScrollbars

* Update dropdown component to use DapperScrollbars

* Update a couple dropdowns to conform to new constraints

* Update legend to use Dapper Scrollbars

* Fix linting error

* Implement DapperScrollbars in overlays

* Ensure proper functionality in page contents

* Use fixed sizing for overlay scrollbars

* Updoot
2019-03-28 15:05:26 -07:00
Iris Scholten d7780e107e
Merge pull request #12958 from influxdata/feat/import-variables
feat(ui): Create import overlay to import variables
2019-03-27 15:23:06 -07:00
Christopher Henn 9252677b89 Fix routing loop (#12959) 2019-03-27 15:22:48 -07:00
Iris Scholten d4b3de6a83 feat(ui): Create import overlay to import variables 2019-03-27 15:05:56 -07:00
Alirie Gray 358b065f0c feat(templates): add ability to update template name inline 2019-03-27 11:20:58 -07:00
Palak Bhojani aa79a26a71 Add the ability to clone a template 2019-03-26 15:32:20 -07:00
Iris Scholten 30a704f406 feat(ui): Persist variables control bar preferences 2019-03-26 13:57:47 -07:00
Palak Bhojani 1e1f57dfdb Add the ability to delete a template
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2019-03-26 09:43:20 -07:00
Alirie Gray 85e44b2ce3 feat(dashboard): add ability to change order of variable dropdowns 2019-03-25 12:40:46 -07:00
Palak Bhojani 1f8cb6eee8 Add the ability to enable or disable a token 2019-03-25 11:29:56 -07:00
Christopher Henn 7d7d366684 Surface errors appearing within Flux tables 2019-03-25 10:20:28 -07:00
Iris Scholten 433f99f994 ensure editor is focused when editing/creating note 2019-03-22 15:00:59 -07:00
Iris Scholten 95b005e8a2 Add copy button to export overlays 2019-03-22 13:26:49 -07:00
Christopher Henn 3615f84454 Fix Raw Data view screen tearing bug 2019-03-22 09:35:34 -07:00
Iris Scholten fb9434cbf8 fix(ui): Stop hiding horizontal scrollbar in flux raw data view
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2019-03-20 16:03:32 -07:00
Christopher Henn 60ae4628a4 Use selected time range for metaqueries in DE 2019-03-20 15:44:21 -07:00
Alirie Gray 5bf72b962d fix(tasks): clear existing task schedule when changing types 2019-03-20 15:03:13 -07:00
Alirie Gray 8a3a6ff1e5 fix(configuration): check everySeconds on retentionRule on create bucket 2019-03-20 13:36:26 -07:00
alexpaxton b1d8325207
Move bucket selection to first card in Query Builder (#12782)
* Break out raw data toggle into own component

* Move bucket selection into "first" card in query builder

* Appease linter gods

* Updoot
2019-03-20 13:06:30 -07:00
Iris Scholten 452dd5a30c Update the scrapers and variables empty state to match other org views 2019-03-19 16:31:37 -07:00
Alirie Gray 4309a70c1b
Merge pull request #12706 from influxdata/feat(variables)/add-to-script-from-side-menu
feat(variables): add ability to add a variable to script from side menu
2019-03-19 09:52:47 -07:00
Alirie Gray e8ffda2a62 feat(variables): add ability to add a variable to script from side menu 2019-03-19 09:41:22 -07:00