Commit Graph

29078 Commits (6d57b61c0818a13bbe98752e196aea373dcf3397)

Author SHA1 Message Date
Deniz Kusefoglu 6cbf537d16 Create task to template function and perform in export task overlay 2019-03-05 17:08:51 -08:00
Deniz Kusefoglu 73dbfe0d68 Temporarily make organization on task optional. it will be removed 2019-03-05 17:08:51 -08:00
Deniz Kusefoglu 4978fd7bc1 Remove console.log 2019-03-05 17:08:30 -08:00
Andrew Watkins 6a5780a06b
fix(ui/nav): double highlight nav menu (#12380)
* fix: nav double highlight

* refactor: use some instead of reduce
2019-03-05 16:46:20 -08:00
Christopher Henn 757fd82ac5 Remove log viewer histogram code 2019-03-05 16:38:32 -08:00
Christopher Henn fe04ef3476 Fix histogram tooltip z-index issues
Closes #11950
2019-03-05 16:38:32 -08:00
Iris Scholten f8c6fdbed7
Merge pull request #12379 from influxdata/fix/cells-context-menu
fix(ui): update z-index of cells when hovered
2019-03-05 16:29:58 -08:00
Iris Scholten a4c0d127a0 fix(ui): update z-index of cells when hovered
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2019-03-05 16:04:33 -08:00
Nathaniel Cook 3d65fda1a8
Merge pull request #12378 from influxdata/fix/csv-changes 2019-03-05 16:59:49 -07:00
Nathaniel Cook a190ddb44c fix(http): fix tests for encoding changes 2019-03-05 16:56:35 -07:00
Nathaniel Cook c9dfb44ed1 Merge branch 'master' into flux-staging 2019-03-05 16:56:25 -07:00
Alirie Gray dcb8c6e9b9
Merge pull request #12373 from influxdata/fix/remove-org-from-tasks
fix(tasks): replace organization on tasks with org name string
2019-03-05 15:07:20 -08:00
Lyon Hill 17026c2053
change task logs from a string to a struct (#12363)
* change task logs from a string to a struct
2019-03-05 15:58:33 -07:00
Alirie Gray e4b3023748 fix(tasks): replace organization on tasks with org name string 2019-03-05 14:43:50 -08:00
Nathaniel Cook da17ba0a9e chore(flux): update to Flux v0.21.3 2019-03-05 14:52:52 -07:00
Nathaniel Cook a536268f42 Merge branch 'master' into flux-staging 2019-03-05 14:43:27 -07:00
Andrew Watkins 3190869d5e
fix: flux imports in tasks (#12366)
* WIP

* fix: task page create
2019-03-05 13:32:04 -08:00
Iris Scholten e2da5f4e21
Add a cloud feature flag and prevent scrapers from showing up in cloud (#12355)
* feat(ui): Add a cloud feature flag and prevent scrapers from showing up in cloud

* fix(ui): Update constant to be more readable

Co-Authored-By: ischolten <ischolten.is@gmail.com>
2019-03-05 13:23:15 -08:00
Andrew Watkins 11989a1708
fix: replace hardcoded localhost:9999 with browser origin (#12359) 2019-03-05 12:00:21 -08:00
Nathaniel Cook 3d79cffc82 Merge branch 'master' into flux-staging 2019-03-05 12:50:42 -07:00
Stuart Carnie da24fe6c7f feedback(reads): Clear r.buf before read 2019-03-05 11:45:51 -07:00
Stuart Carnie acc94985e3 fix(reads): Add retry when fetching data from StreamReader
It is possible a StreamReader (gRPC) may return an empty response. This
change adds retry and bail-out support. When a bail-out occurs,
reads.ErrStreamNoData is returned.
2019-03-05 11:45:51 -07:00
Stuart Carnie 28976e9b92 feat: Allow StreamReader to provide cursors.CursorStats
StorageReadClient adapts a gRPC Storage_ReadClient to provide
cursors.CursorStats by reading the trailer after receiving the final
message from the stream.
2019-03-05 11:45:51 -07:00
Stuart Carnie 5f241e5e5e fix(reads): Read Statistics before calling Close 2019-03-05 11:45:51 -07:00
Mark Rushakoff 6591191359 test(task): allow log reader/writer test harness to provide authz
This is particularly relevant when the backing systems (like a real
query service) check authorizations.
2019-03-05 09:02:22 -08:00
Nathaniel Cook 6daf289e29 Merge branch 'master' into flux-staging 2019-03-05 10:00:39 -07:00
Andrew Watkins aa640cb5e3
refactor: make get labels generic (#12351)
* refactor: make get labels generic

* wip: list all buckets on configuration page

* feat: get buckets from redux

* feat: add create buckets to configuration page

* feat(ui/buckets): add update to config page

* feat(buckets/ui): delete buckets from config page

* fix: tsc error

* chore: update snapshots
2019-03-05 08:31:08 -08:00
alexpaxton 4c3679358b
Components for handling inline label editing (#12241)
* First pass at component family for handling inline label editing

* Simplify util for checking if a label has a unique name

* Update new components to use Label type from client

* Add return type to helper function

* Remove excess camel casing

* Incorporate create label overlay into inline labels component

* Simplify reducer

* Use common OverlayState instead of local

* Guard against missing arg in label name validation
2019-03-04 17:16:01 -08:00
Chris Goller 9a3e0ea425
Merge pull request #12352 from influxdata/feat/query-service-context
feat(http): query client fallback uses context auth
2019-03-04 18:53:17 -06:00
Andrew Watkins e3d68893db
refactor(ui/labels): store label state in redux store (#12347)
* feat(config): add labels reducer with set labels action

* refactor: fetch labels with thunk

* feat(labels): introduce add label to reducer

* feat(labels): create a label and add to store

* feat(labels): add edit label action

* feat: add update labels to redux

* feat: delete label in redux

* feat: add redux delete to config labels
2019-03-04 16:14:49 -08:00
Delmer 1b5ac814d6
test(de): remove a second query (#12293) 2019-03-04 18:52:32 -05:00
Christopher Henn a52022d93c Refactor time machines state
Removes the unused `type` and `sourceID` fields from a `DashboardQuery`.

Derives the `manuallyEdited` bool for the active time machine query from
existing state rather than explicitly tracking it.

Removes vestigial support for editing queries as InfluxQL.

Removes the unused `LogViewer` view type.

Closes #12266
2019-03-04 15:51:16 -08:00
alexpaxton 818c6279a8
Polish/scraper overlay (#12317)
* Condense layout of scraper form

* Introduce overlay component for creating scrapers

* Simplify Bucket selection dropdown

* Relocate create scraper overlay component

* Introduce create scraper form component

* Add missing blank header cell to scrapers table

* Fix URL validation

* WIP cleanup

* Use CreateScraperOverlay in buckets list

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Remove unused components and update tests a little bit

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Update unit tests

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Allow override of initial bucket selection in create scraper overlay

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Disable scraper/collector create button and show warning when no buckets exist

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Introduce alert component in clockface

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Use alert component in no buckets warning

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Update scraper e2e tests

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>

* Update changelog

Co-Authored-By: Iris Scholten <ischolten.is@gmail.com>
2019-03-04 15:39:23 -08:00
Christopher Henn 2c771d515d Fix building queries with derivatives 2019-03-04 15:19:29 -08:00
Chris Goller 864eb91f7a feat(http): query client fallback uses context auth
Co-authored-by: Mark Rushakoff <mark@influxdata.com>

Tasks instantiates the query service but does not know the token
it will use ahead of time.  This allows the token to be optionally
set on contex.
2019-03-04 17:19:01 -06:00
Alirie Gray 6f8a44746f
Merge pull request #12341 from influxdata/variables/feature-flag-explorer-tab
refactor(explorer): hide variables tab in explorer behind feature flag
2019-03-04 14:40:59 -08:00
Delmer cc852fff7b
chore(ui/client): update ui client to 0.2.21 (#12339)
* chore(client/update): update client to 0.2.21
2019-03-04 17:32:23 -05:00
Alirie Gray c09a4b3276 refactor(explorer): hide variables tab in explorer behind feature flag 2019-03-04 14:30:24 -08:00
Alirie Gray ff720f76f4
Merge pull request #12338 from influxdata/variables/manage-page
fix(variables): close create overlay when new variable created
2019-03-04 14:05:59 -08:00
Alirie Gray aa07c6321e fix(variables): close create overlay when new variable created 2019-03-04 13:44:50 -08:00
Jacob Marble b9c7ec439e
feat(influxd): Tracing refactor (#12318)
* feat(launcher): Tracing to log disabled by default

* remove traceLogger and use opentracing directly

* add Jaeger tracing

* go vet && go fmt
2019-03-04 11:48:11 -08:00
Delmer b632b493ae
fix(ui/editablename): add spinner to pending name edits (#12327) 2019-03-04 13:17:54 -05:00
Christopher Henn 1e33de0892 Fix invalid query submission on Data Explorer load
Fixes an issue where the Data Explorer would issue an empty (invalid)
query upon first load.

Adds a test to catch similar regressions in the future, and refactors
e2e tests to use a `testID` for asserting that empty graph messages
exist.

Closes #12326
2019-03-04 10:12:19 -08:00
Jeff Wendling 052421d5d6
Merge pull request #12207 from influxdata/jmw-fix-resource-ownership
storage: fix problems with keeping resources alive
2019-03-04 10:58:46 -07:00
Mark Rushakoff e99c505287 refactor(http): only generate bindata asset for swagger.yml
The previous "." argument with "-ignore go" accidentally matched
README.md and Makefile too, neither of which we care to actually include
as assets.

Now we just explicitly include swagger.yml. It's simple enough to add
another file to the go:generate line if and when we need it.
2019-03-04 09:40:00 -08:00
Christopher Henn 08da3bc24d Update Cypress test with new variable convention 2019-03-04 09:13:41 -08:00
Christopher Henn 5d5f1c1956 Fix "Save As Task" feature 2019-03-04 09:13:41 -08:00
Christopher Henn 4ced47417f Use extern parameter for variable substitution 2019-03-04 09:13:41 -08:00
Christopher Henn 04d48a434c Add extern parameter to executeQuery util 2019-03-04 09:13:41 -08:00
Christopher Henn e925467aed Remove unused language parameter from query utils 2019-03-04 09:13:41 -08:00