Stuart Carnie
7e0be6fbaf
fix(flux): Fix empty results when using _value in filter expression
...
Closes #10471
2018-11-12 11:00:45 -08:00
Jonathan A. Sternberg
2e7d8d753f
Merge pull request #10458 from influxdata/js-flux-0.7.0
...
Update flux dep constraint to 0.7.0
2018-11-06 14:16:56 -06:00
Jonathan A. Sternberg
0eb2333506
Update flux dep constraint to 0.7.0
2018-11-06 13:05:08 -06:00
Stuart Carnie
3599bdb382
chore(deps): Update flux and platform dependencies
2018-11-05 17:50:15 -07:00
Stuart Carnie
6affa7c7f5
chore(flux): Remove Flux gRPC handler and update config.sample.toml
2018-11-05 14:26:37 -07:00
Stuart Carnie
317fd4982f
chore(flux): Document flux-enabled config option
2018-11-05 14:26:37 -07:00
Jonathan A. Sternberg
6f9cb822f2
Merge pull request #10455 from influxdata/js-changelog-update
...
Update changelog
2018-11-05 12:47:55 -06:00
Jonathan A. Sternberg
a16096cbc4
Merge pull request #9943 from michaelyou/hotfix-typo
...
Some typo and Wrong position of comment
2018-11-05 12:36:05 -06:00
Jonathan A. Sternberg
ebafd3714a
Update changelog
2018-11-05 12:28:50 -06:00
Jonathan A. Sternberg
f436046b31
Merge pull request #9509 from influxdata/js-http-logging-levels
...
Add an access log filter for the access log
2018-11-05 12:08:09 -06:00
Jonathan A. Sternberg
b3472a54ee
Add an access log filter for the access log
...
The access log filter allows the access log to be filtered by a status
code pattern. The pattern is a list of strings of the form `NXX`. At
least one number must be specified and up to 2 Xs can be used. That
means the filter can be an exact status code or it can be a range of
them. For example, `500` would only match the 500 http status code while
`5XX` would match any status code beginning with the number 5
(categorized as server errors). The pattern `50X` would also be
accepted. Both uppercase and lowercase Xs are allowed.
Multiple filters can be specified and the log line will be printed if
one of them matches. If there are no filters specified, all status codes
are printed.
2018-11-05 11:46:26 -06:00
Jonathan A. Sternberg
b3d42983b6
Merge pull request #10437 from seebs/seebs/errors
...
Don't use fmt.Errorf on random strings
2018-11-05 11:39:54 -06:00
Stuart Carnie
82c4be9657
chore(deps): Update Flux and Platform dependencies
...
Includes fix for distinct push down
2018-11-05 09:17:34 -07:00
tmgordeeva
9c0e1cf188
Merge pull request #10391 from influxdata/tg-measurements
...
Reduce allocations for high measurement writes
2018-11-05 00:48:41 -08:00
Tanya Gordeeva
8b8421049e
tsdb: benchmark for many fields
2018-11-02 18:49:28 -07:00
Tanya Gordeeva
7c9ff60413
tsdb/shard: reduce measurement field copying
...
Removes cloning measurement fields on writes, instead atomically swaps out
measurement field sets when fields are added (with new overhead of copying
existing fields whenever a new one is added).
2018-11-02 18:49:17 -07:00
Tanya Gordeeva
f13a1293f2
tsdb/shard_test: add comparitive benchmarks for measurement cardinalities
...
Reuses some existing benchmarks, but ensuring that we write equal numbers of
points for comparison.
2018-11-02 18:49:17 -07:00
Stuart Carnie
5bcb952b6f
chore(cli): Improve APIs to increase reuse in Enterprise
2018-11-02 09:16:42 -07:00
Stuart Carnie
2aa2768677
chore(cli): Remove flaky tests
...
The two deleted tests don't exercise any useful behavior or use cases.
2018-11-01 17:28:23 -07:00
Stuart Carnie
f31dd5a733
chore(deps): Update platform and flux
...
The platform update is required for influxdata/platform/pull/1262
2018-11-01 15:56:48 -07:00
Stuart Carnie
70f9fe7fa3
chore(deps): Update platform and flux
...
The platform update is required for influxdata/platform/pull/1249
2018-10-31 12:48:52 -07:00
smasuda
e4d0f3c54f
to fix the dead link
2018-10-31 16:38:15 +09:00
Seebs
acdb9a6271
Don't use fmt.Errorf on random strings
...
In a few places, the client was assuming that an error
string would necessarily be safe to pass as a format string.
This seems unwise.
2018-10-30 19:05:37 -05:00
Stuart Carnie
7511e46b34
chore(httpd): Update unit tests to verify 403 status response
2018-10-30 13:14:59 -07:00
Stuart Carnie
5de5f09676
feat(cli/influx): Display detailed error messages when available
...
This commit will print any detailed error messages returned by
the server via the `/api/v2/query` API
2018-10-30 13:14:59 -07:00
Stuart Carnie
f6426f269d
feat(httpd): Return 403 Forbidden when Flux API is disabled
2018-10-30 13:14:59 -07:00
jlapacik
ff416805c5
add Flux output functions ( #10433 )
...
* add flux output functions
* update flux dependency
2018-10-30 10:06:02 -07:00
jlapacik
50b9a12441
update flux dependency after planner integration ( #10428 )
2018-10-30 08:03:01 -07:00
Jonathan A. Sternberg
6270a58b3f
Merge pull request #10258 from miya-masa/master
...
Fix #10257 add `QueryAsChunk`
2018-10-30 09:23:34 -05:00
miya-masa
c19788030d
Add the `QueryAsChunk` method to v2 client
2018-10-30 09:06:16 -05:00
Edd Robinson
7d9830ab24
Merge pull request #10431 from influxdata/er-tsm-maxtime
...
Fix TSM index maxtime modification
2018-10-29 18:47:25 +00:00
Edd Robinson
be662a5853
Fix TSM index maxtime modification
2018-10-29 15:44:31 +00:00
Edd Robinson
0f67d8f294
Merge pull request #10387 from influxdata/er-index-vars
...
Add shards' index types to /debug/vars
2018-10-29 10:12:05 +00:00
Hercules Mango Churchill
6a98bb8aa4
Update changelog
2018-10-26 18:11:29 +00:00
Edd Robinson
42827219f3
Merge pull request #10423 from influxdata/er-nil-shard
...
Fix panic in IndexSet
2018-10-26 19:05:08 +01:00
Jeff Wendling
5c2d36225d
fix(tsdb): copy measurement names when expression is provided
...
We already make copies when no expression is provided, because
the backing slices may go away if the shard they came from is
closed. This fixes the other spot where some backing slices
would be returned.
2018-10-26 11:25:25 -06:00
Edd Robinson
cade59e253
Fix panic in IndexSet
...
This commit fixes a panic where a concurrent removal of a shard and meta
query could cause a `nil` index to be added to the IndexSet`.
2018-10-26 18:23:54 +01:00
Stuart Carnie
04975c46ef
fix(storage): Fix when filtering by _value, which would exclude all data
...
* The `Value` function must return a `string`, however `SeriesTags#Get`
returns `[]byte`, resulting in the reduced expression always becoming
`false`.
* Also added a specific case for the `$` key, which refers to `_value`
in a Flux predicate. This will always return no value.
2018-10-25 15:57:05 -07:00
Stuart Carnie
448e8079ad
fix(storage): Update to latest flux and platform
...
* Due to a breaking API change, `BucketsDecoder` was updated to use
`NewString` vs `NewStringValue`
2018-10-25 15:57:05 -07:00
Stuart Carnie
82447f1afe
chore: Update changelog noting #10408
2018-10-25 11:32:33 -07:00
Stuart Carnie
c5ec3a3244
feat(influx): Add Flux support, enabled by specifying -type=flux
2018-10-25 11:12:14 -07:00
Stuart Carnie
9d1a8c97d8
feat(influx): Add `-type` switch and implement decision tree
...
* `-type` reports error for invalid values
* Implemented decision tree such that appropriate message is printed
when Flux version of command is executed
* all variations for invoking influx identified in #10407 work as
expected
2018-10-25 11:12:14 -07:00
Shobhit Gupta
9061245d77
Fix golint warnings
2018-10-23 18:19:52 -07:00
Shobhit Gupta
b36353b5ae
Update comment
2018-10-23 14:30:24 -07:00
Shobhit Gupta
ea8182dee7
Fix linting warnings for snapshotter package
2018-10-23 14:23:47 -07:00
Stuart Carnie
691dfb8bc1
chore(httpd): Add basic Flux query tests
...
* added flux handler mocks
* test JSON and application/vnd.flux content-type
* basic errors
2018-10-23 10:01:31 -07:00
Stuart Carnie
e1230802fb
chore(httpd): Define interface for controller, for testing purposes
2018-10-23 10:01:31 -07:00
Stuart Carnie
cf220c6471
feat(httpd): Add Flux query metrics
...
* debug/vars InfluxDB metrics
* append Prometheus metrics to default registry
2018-10-23 10:01:31 -07:00
Stuart Carnie
a4dc81902a
feat(httpd): Add config to specify availability of the Flux query API
2018-10-23 10:01:31 -07:00
Stuart Carnie
39011702e3
fix(httpd): Update flux API from /v2/query → /api/v2/query
2018-10-23 10:01:31 -07:00