Commit Graph

29237 Commits (3092faace87760f8ee33930194978decb1931fb3)

Author SHA1 Message Date
Mark Rushakoff 3092faace8 test(task): ensure task can be created over HTTP using org name
Closes #12089.
2019-03-14 21:23:14 -07:00
Mark Rushakoff ce7b53ef37 feat(task): log authorization errors
This should simplify debugging when a user isn't allowed to do something
with a task, that they expect to be able to do.
2019-03-14 14:04:37 -07:00
Christopher Henn 1e91da7d48 Fix ESLint errors 2019-03-14 13:58:29 -07:00
Christopher Henn 9c1abbf307 Fix typo with linting script 2019-03-14 13:58:29 -07:00
alexpaxton 4b53d29b63
Fine tune inline label keyboard interactions (#12610)
* Fine tune keyboard shortcuts during inline label flow

* Update changelog

* Update label type in mocks

* WIP Add unit tests for inline label editing components

* WIP Add unit tests for inline interactions

* Write slightly more integrated test

* Just a couple more unit tests

* Add missing key to element in map

* Fix e2e tests
2019-03-14 13:15:21 -07:00
Deniz Kusefoglu 71bc904273
Merge pull request #12637 from influxdata/document-types
Add required types to swagger
2019-03-14 12:12:41 -07:00
Deniz Kusefoglu 14688cd5c7 Add required types to swagger 2019-03-14 12:02:33 -07:00
Christopher Henn ccc8165b16 Move TimeMachine query data into Redux
Closes #12613
2019-03-14 11:34:05 -07:00
Stuart Carnie df03617e65
Merge pull request #12615 from influxdata/sgc/cobra-command
Migrate influxd binary to cobra Command package
2019-03-14 10:10:49 -07:00
Lyon Hill fca6a9c412
Ensure when a manual run is called we run it as soon as possible (#12593)
* Ensure when a manual run is called we run it as soon as possible
2019-03-14 10:25:45 -06:00
Stuart Carnie c8d70fdaf0
feedback(influxd): Use InfoLevel constant 2019-03-14 09:23:54 -07:00
Stuart Carnie c7c58275f9
feedback(influxd): Respond to PR feedback
* Add CHANGELOG entry
* Remote erroneous comment
2019-03-14 09:23:53 -07:00
Stuart Carnie e8045ae187
feat(influxd): Migrate influxd binary to cobra Command package
This commit consists of several improvements or changes:

* migrate the influxd binary to cobra.Command
* introduce a default run sub-command to start the server
* register the run sub-command flags with viper
  to maintain compatibility with the existing behavior of automatic
  binding of flags to environment variables.

Closes #12602
2019-03-14 09:23:53 -07:00
Stuart Carnie f5c54a00b0
feat(influxdb): Add global BuildInfo
Permits binary packages to set a global BuildInfo state that
can be inspected by other packages
2019-03-14 09:23:53 -07:00
Jonathan A. Sternberg 0d045630c8
fix(query): release the query results before requesting statistics (#12622)
The statistics are only finalized after release is called. Defer a call
to release to ensure they are released, but explicitly release on
success to ensure that the statistics are finalized from all sources
before returning them.
2019-03-14 11:12:53 -05:00
Jonathan A. Sternberg e3ac5ffecf
feat(query/mock): create a mock object for the query interface (#12628) 2019-03-14 11:08:48 -05:00
Jonathan A. Sternberg 1d996630b1
fix(http): set the authorizer on the context in proxy query handler (#12605) 2019-03-14 10:19:47 -05:00
tmgordeeva a8b9f5d803
Merge pull request #12604 from influxdata/tg-health
check: restore force healthy
2019-03-13 22:43:00 -07:00
Tanya Gordeeva 691ee23027 check: restore force healthy
Restores a force healthy/unhealthy option previously in 2.0 code.
2019-03-13 21:31:44 -07:00
Deniz Kusefoglu ea7b5be093
Merge pull request #12621 from influxdata/fix-dashboards-in-org
Fix dashboards in org
2019-03-13 19:39:56 -07:00
Deniz Kusefoglu 9175fdb1e2 Fix all the sadness in dashboards 2019-03-13 19:18:18 -07:00
Deniz Kusefoglu b68793238f Remove references to default dashboard 2019-03-13 18:32:47 -07:00
Deniz Kusefoglu a9cc62778b
Merge pull request #12608 from influxdata/dashboard-import-routes
Dashboard import routes
2019-03-13 18:26:39 -07:00
Deniz Kusefoglu 4e74c2ec4f Handle dashboard imports through router 2019-03-13 17:05:56 -07:00
Palakp41 bddc73a614
Merge pull request #12611 from influxdata/feat/add-variables-config-page
Add variables to configuration page and navigation for config tabs
2019-03-13 15:21:28 -07:00
Christopher Henn 8ef815943d Hydrate in use variables before running TimeMachine queries 2019-03-13 15:08:01 -07:00
Christopher Henn 7a3afa66f6 Rename submitScript to submitQueries 2019-03-13 15:08:01 -07:00
Christopher Henn 83dd14bdbb Hydrate in use variables before displaying the CEO 2019-03-13 15:08:01 -07:00
Palak Bhojani 7c503337d3 Add variables to configuration page and navigation for config tabs 2019-03-13 14:38:04 -07:00
Lyon Hill 69db8099d4
Fix requested at for task runs (#12559)
* Fix requested at for task runs

* add short delay to allow storage propigation
2019-03-13 15:01:05 -06:00
Deniz Kusefoglu 03dc2f392e fix export dashboard routing 2019-03-13 12:14:10 -07:00
Deniz Kusefoglu 1fc483f321
Merge pull request #12564 from influxdata/create-template-from-task
Create template from task
2019-03-13 11:51:13 -07:00
Jacob Marble 37e581694b
fix: Use simple function name for tracing operation name (#12586)
* fix: Use simple function name for tracing operation name

Every span has an operation name, which shows up in multiple places in
the Jaeger UI. Verbose function names like
`github.com/influxdata/influxdb/kit/tracing.StartSpanFromContext`
are not readable in this UI. Shorter function names like
`StartSpanFromContext` improve UX. Context is not lost because (1) the
filename and line number are logged with the span and (2) spans are
understood in the context of other spans, marked with service name and
operation name.

Extra cost is ~22 ns per call to StartSpanFromContext. No additional
memory is allocated.

* goimports

* slice more than function name as span operatio name
2019-03-13 11:49:32 -07:00
Deniz Kusefoglu cc0c50ec14 Rename task import overlay
Rename tasks export overlay
Exptend exporting to template to tasks
Fix default props typing
2019-03-13 11:38:32 -07:00
kelwang cb7630abd2
Merge pull request #12598 from influxdata/swagger_add_label_task
fix(http): fix task swagger links labels
2019-03-13 14:24:17 -04:00
kelwang e877428c24
Merge pull request #12596 from influxdata/telegraf_swagger
fix(http): fix swagger label response
2019-03-13 14:23:55 -04:00
kelwang bd952e8d6e
Merge pull request #12595 from influxdata/fix_secret_endpoint
fix(http): change secrets to match swagger
2019-03-13 14:23:39 -04:00
kelwang 878e896e3a
Merge pull request #12594 from influxdata/http_source_health
fix(http): fix source health endpoint
2019-03-13 14:23:01 -04:00
kelwang ba52920df1
Merge pull request #12592 from influxdata/ready
fix(http): fix ready swagger
2019-03-13 14:22:44 -04:00
Palakp41 1808a1a520
Merge pull request #12580 from influxdata/feat/sort-tasks-run
Add sorting to  Task Runs List
2019-03-13 11:20:43 -07:00
Iris Scholten 6869177a90
Merge pull request #12569 from influxdata/fix/telegraf-instructions-token
fix(ui): Ensure telegraf setup instructions has token information
2019-03-13 11:09:20 -07:00
Alirie Gray f2f9d4fbac
Merge pull request #12523 from influxdata/explorer/save-as-variable
feat(explorer): add save as variable overlay
2019-03-13 10:57:51 -07:00
Palak Bhojani 7e2a64201c Add sorting to Task Runs List 2019-03-13 10:57:38 -07:00
Iris Scholten 8121380148
Merge pull request #12603 from influxdata/fix/cell-swagger
fix(ui): Remove name from cell in swagger definition
2019-03-13 10:55:54 -07:00
Iris Scholten 7539044e4c
Merge pull request #12575 from influxdata/feat/import-org-dropdown
feat(ui): add organization dropdown to import overlay
2019-03-13 10:55:03 -07:00
Iris Scholten 1ba9066ff4
Merge pull request #12583 from influxdata/fix/legend-key-errors
fix(ui): Update keys for legend items to avoid duplicate key warnings
2019-03-13 10:54:20 -07:00
Iris Scholten 289c6d17f3
Merge pull request #12554 from influxdata/fix/system-dashboard-template
fix(ui): add v namespace before variables in System template
2019-03-13 10:53:16 -07:00
alexpaxton e1bf2fcc4c
Ensure panels and index lists contrast with background when placed inside a tabbed page (#12601) 2019-03-13 10:50:57 -07:00
Christopher Henn ac022bdf79 Fix unresponsive time range dropdown on dashboards 2019-03-13 10:49:28 -07:00
Christopher Henn 6a21c80d16 Fix updating variable script 2019-03-13 10:49:11 -07:00