Commit Graph

12293 Commits (9d2119e48cf204b26d388ddd7925574f0a52b4f2)

Author SHA1 Message Date
kelwang 9d2119e48c
Merge pull request #1107 from influxdata/feat/telegraf_service_store
add telegraf store service
2018-10-18 16:48:22 -04:00
Kelvin Wang 285cf3831c changes based on review 2018-10-18 16:33:11 -04:00
Ben Johnson b762ff9604
Merge pull request #1099 from influxdata/bj-tsi1-measurement-cardinality-stats
Add tsi1 measurement cardinality stats.
2018-10-18 13:15:33 -06:00
Alirie Gray f1f645ddad Add a search bar to filter tasks by name
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-10-18 11:43:39 -07:00
Jacob Marble f33e13a036 storage: Add MeasurementCardinalityStats and MeasurementStats to Engine 2018-10-18 11:10:21 -07:00
Kelvin Wang a8ac4a931c add telegraf store service 2018-10-17 15:01:04 -04:00
Ben Johnson d856116b00
Add tsi1 measurement cardinality stats. 2018-10-17 08:38:41 -06:00
Adam ea4c08b327
(feat/query): implement a buckets() source function that retrieves all buckets and retention policy information for the active organization. (#1045) 2018-10-17 10:21:39 -04:00
kelwang 1f98dc2d77
Merge pull request #1097 from influxdata/feat/json_telegraf_config
add json telegraf config
2018-10-16 12:55:51 -04:00
Mark Rushakoff d479c330fe fix(storage): avoid data race on table Done channel
Fixes #1021.
2018-10-16 08:21:13 -07:00
Kelvin Wang 684b4e19a2 add json telegraf config 2018-10-16 10:21:27 -04:00
Delmer 796ef33484
feat(logs/page): render logs tail (#1093)
feat(logs/page): render logs tail
2018-10-16 10:08:20 -04:00
Iris Scholten 8bf3ab548d
Merge pull request #1055 from influxdata/veo-line-graph
Add Veo line graph and switching types
2018-10-15 14:50:33 -07:00
Iris Scholten ede25ecdce Add ability to show a line graph and change to other line graph type in veo 2018-10-15 14:35:23 -07:00
Brandon Farmer b109015749
Merge pull request #1090 from influxdata/get-orgs-ui
Move page initialization to single purpose components
2018-10-15 13:50:03 -07:00
Brandon Farmer ced638582f Add source to redux state 2018-10-15 13:36:06 -07:00
Brandon Farmer bd1c17023d Extract setting source from getting sources 2018-10-15 13:36:06 -07:00
Brandon Farmer 241044091f Fetch Me information on load 2018-10-15 13:36:06 -07:00
Brandon Farmer a539e13cdd Use orgs from redux state in tasks 2018-10-15 13:36:06 -07:00
Brandon Farmer 9be4bdb37c Fetch organizations on load
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2018-10-15 13:36:06 -07:00
Brandon Farmer 8072a01968 Move link fetching to GetLinks component
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2018-10-15 13:36:06 -07:00
Alex Paxton 962c84a450
Merge pull request #1094 from influxdata/general-ui-cleanup
General UI Cleanup
2018-10-15 13:20:30 -07:00
Alex P 4701717968 Set fixed widths on log viewer dropdowns 2018-10-15 12:09:30 -07:00
Alex P 03c301f238 Refactor tasks page to use index list and empty state 2018-10-15 12:05:12 -07:00
Alex P 3a4d886590 Change nav icon for Tasks tab 2018-10-15 12:05:00 -07:00
Jeff Wendling 30418ca2f5 fix(storage): WithEngineID and WithNodeID no longer panic
Both of these options would dereference a nil pointer when attempting
to apply. Instead, set the field to be the address of an integer
containing the right value.
2018-10-15 12:44:46 -06:00
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