Commit Graph

12209 Commits (883ad88ac19ebf93a4d6ab5d49c4d965bb121f5e)

Author SHA1 Message Date
Adam 195eb04350
Chore/move from function to platform (#1013)
* moved execution code for from into query/functions/inputs

* rebase with master, disable buckets accessed test
2018-10-09 20:36:41 -04:00
Christopher Henn e522e6a84a Add VEO overlay to dashboards
Co-authored-by: Iris Scholten <iris@influxdata.com>
Co-authored-by: Chris Henn <chris@chrishenn.net>
2018-10-09 17:18:33 -07:00
Mark Rushakoff d827e8de1d test(inmem): re-enable skipped CreateBucket test
I don't know why it was skipped originally, but I ran it under the race
detector for tens of thousands of iterations and couldn't get it to
fail.
2018-10-09 16:54:33 -07:00
Jade McGough 4cf28de1de
Merge pull request #1015 from influxdata/task-owners
Add owner/member endpoints for tasks
2018-10-09 13:33:41 -07:00
Jade McGough bb6d8cf156 fix(http): inject resource type into Post member factory 2018-10-09 13:19:19 -07:00
Jade McGough 4c7f66a1c3 feat(http): add owner/member endpoints for tasks 2018-10-09 13:19:19 -07:00
Jade McGough bf29ff7ca3 convert task service http endpoints into constants 2018-10-09 13:19:19 -07:00
Mark Rushakoff 35383074f3 chore(task): remove task name uniqueness requirement 2018-10-09 11:46:12 -07:00
Jeff Wendling 0af8de9a3c
Merge pull request #1001 from influxdata/jmw-refactor-storage-reads
Refactor storage reads
2018-10-09 10:54:12 -06:00
Ben Johnson 4d58c7df8c
Merge pull request #1000 from influxdata/bj-fix-series-index-tombstone
fix(tsdb): Fix series file tombstoning.
2018-10-09 10:41:18 -06:00
Jeff Wendling 5fa04a8d56 share some more code with reads 2018-10-09 09:51:13 -06:00
Jeff Wendling 6256926563 fix generation and rerun it with the go.mod gogofaster 2018-10-09 09:51:13 -06:00
Jeff Wendling 810833f33f chore: refactor reads service and make it consumable externally
This pulls in the code that allows doing reads with flux into the
platform repo, and removes extra.go.

The reusable portion is under storage/reads, where the concrete
implementation for one of the platform's engines is in
storage/readservice.

In order to make this more reusable, the cursors had to move into
their own package, decoupling it from all of the other code in the
tsdb package. tsdb/cursors is this new package, and type/function
aliases have been added to the tsdb package to point at it.

The models package already is very light on transitive dependencies
and so it was allowed to be depended on in a concrete way in the
cursors package.

Finally, the protobuf definitions for issuing GRPC reads has been
moved into its own package for two reasons:
    1. It's a clean separation, and helps keep it that way.
    2. Many/most consumers will not be using GRPC. We just
       use the datatypes to express the API which helps making
       a GRPC server easier.
It is left up to future refactorings (specifically ones that involve
GPRC) to determine if these types should remain, or if there is a
cleaner way.

There's still some dependencies on both github.com/influxdata/influxql
and github.com/influxdata/influxdb/logger that we can hopefully remove
in future refactorings.
2018-10-09 09:51:13 -06:00
Jeff Wendling 555c454cd8 Remove the radix tree series type conflict stuff 2018-10-09 09:05:20 -06:00
Jade McGough 4a59e877c7
Merge pull request #974 from influxdata/filter-owners
Filter dashboards by owner
2018-10-08 18:57:09 -07:00
Jade McGough 2f73208681 test for finding multiple dashboards by id 2018-10-08 18:56:22 -07:00
Jade McGough d4520bf35d feat(bolt): add filter on resource type for u/r mappings 2018-10-08 18:56:02 -07:00
Jade McGough 8ebeff94ca fix(bolt): update dashboard filter to use multiple IDs 2018-10-08 18:51:16 -07:00
Jade McGough bd672f6933 fix(http): support multiple IDs in dashboard GET params 2018-10-08 18:54:40 -07:00
Jade McGough 86266b37c1 feat(http): if owner is specified for dashboards GET, only return their dashboards 2018-10-08 18:51:16 -07:00
Jade McGough 5465f3bede feat(inmem): use sync.Map for filtering dashboards on IDs 2018-10-08 18:51:16 -07:00
Jade McGough ce849bb39e feat(http): add ids param to dashboard endpoint 2018-10-08 18:51:16 -07:00
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
Brandon Farmer 57353139e9
Merge pull request #1008 from influxdata/move-flux-editor-to-v2
Move flux editor over to v2
2018-10-08 16:35:36 -07:00
Brandon Farmer 21c66ffec5 Move flux editor over to v2 2018-10-08 16:25:03 -07:00
Chris Goller a9e92ba6d9
Merge pull request #1004 from influxdata/fix/go-fmt-ci
ci(gofmt): check go formatting with each PR
2018-10-08 17:32:29 -05:00
Chris Goller 90494a5309 chore(fmt): fix and simplify go formatting 2018-10-08 17:23:54 -05:00
Chris Goller 2f2334a3f3 ci(gofmt): check go formatting with each PR 2018-10-08 17:23:54 -05: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
Ben Johnson 3ce51e7f02
fix(tsdb): Fix series file tombstoning.
This commit fixes an issue with the series file compaction
process where tombstones are lost after compaction and series
existence checks are not correct. This commit also fixes some
smaller flushing issues within the series file that mainly
related to testing.
2018-10-08 14:16:11 -06: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