Alex P
6ca7ea0d6e
Use empty state in dashboards table
2018-10-15 11:42:18 -07:00
Alex P
ad33624fd0
Introduce reusable Empty State component
2018-10-15 11:42:06 -07:00
Andrew Watkins
6eb21d3dde
chore(chronograf): code cleanup ( #1076 )
...
* Delete unused files
* go.sum
* Remove dead code
* Remove more unused code
* Remove eslint
* Remove StaticLegend
* Convert external to ts
* Move jest config to package.json
* Update yarn.lock
* Moar yarn.lock
* go.sum
2018-10-15 11:19:54 -07:00
Mark Rushakoff
3cf88009c4
test(task): fix incorrect test assertion
...
We changed the semantics of finding a task that doesn't exist, from
returning `nil, nil`, to `nil, ErrTaskNotFound`; this test didn't
reflect that change until this commit.
2018-10-15 10:24:23 -07:00
Alirie Gray
25ed880e8f
Merge pull request #1063 from influxdata/logs/table-graph
...
Logs/transform log response util function
2018-10-15 09:55:35 -07:00
Jonathan A. Sternberg
5c8318d181
Merge pull request #1080 from influxdata/js-go-generate-with-go-run
...
refactor: modify tooling to take advantage of go run
2018-10-15 11:27:13 -05:00
Jeff Wendling
ce3e1fa90d
Remove the fields index
...
This commit removes the remaining bits of the fields index. In doing
so, the buildCursor method on the engine would need to be updated.
It turns out, that code was statically dead, so delete it and anything
that depended on it. Additionally, delete anything as reported by
the unused tool in the tsdb package.
2018-10-15 10:22:07 -06:00
Mark Rushakoff
ad4942fe36
refactor(task): expose status when finding from TaskService
...
And consistently return ErrTaskNotFound, rather than nil, nil, when
searching an ID that doesn't exist.
2018-10-15 09:20:47 -07:00
Mark Rushakoff
cb0b54cfd9
feat(task): allow setting task status during creation
...
This renames TaskEnabled and TaskDisabled to TaskActive and
TaskInactive, to keep in line with the swagger and other parts of the
system. But I left the EnableTask and DisableTask methods on the Store
interface for now. I could see eliminating those methods if we adjust
the signature of the UpdateTask method.
2018-10-15 09:20:47 -07:00
Mark Rushakoff
56f32b4780
refactor(task): extract CreateTaskRequest struct
...
We're about to add another parameter, so condensing the arguments into a
single struct makes sense at this point.
2018-10-15 09:20:47 -07:00
Jonathan A. Sternberg
e9600b1f0b
refactor: modify tooling to take advantage of go run
...
The generate commands have been modified to take advantage of the new
functionality in Go 1.11 that allows `go run` to execute a package
instead of individual files.
This functionality combined with Go modules allows us to execute a
package directly out of our pinned dependencies rather than accidentally
picking up another binary outside of the build environment.
This also simplifies the Makefile because they no longer have to be
responsible for installing the correct tooling since the Go command
takes care of that logic. It also makes it so that the Makefiles with
file generation can now be invoked from their appropriate subdirectories
so they are contained within the directory itself rather than relying on
values in the top level Makefile.
It is now possible to generate all files within this project by using:
go generate ./...
Or the Makefile can continue to be used.
This commit also copies over the special copy of `tmpl` that the storage
engine uses within the influxdb repository. It was never copied over so
using `go generate` on these packages did not work.
2018-10-15 11:01:27 -05:00
Jonathan A. Sternberg
49e8392fbf
Merge pull request #1057 from influxdata/js-gopath-cache
...
feat: save and restore the /go/pkg/mod directory in circleci
2018-10-12 21:33:26 -05:00
Mark Rushakoff
5af42835fa
chore: default bolt db location to .influxdbv2 dir
...
Per previous discussion in #1065 .
2018-10-12 16:39:02 -07:00
Alirie Gray
e3696fde35
Refactor transform flux response function
2018-10-12 16:22:16 -07:00
kelwang
dc73aee61f
Merge pull request #1011 from influxdata/feat/swager_telegraf_service
...
draft of telegraf
2018-10-12 17:56:56 -04:00
Kelvin Wang
020f944d14
draft of telegraf
2018-10-12 17:51:36 -04:00
Jeff Wendling
eeb9580bff
fix(engine): remove SeriesIDSets check in deletion
...
We leave in the options and stuff for now as it's tied in with
a lot of the tests/multiple shard stuff that will be removed
eventually, anyway.
2018-10-12 15:25:10 -06:00
Alirie Gray
73388e2e34
Add function to transform logs response
...
Co-authored-by: Delmer Reed <delmer814@gmail.com>
2018-10-12 14:18:42 -07:00
Brandon Farmer
29efd46527
Merge pull request #1071 from influxdata/list-tasks
...
List tasks in UI
2018-10-12 14:17:09 -07:00
Brandon Farmer
6ae8196493
User can delete task
2018-10-12 13:26:53 -07:00
Brandon Farmer
6d02ca5efc
Show list of tasks to user
2018-10-12 13:23:30 -07:00
Andrew Watkins
7853cff0de
chore(chronograf): Typing connected components and configureStore ( #1062 )
...
* Introduce @types/react-redux
* Type connect in Crosshair
* Update Dygraph options callbacks
* Fix VEO connect types
* Type connect in LogsPage
* Fix type errors
* Add LogState to AppState
* Update go.sum
* Convert configureStore to TypeScript
* Fix action typing errors
* Remove comments
* Revert routing
* Add tasks to AppState
* Update localStorage types
* Update go.sum
2018-10-12 13:16:32 -07:00
Stuart Carnie
fe0d2c43f0
Merge pull request #1056 from influxdata/sgc-handle-error
...
fix(reads): Ensure error returned from f is captured
2018-10-12 12:23:55 -07:00
Mark Rushakoff
2958318c1f
chore(bolt): log path of bolt file
...
Now at startup, there will be a log line like:
Opened bolt database {"log_id": "0B5Oks9W000", "path": "influxd.bolt"}
Which gives a somewhat better idea of what's going on.
2018-10-12 08:14:50 -07:00
Delmer
2b8d418235
feat(logs/query): Add log query builder ( #1046 )
...
* Add queryBuilder for logs
* Add test for multiple filters
* Update builder to concat arrays of funcs
2018-10-12 11:02:06 -04:00
kelwang
c50867f657
Merge pull request #1006 from influxdata/feat/telegraf_service
...
add plugins
2018-10-12 10:29:19 -04:00
Kelvin Wang
0684411762
add plugins
2018-10-12 10:24:31 -04:00
Kelvin Wang
ff27648dcd
add plugins
2018-10-12 10:24:30 -04:00
Lyon Hill
e643c434f6
Allow the scheduler to Update tasks. ( #1058 )
...
* Allow the scheduler to Update tasks.
* update the coordinator to use the new update action
* remove unclean code
2018-10-12 08:24:22 -06:00
Stuart Carnie
a005792a8c
Merge pull request #1064 from influxdata/sgc-readspec
...
fix(storage): Add db/rp fields for InfluxDB OSS
2018-10-12 07:21:04 -07:00
Kelvin Wang
27b2715264
fix scraper id
2018-10-12 10:03:06 +02:00
Chris Goller
b4e1cd4199
tests(http): add tests for creation without IDs
2018-10-12 10:03:06 +02:00
kelwang
2b9304d0ae
Merge pull request #1068 from influxdata/fix/exit_onboarding_n
...
enter "n" to cancel setup
2018-10-11 21:26:28 -04:00
Kelvin Wang
b5e7b5f138
enter "n" to cancel setup
2018-10-11 20:58:29 -04:00
Delmer
91792ddf38
feat(logs/table): Add logs table component ( #1061 )
...
feat(logs/style): Add logs table
2018-10-11 19:16:37 -04:00
kelwang
af4c75b8cd
Merge pull request #1009 from influxdata/feat/telegraf.go
...
add telegraf.go
2018-10-11 18:31:31 -04:00
Chris Goller
4eadff4f55
docs(http): tasks fields can now be updated ( #1059 )
...
* docs(http): tasks fields can now be updated
* docs(http): update task name description
2018-10-11 17:24:58 -05:00
kelwang
b7f33a9d81
Merge pull request #1060 from influxdata/feat/onboarding_client_refactor
...
fix some issues onboarding
2018-10-11 18:22:14 -04:00
Stuart Carnie
4f0c1a7aed
fix(storage): Add db/rp fields for InfluxDB OSS
2018-10-11 15:19:38 -07:00
Kelvin Wang
1603865ef4
kill the default loop in password
2018-10-11 18:14:30 -04:00
Kelvin Wang
a7754d2322
fix some issues onboarding
2018-10-11 18:02:58 -04:00
Jonathan A. Sternberg
f3b2959e89
feat: save and restore the /go/pkg/mod directory in circleci
2018-10-11 16:11:36 -05:00
Stuart Carnie
025241629d
fix(reads): Ensure error returned from f is captured
2018-10-11 13:41:54 -07:00
Brandon Farmer
69ed550a12
Merge pull request #1054 from influxdata/onboarding-copy-changes
...
Update onboarding copy
2018-10-11 12:39:51 -07:00
Kelvin Wang
9c7783f9e4
add telegraf.go
2018-10-11 15:37:44 -04:00
Brandon Farmer
38e022cd39
Update onboarding copy
2018-10-11 12:26:35 -07:00
Brandon Farmer
8c2e1fcdaf
Merge pull request #1048 from influxdata/tasks-creation
...
Basic task creation ui
2018-10-11 12:21:44 -07:00
Brandon Farmer
0e950d0292
Basic task creation ui
2018-10-11 12:13:32 -07:00
Jonathan A. Sternberg
78bfcc6dea
Merge pull request #1052 from influxdata/js-buildtsi-toml-package
...
fix: buildtsi should use the platform toml package instead of influxdb
2018-10-11 13:42:10 -05:00
Chris Goller
3be56561d8
test(bolt): add tests for missing orgs and buckets ( #1051 )
2018-10-11 13:31:46 -05:00