Commit Graph

11741 Commits (7bbd08798031ccf7f3795df8af53fd4f0f9a048a)

Author SHA1 Message Date
Mark Rushakoff 7bbd087980 chore(task): clean up log writer API
Introduce a RunLogBase type that encapsulates the base information
shared across multiple logs for the same run. This has the information
previously part of the API (Task and RunID), and includes the addition
of a RunScheduledFor timestamp.

Also remove the RunScheduled value for RunStatus, as it was never used
in the scheduler.
2018-09-07 09:35:55 -07:00
Stuart Carnie 46963152cc
Merge pull request #784 from influxdata/sgc-flux
refactor: Migrate query package to influxdata/flux repository
2018-09-06 16:09:34 -07:00
Stuart Carnie 7a05dfb61e refactor: Update Makefiles 2018-09-06 13:56:59 -07:00
Stuart Carnie ac75af2f58 refactor: Migrate query package to influxdata/flux repository 2018-09-06 11:13:48 -07:00
Lyon Hill 5bcc9063d7
feat(taskd): create a FindTaskByIDWithMeta function. (#781)
Now we can retrieve both task data as well as meta in one call.
2018-09-06 11:40:32 -06:00
Jacob Marble 37c8fbcd37
Merge pull request #783 from influxdata/jgm-viper-bool
kit/cli: Add boolean and duration flag types
2018-09-06 10:06:40 -07:00
Jacob Marble 0f1abf11bf kit/cli: Add boolean and duration flag types 2018-09-06 09:57:43 -07:00
Chris Goller b48fad0c4e
Merge pull request #771 from influxdata/feature/query
feat(http): add flux endpoint /v2/query influx
2018-09-06 11:27:54 -05:00
Jade McGough cd30e5a820
add internal system buckets for orgs (#652)
feat(bolt): add internal system buckets for orgs
2018-09-06 09:19:58 -07:00
Chris Goller dec5ece85c
Merge pull request #773 from influxdata/feature/build-assets
build(chronograf): add conditional build tags for asset generation
2018-09-06 10:47:40 -05:00
Michael Desa e83a3dbe02
Merge pull request #780 from influxdata/feat/source-csv-response
Add csv dialect support to 1x json response
2018-09-06 10:05:34 -04:00
Michael Desa 330f76c331 feat(http/influxdb): add csv dialect support to json response 2018-09-06 09:56:16 -04:00
Jade McGough 43e0d143e7
chore(http): return early if a critical error occurs in write path org/bucket lookup (#767) 2018-09-05 15:53:57 -07:00
Mark Rushakoff bbcbaee9fd chore(task): rename adaptertest to servicetest
This package assists with testing platform.TaskService. The fact that we
use task.PlatformAdapter is just a detail.

This is just a rename, plus one change to support caller-defined
construction of a TaskService (necessary for porting the tests to
enterprise).
2018-09-05 14:38:45 -07:00
Mark Rushakoff 9a469fd8ad chore(task): log on tick
This will help give operators a better idea that the system is not
actually idle.
2018-09-05 12:06:58 -07:00
Christopher M. Wolff 7e7c34f678
Create PreAuthorizer interface, BucketAwareOperationSpec interface (#664) 2018-09-05 12:06:26 -07:00
Lyon Hill deb25f5c8d
fix(taskd): Stop panic in options (#774)
* fix(taskd): Stop panic in options

When type asserting a value we need to ensure it is the type we expect
before we assert the value.
2018-09-05 11:31:11 -06:00
Stuart Carnie d327915e01
Merge pull request #772 from influxdata/sgc-influxdb
Update influxdata/influxdb:platform vendor dependency
2018-09-05 11:12:29 -06:00
Mark Rushakoff 479f3dbb3d test(task): add platform adapter tests
Also fix a handful of segfaults caused by improperly retained byte slices
from bolt, and combine two view transactions into one to avoid  data
race when a delete happened between them.
2018-09-05 10:06:55 -07:00
Chris Goller 6307531df0 feat(http): add checks for nil compiler 2018-09-05 09:33:10 -05:00
Chris Goller ef7bfdd6d2 build(chronograf): add conditional build tags for asset generation 2018-09-04 20:46:22 -05:00
Chris Goller cb1de24097 feat(http) add top-level links and health 2018-09-04 17:28:59 -05:00
Stuart Carnie caa5ed6aa2 chore: Update influxdata/influxdb:platform vendor dependency
Resolve panic in tsi1 package
2018-09-04 14:25:07 -07:00
Chris Goller 37bd273acd feat(http): add flux endpoint /v2/query influx 2018-09-04 16:08:00 -05:00
jlapacik 41a0ad5364
Merge pull request #647 from influxdata/jl-namespace-spec
spec outlining packages, namespaces, and imports
2018-09-04 10:48:57 -07:00
jlapacik 24f1be808d spec outlining packages, namespaces, and imports 2018-09-04 10:41:01 -07:00
jlapacik 9112031ea9
Merge pull request #766 from influxdata/jl-join-example
csv test for join
2018-09-04 10:36:13 -07:00
jlapacik 2f1635a85d csv test for join 2018-09-04 10:04:01 -07:00
Lyon Hill 5be44d7fac
fix(taskd): Make WithTicker not block. (#765)
A mistake in the WithTicker method caused it to block.
This was not evident because until recently we used a cron styler timer.
Removing the block should allow the task deamon to start up properly.
2018-09-04 10:16:40 -06:00
Nathaniel Cook 35002fa90f Merged pull request #738 from influxdata/nc-histogram
feat: Add histogram function for computing bucket based histograms
2018-09-04 09:51:32 -06:00
Jonathan A. Sternberg 1776778a06
Merge pull request #764 from influxdata/js-transpiler-pivot
docs: update the transpiler docs to use pivot
2018-09-04 09:44:06 -05:00
Chris Goller 3140dd0f6b
Merge pull request #762 from influxdata/feature/influxd-docker
ci(influxd): add influxd to goreleaser
2018-09-01 08:23:48 -05:00
Christopher Wolff a58c9a63f8 Parse duration literals 2018-08-31 15:33:43 -06:00
Jonathan A. Sternberg a45bd08cf6 docs: update the transpiler docs to use pivot
Instead of generating multiple cursors, a pivot is used to join fields
within the same series.

This should be easier than generating a new cursor for everything.
2018-08-31 16:15:28 -05:00
Michael Desa 2717f9396a
Merge pull request #736 from influxdata/feat/json-query-result-iterator
Implement query.ResultIterator on influxql.Response
2018-08-31 14:39:19 -04:00
Chris Goller b8b4b2977b
Merge pull request #761 from influxdata/feature/influxd
chore(cmd/influxd): rename idpd to influxd
2018-08-31 13:29:26 -05:00
Chris Goller b37db6ca57 ci(goreleaser): update to latest goreleaser to support building 2 containers 2018-08-31 13:28:03 -05:00
Chris Goller 46dde34b92 ci(influxd): add influxd to goreleaser 2018-08-31 12:58:21 -05:00
Chris Goller 0ecb5aaefc chore(cmd/influxd): rename idpd to influxd 2018-08-31 12:52:40 -05:00
Michael Desa 4eb2b72bf3 feat(query/influxql): implement query.ResultIterator for influxql.Response
WIP: saving state reword

feat(query/influxql): implement query.ResultIterator directly on response

review(influxql): add ResponseIterator that implement query.ResultIterator

review(influxql): update code is response to review
2018-08-31 13:38:25 -04:00
Nathaniel Cook 128b85ecd1 feat: Add histogram function for computing bucket based histograms 2018-08-31 09:43:45 -06:00
Nathaniel Cook 0388d2e391 Merged pull request #678 from influxdata/nc-from-spec
chore: Update 'from' to match spec
2018-08-31 09:21:52 -06:00
Nathaniel Cook 46a32e874c chore: Update 'from' to match spec
Removes the `db` parameter and used only bucket and bucketID.
2018-08-30 14:51:51 -06:00
Nathaniel Cook 745376a5fe Merged pull request #737 from influxdata/nc-group-missing
fix: Fix group by panic when missing a column
2018-08-30 14:38:01 -06:00
Adam 559ef60a78
feat(query): Created mapped/unmapped versions of append table and updated functions that use it (#751) 2018-08-30 15:01:27 -04:00
Mark Rushakoff d4753e2ed6 chore(platform): remove Last Run field from Task
Closes #626.
2018-08-30 11:02:17 -07:00
Adam 4bb5f5398a
feat(query/functions) Updated percentile to be more memory compact and managed by allocator (#739) 2018-08-30 13:35:04 -04:00
Chris Goller 1dcee7f966
Merge pull request #748 from influxdata/fix/swagger-typos
fix(http): remove swagger typos
2018-08-30 11:27:53 -05:00
Chris Goller acddea49a8 fix(http): remove swagger typos 2018-08-30 11:24:55 -05:00
Mark Rushakoff 4e55cf23d7 chore: add status badge to README 2018-08-30 09:24:50 -07:00