Commit Graph

12081 Commits (770a9de282b1e8e7803d4f35d41eff47057b17be)

Author SHA1 Message Date
Jade McGough 770a9de282 validate resource type on u/r mapping 2018-10-08 18:53:08 -07:00
Jade McGough 24a3703cc9 add tests for resource types 2018-10-08 18:52:41 -07:00
Jade McGough 9f83f6b054 add ownerID to bucket GET filter 2018-10-08 15:03:57 -07:00
Jade McGough befa31688e add user resource mock 2018-10-08 15:03:57 -07:00
Brandon Farmer 423a5b859f
Merge pull request #1002 from influxdata/fixes/reload-on-login
Reload page on sign in
2018-10-08 14:51:03 -07:00
Brandon Farmer a54fcb1dee Reload page on sign in 2018-10-08 14:25:35 -07:00
Lyon Hill f081ce95f0
allow run shows to work with an actual org id. (#981)
* allow run shows to work with an actual org id.
also necessary for using actual run lists
2018-10-08 14:07:08 -06:00
Nathaniel Cook 3f52673332
Merge pull request #887 from influxdata/nc-flux-org-test
fix: Add tests for orgID parameter
2018-10-08 14:04:19 -06:00
Ben Johnson cf3c70a1a0
Merge pull request #927 from influxdata/bj-tsm1-stats
feat(tsdb/tsm1): Add TSM1 measurement stats.
2018-10-08 13:44:02 -06:00
Jeff Wendling 0360fc418c Remove empty index package for tsi1 2018-10-08 13:18:30 -06:00
Christopher Henn cd8a2ff6ef Upgrade Chronograf dependencies
...including Babel, Parcel, and ESLint. This PR is dual to [0].

[0]: https://github.com/influxdata/chronograf/pull/4538
2018-10-08 11:44:19 -07:00
Jeff Wendling 260ed3eb13 chore: don't depend on details of what platform.ID is
It may become a uint64 in the future, for example. This does mean
that we have to call Decode on some data that we just Encoded, but
we can fix that later.
2018-10-08 12:31:39 -06:00
Delmer b867eabf65
feat(logs/util): Add view logConfig transformation utils (#978)
* Add view to config transformation utils
* Fix config test typo
* Rename util helpers
2018-10-08 14:30:27 -04:00
Brandon Farmer 7894a42882
Merge pull request #994 from influxdata/fixes/makefile-path-with-spaces
Properly handle spaces in PATH with make tasks
2018-10-08 10:58:52 -07:00
Jeff Wendling c48fac9880 chore: remove some undesirable code 2018-10-08 11:20:31 -06:00
Brandon Farmer c1c4dc3393 Properly handle spaces in PATH with make tasks 2018-10-08 09:53:22 -07:00
Ben Johnson 68450681ef
Add TSM1 measurement stats.
This commit generates an additional `.tss` stats file alongside each
TSM file when it is written that contains size stats for all measurements
within the TSM file. These files can be combined to generate stats for
all measurements across all TSM files.
2018-10-08 10:43:53 -06:00
Chris Goller 871de35ff6
Merge pull request #963 from influxdata/fix/http-links
fix(http): links updated to match swagger doc
2018-10-06 11:12:26 -05:00
Chris Goller b90d34d0c3 fix(ui): handle sigin/signout merge conflicts 2018-10-06 10:11:20 -05:00
Chris Goller 7397f7f4cb fix(ui/flux): links is now query rather than flux 2018-10-06 10:11:20 -05:00
Chris Goller aee35e4cde fix(http): links updated to match swagger doc 2018-10-06 10:11:20 -05:00
kelwang 6f186bb25e
Merge pull request #979 from influxdata/feat/confirm_scene_onboarding_client
add confimation scene
2018-10-05 20:08:18 -04:00
Kelvin Wang 1000782f10 add confimation scene 2018-10-05 19:49:02 -04:00
Jeff Wendling 6408640836 fix: dont conflict on metrics namespace and mod tidy 2018-10-05 16:25:59 -06:00
Adam c1271f4f92
remove windows target from goreleaser because a prometheus dependency is causing issues (#985) 2018-10-05 16:23:50 -04:00
Jared Scheib 20a06bea98 fix(http): correct typo in authentication scheme error 2018-10-05 12:55:53 -07:00
Edd Robinson b11bbdd296
Merge pull request #976 from influxdata/er-wal
Add the tsm1.WAL to the storage engine
2018-10-05 18:10:06 +01:00
Edd Robinson 512a015add Address PR feedback 2018-10-05 18:01:59 +01:00
Delmer 047d2ea98e
feat(logs/data): Add logViewData for default log config (#980) 2018-10-05 13:00:54 -04:00
Edd Robinson 6b23165146 Add Engine tests 2018-10-05 15:04:09 +01:00
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