Commit Graph

12201 Commits (735062c798c0d9d507874cc154290e32c2b1aaff)

Author SHA1 Message Date
Edd Robinson 81e0fbabeb Integrate WAL into engine 2018-10-05 12:44:27 +01:00
Edd Robinson e85999ed45 Enable the WAL 2018-10-05 12:44:26 +01:00
kelwang 05b68ce154
Merge pull request #973 from influxdata/fix/remove_default_username
remove default username
2018-10-05 06:43:29 -04:00
Adam 58f4e9fc0b
Refactor Platform according to new organization in `flux` (#966)
We reorganized the functions in flux to have the structure:
/functions
/inputs
/transformations
/outputs
this PR catches up platform to work with the new package layout.

As a separate refactoring issue, we should discuss:

from(bucket: ) should migrate from flux --> platform
to_http and to_kafka should migrate from platform --> flux
2018-10-05 00:06:14 -04:00
Chris Goller c6cd482e40
Merge pull request #938 from influxdata/feature/usage-query
feat(usage): add query usage metrics
2018-10-04 22:06:25 -05:00
Kelvin Wang 2aba58256b remove default username 2018-10-04 18:23:41 -04:00
Mark Rushakoff 955eabd551 refactor(http): prefer Addr over URL in field names
The other services all use the field Addr, so consistently use Addr,
instead of sometimes using URL.
2018-10-04 13:59:58 -07:00
Delmer 9939e7fad0
feat(dashboard/views): Add log viewer view type (#968)
Adds the log viewer view type for use in log viewer config.
2018-10-04 16:47:42 -04:00
Delmer f87d40c117
feat(logs/page) Add logs page (#915)
Add log viewer page 

Adds the log viewer page and search bars from chronograf. Removes 
many of the log components until results and config are working.
2018-10-04 16:28:35 -04:00
Deniz Kusefoglu 5e7698e1d2
Merge pull request #952 from influxdata/feat/authentication-FE
Signin after setup
2018-10-04 12:46:35 -07:00
Mark Rushakoff a919806ac8 fix: eliminate data race in cmd/influxd
The race detector was picking up a data race because of the
unsynchronized reassignment of ctx:

```
$ go run -race ./cmd/influxd
...
^C
==================
WARNING: DATA RACE
Write at 0x00c00053d220 by main goroutine:
  main.platformF()
      /Users/mr/gomod/platform/cmd/influxd/main.go:381 +0x2cf7
  github.com/spf13/cobra.(*Command).execute()
      /Users/mr/go/pkg/mod/github.com/spf13/cobra@v0.0.3/command.go:766 +0x8b2
  github.com/spf13/cobra.(*Command).ExecuteC()
      /Users/mr/go/pkg/mod/github.com/spf13/cobra@v0.0.3/command.go:852 +0x432
  github.com/spf13/cobra.(*Command).Execute()
      /Users/mr/go/pkg/mod/github.com/spf13/cobra@v0.0.3/command.go:800 +0x38
  main.Execute()
      /Users/mr/gomod/platform/cmd/influxd/main.go:388 +0x4e
  main.main()
      /Users/mr/gomod/platform/cmd/influxd/main.go:46 +0x2f

Previous read at 0x00c00053d220 by goroutine 147:
  main.platformF.func1()
      /Users/mr/gomod/platform/cmd/influxd/main.go:330 +0x3c

Goroutine 147 (running) created at:
  main.platformF()
      /Users/mr/gomod/platform/cmd/influxd/main.go:329 +0x2554
  github.com/spf13/cobra.(*Command).execute()
      /Users/mr/go/pkg/mod/github.com/spf13/cobra@v0.0.3/command.go:766 +0x8b2
  github.com/spf13/cobra.(*Command).ExecuteC()
      /Users/mr/go/pkg/mod/github.com/spf13/cobra@v0.0.3/command.go:852 +0x432
  github.com/spf13/cobra.(*Command).Execute()
      /Users/mr/go/pkg/mod/github.com/spf13/cobra@v0.0.3/command.go:800 +0x38
  main.Execute()
      /Users/mr/gomod/platform/cmd/influxd/main.go:388 +0x4e
  main.main()
      /Users/mr/gomod/platform/cmd/influxd/main.go:46 +0x2f
==================
```

So just assign context.WithCancel to a new variable instead.
2018-10-04 11:46:08 -07:00
Jeff Wendling c4c2cf4da8
Merge pull request #964 from influxdata/jmw-fix-import-comment
Fix invalid import comment
2018-10-04 12:42:43 -06:00
Jeff Wendling 917555e3cd Fix invalid import comment 2018-10-04 12:29:34 -06:00
Edd Robinson db5b20f4ea
Merge pull request #953 from influxdata/er-storage-engine
Add storage engine
2018-10-04 18:38:03 +01:00
Edd Robinson 69015d55ef Address PR feedback 2018-10-04 18:18:55 +01:00
Jonathan A. Sternberg f7b4c4001e
Merge pull request #527 from influxdata/js-remove-error-field-with-no-error
fix(http): only log an error and reference code if it exists
2018-10-04 11:51:15 -05:00
Edd Robinson 41aba8b539 Tidy up tag keys 2018-10-04 10:52:36 +01:00
Edd Robinson cfb3df203a Working storage engine 2018-10-04 10:24:43 +01:00
Edd Robinson 981b2cdbea Skeleton storage engine 2018-10-04 10:24:43 +01:00
Jeff Wendling 8c338df860 Add very hacky read support 2018-10-04 10:24:43 +01:00
Jeff Wendling d18814267e Add very basic write support 2018-10-04 10:21:22 +01:00
Edd Robinson d8f55446fd
Merge pull request #929 from influxdata/storage-engine-integration
Storage engine integration
2018-10-04 10:13:39 +01:00
kelwang 97572dd806
Merge pull request #949 from influxdata/fix/able_to_cancel_onboarding
use cancel text
2018-10-03 22:55:14 -04:00
Alex Paxton 1052648014
Merge pull request #951 from influxdata/panel-polish
Redesign Panels to conform to 2.0 UI Patterns
2018-10-03 17:14:36 -07:00
Deniz Kusefoglu 05b5f781b1 Accommodate change in response from GET req to /setup
Add signin to setup flow during onboarding
Add signin page to handle setting cookies
Add signin and signout to Links
2018-10-03 17:08:30 -07:00
Jeff Wendling 5fa10786a2 Fix issue with rebasing 2018-10-03 17:40:01 -06:00
Jeff Wendling 831833dcab Use _field/_measurement in filter expressions 2018-10-03 17:39:30 -06:00
Jeff Wendling eaff1bd9b0 Return _measurement/_field instead of _m/_f 2018-10-03 17:39:30 -06:00
Jeff Wendling 6a0fc9237c Read/write points with the appropriate measurement 2018-10-03 17:39:30 -06:00
Jeff Wendling 76cb1213f3 Add very hacky read support 2018-10-03 17:39:30 -06:00
Jeff Wendling c659c24f9a Add very basic write support 2018-10-03 17:39:30 -06:00
Jeff Wendling 31bd1f1dc7
Merge pull request #950 from influxdata/jmw-read-write-auth
Change how the write and query handlers look at auth
2018-10-03 17:38:57 -06:00
Alex P 0c396e06fd Redesign Panels to conform to 2.0 UI Patterns 2018-10-03 15:05:39 -07:00
Jeff Wendling 6176671ecb Change how the write and query handlers look at auth 2018-10-03 15:55:56 -06:00
Jacob Marble b045d89edf
Merge pull request #942 from influxdata/jgm-viper-string-slice
kit/cli: Add support for []string
2018-10-03 12:16:22 -07:00
Jacob Marble fb4cd36e9b kit/cli: Add support for []string 2018-10-03 11:24:46 -07:00
Kelvin Wang d21b2719ce use cancel text 2018-10-03 14:24:42 -04:00
Andrew Watkins 709310d05e
feat: line plus single stat view type (#936)
* Introduce LinePLusSingleStat

* Remove v1 view types

- Introduce line + single stat view
2018-10-03 10:17:14 -07:00
Jonathan A. Sternberg 33c1e95f7c
Merge pull request #940 from influxdata/js-influxql-service
feat: add an influxql service that communicates with influxdb 1.x
2018-10-03 12:00:40 -05:00
Jonathan A. Sternberg 37ffbfc687
feat: add an influxql service that communicates with influxdb 1.x
It creates a simple client that follows the QueryService interface and
uses the `influxql.Compiler` type to determine where the query should be
routed to and to return the query as a `flux.ResultIterator`.

This will be useful for replaying transpiler queries against influxdb
1.x servers to verify correctness.
2018-10-03 11:17:29 -05:00
Chris Goller 9753bf0aeb feat(usage): add query usage metrics 2018-10-02 22:39:52 -05:00
Chris Goller 8cf045d7cc
Merge pull request #937 from influxdata/feature/view-logs
feat(http/view): add storing LogView config
2018-10-02 21:36:30 -05:00
Chris Goller ca9100366b feat(http/view): add storing LogView config
Co-authored-by: Delmer Reed <delmer814@gmail.com>
2018-10-02 19:27:49 -05:00
Jade McGough 0acb1429ab fix(http): fix failed rebase 2018-10-02 15:31:18 -07:00
Jade McGough bb94d870ce fix(http): fix server url in swagger 2018-10-02 15:31:18 -07:00
Jade McGough 6bbdbf1ef0 feat(http): update swagger 2018-10-02 15:31:18 -07:00
Jade McGough 71da130e54 feat(http): add dashboard member endpoints to swagger 2018-10-02 15:31:18 -07:00
Jade McGough 5e94d059e5 feat(http): add owner/member endpoints for bucket service 2018-10-02 15:31:18 -07:00
Jade McGough a1d909b7ff feat(http): add owner/member endpoints to dashboards 2018-10-02 15:31:18 -07:00
Jade McGough 802cd0080e feat(http): move member/owner routes to factories 2018-10-02 15:31:18 -07:00