Commit Graph

12496 Commits (89813b8aa470095b71e98ae1fafc4dab94ebc627)

Author SHA1 Message Date
zhulongcheng 6fa7d8b143 use json decoder to decode request body 2018-10-31 23:32:51 +08:00
Michael Desa b99b3f2563
Merge pull request #1232 from influxdata/feat/oplog
WIP: Add keyvalue log - basis for auditlog and oplog
2018-10-31 10:04:05 -04:00
Michael Desa e27a1371b0 feat(platform): add keyvalue log interface with boltdb implementation
test(platform): add conformance test for key value log

review(platform): add example keyvalue log usage

review: make changes suggested in pr review
2018-10-31 09:41:55 -04:00
Mark Rushakoff a7e6a6634e test(task): deflake TaskService shared test
What happened here is kind of a long story.

The TaskService tests exercise different parts of the TaskService
concurrently, in hopes of exercising code that may be racy. This worked
fine so long as we were able to use arbitrary user and organization IDs
picked during test.

Then we added tests for the http-client-backed TaskService. The instance
of http.TaskService takes a single token, so the TaskService tests were
updated to use an optional override to get the user and org ID from the
TaskService implementation.

That meant our parallel tests were using one user and org ID in some
cases. One particular test to exercise concurrency would create tasks
and then retrieve them and delete one. Because this test was filtering
by user and org, sometimes it would delete a task created in a different
test.

The fix was to maintain a whitelist of tasks created in that particular
test, so that it wouldn't delete tasks created in a different test.
2018-10-30 18:52:21 -07:00
Mark Rushakoff c3e3b44a75 feat(task): include task scheduler metrics on /metrics endpoint
Closes #1223.
2018-10-30 18:52:02 -07:00
Christopher M. Wolff 4365ad3d60
Update to latest Flux (#1245) 2018-10-30 17:54:54 -07:00
Jade McGough 79bb8af889
fix(http): unswallow json decoder error (#1248)
* fix(http): unswallow json decoder error

* make fmt
2018-10-30 17:31:32 -07:00
Jorge Landivar 5a8dd6bfef
Merge pull request #1242 from influxdata/usesnowflake
Use snowflake for bolt task ids
2018-10-30 18:24:41 -05:00
docmerlin (j. Emrys Landivar) 64883a5dad Use snowflake for bolt task ids 2018-10-30 18:20:59 -05:00
kelwang c6a5cf60bb
Merge pull request #1240 from influxdata/fix/telegraf_links
fix telegraf sources
2018-10-30 16:50:58 -04:00
Kelvin Wang 5e9c0a9e76 fix telegraf sources 2018-10-30 16:48:14 -04:00
kelwang 3b1660d7d0
Merge pull request #1229 from influxdata/feat/telegraf_http
add http for telegraf
2018-10-30 15:33:51 -04:00
jlapacik 78b7ee3bf9
update flux repl (#1231) 2018-10-30 11:24:48 -07:00
Kelvin Wang 74ef984e53 add http for telegraf 2018-10-30 14:00:10 -04:00
Mark Rushakoff cd80e41220 feat(task): add ability to retry runs
This also adjusts the TaskService interface's RetryRun method to accept
a task ID rather than an org ID. Internally, we still look up runs by
organization, and maybe that will change later, but this is a more
natural way for clients to look it up.
2018-10-30 09:20:40 -07:00
Chris Goller 4295a99ab2
Merge pull request #1228 from influxdata/fix/fmt
chore(fmt): update formating with make fmt
2018-10-30 09:22:20 -05:00
Chris Goller d8548d41e1 chore(fmt): update formating with make fmt 2018-10-30 07:40:28 -05:00
Chris Goller c978ead25b
Merge pull request #1227 from influxdata/feature/clean-influxd-main
Clean up influxdb main
2018-10-30 07:37:29 -05:00
Edd Robinson 46a7b8155a
Merge pull request #1170 from zhulongcheng/rm-index
refactor(tsdb): remove tsdb.Index and tsdb.IndexSet
2018-10-30 11:10:54 +00:00
Chris Goller 7756f8dc6a feat(cmd/influxd): add log levels 2018-10-30 02:27:51 -05:00
Chris Goller eb5f4fbe8a refactor(cmd/influxd): use kit and close all services 2018-10-30 01:57:48 -05:00
Jorge Landivar 19d4abf7cb
Merge pull request #975 from influxdata/cancel-task
Now you can cancel runs
2018-10-29 17:19:37 -05:00
Jorge Landivar 198793d955
Merge branch 'master' into cancel-task 2018-10-29 17:07:02 -05:00
Jonathan A. Sternberg 8738d85036
Merge pull request #1221 from influxdata/js-logging-style-fixes
fix: conform to logging style guide for initial log messages
2018-10-29 16:56:07 -05:00
Chris Goller beb591c50b
Merge pull request #1219 from influxdata/fix/http-delete-status
fix(http): all DELETEs now return 204
2018-10-29 16:51:17 -05:00
Jonathan A. Sternberg 67dc4d8cdd
fix: conform to logging style guide for initial log messages
These are the log messages that get printed immediately when starting
the application for the first time. This fixes the messages to conform
to the logging style guide.
2018-10-29 16:42:55 -05:00
docmerlin (j. Emrys Landivar) 6e2620418c Now you can cancel runs 2018-10-29 16:08:50 -05:00
Chris Goller e621ed8e72 fix(http): all DELETEs now return 204 2018-10-29 14:10:33 -05:00
Deniz Kusefoglu df569c893e
Merge pull request #1218 from influxdata/onboarding/add-password-confirmation
Onboarding wizard polish
2018-10-29 12:09:01 -07:00
Deniz Kusefoglu 175ba056ae Onboarding wizard polish
Add password confirmation field
Cursor defaults to username field
Enter submits wizard steps
2018-10-29 12:05:18 -07:00
Mark Rushakoff cfd685d72a fix(cmd/influx): require query command's org-id flag
Before, if you ran `influx query` and didn't have --org-id, you would
get an unhelpful runtime error like `id must have a length of 16 bytes`.
After this, you get a more helpful `required flag(s) "org-id" not set`
error.
2018-10-29 11:52:41 -07:00
Michael Desa c59247b887
Merge pull request #1183 from influxdata/chore/move-frontend
Make chronograf directory for js code only
2018-10-29 14:06:55 -04:00
Michael Desa b9f70b7bec chore(ui): move ui from chronograf/ui to ui 2018-10-29 14:00:54 -04:00
Michael Desa fdbec9303d chore(ui): update misc build files related to moving chronograf/ui to ui 2018-10-29 14:00:45 -04:00
Delmer 1592ae7c0a
feat(ui/logs): add logs hostname column (#1189)
feat(ui/logs): add hostname column

* Add hostname field to default view
* Update logs to include hostname
2018-10-29 13:10:33 -04:00
kelwang 8047865b44
Merge pull request #1205 from influxdata/fix/authenticate
Fix/authenticate
2018-10-29 12:04:22 -04:00
Kelvin Wang 360f8035dd add reset password
fix logger panic, update endpoint, add password reset
2018-10-29 11:56:33 -04:00
kelwang 5f1acc44c8
Merge pull request #1113 from influxdata/feat/telegraf_toml
add toml for telegraf
2018-10-29 11:03:55 -04:00
jlapacik cf46ff8f49 update flux version to master 2018-10-26 16:12:24 -07:00
Chris Goller bc3418aa65
Merge pull request #1210 from influxdata/fix/make-influx-dir
fix(bolt): create bolt/data dir if not exist
2018-10-26 17:17:17 -05:00
Chris Goller 818d54df35 test(bolt): add bolt database creation test 2018-10-26 17:12:39 -05:00
Chris Goller 6f10173a2d fix(bolt): create bolt/data dir if not exist 2018-10-26 17:12:39 -05:00
Chris Goller 7bd425a9fe
Merge pull request #1209 from influxdata/ci/remove-go-race
ci(tests): remove go race tests from circle
2018-10-26 16:00:45 -05:00
Chris Goller 99ca62435b
Merge pull request #1208 from influxdata/fix/write-precision
fix(cmd/influx): typos in cli variables
2018-10-26 16:00:17 -05:00
Chris Goller 5c5b5f50c8 ci(tests): remove go race tests from circle
We think we are being OOM-killed as our plan as 4 GB of ram.
2018-10-26 15:56:11 -05:00
Chris Goller 226d18bb22 fix(cmd/influx): typos in cli variables 2018-10-26 15:51:55 -05:00
zhulongcheng 1dd0d33b1e fix type assertion err 2018-10-27 02:08:31 +08:00
zhulongcheng 268832ee64 remove unused seriesPointIterator 2018-10-27 02:08:31 +08:00
zhulongcheng f6104a7e78 remove unused Shard 2018-10-27 02:08:31 +08:00
zhulongcheng 9d29874e20 move SeriesFileDirectory constant to defaults package 2018-10-27 02:08:31 +08:00