Commit Graph

31281 Commits (4fcf4c4ad1e70f9dfcd6ee94a59dc8c317afb557)

Author SHA1 Message Date
Mustafa 4fcf4c4ad1
Merge pull request #15248 from influxdata/elbehery-fix#4300
fix(storage): remove level=0 from TSM disk bytes metrics.
2019-09-26 18:21:38 +02:00
Jakub Bednář 732c0cc28d
fix(http): update NotificationRuleBase and NotificationRule schema to reflect reality (#15244)
* NotificationRuleBase: the endpointID should be required and editable, there is missing a links property
 * NotificationRule: add discriminator
 * add a missing TraceSpan parameter into a GetNotificationRules and GetChecks
2019-09-26 12:07:44 +02:00
Jakub Bednář 95d6301458
fix(http): add a discriminator for a Threshold schema, add links into CheckBase schema (#15198) 2019-09-26 11:09:59 +02:00
kelwang 8af36d5aae
Merge pull request #15278 from influxdata/fix/rule-encoding
fix(http): lookup task before clearing it's id from the rule
2019-09-25 17:33:38 -04:00
Lyon Hill 270d39224c
fix(task): include offset in next due calculation (#15281) 2019-09-25 15:21:37 -06:00
Michael Desa ca937eaf11
fix(http): lookup task before clearing it's id from the notification rule 2019-09-25 16:33:05 -04:00
Michael Desa 2bb8418575
Merge pull request #15276 from influxdata/remove-slack-token
Remove slack token option from endpoint
2019-09-25 16:07:59 -04:00
Lyon Hill 7aa98ca84f
feat(task): add limit function for task concurrency (#15266)
* feat(task): add limit function for task concurrency

The new task executor handles limit's differently then the old executor
instead of front loading limits by creating a runner for every task that might run
the new executor has a large worker pool and queue. This allow's us to have a unlimited
concurrency per task and helps us avoid a back log of task's execution based on a
arbitrary execution limit. This add's the ability to add an optional task execution limit
so a user can still have the advantages of limiting concurrency.
2019-09-25 12:02:04 -06:00
Deniz Kusefoglu ca078d4b91 Remove endpoint test for slack token field 2019-09-25 10:54:07 -07:00
Deniz Kusefoglu 43f3eafa73 Remove slack token option from endpoint 2019-09-25 10:40:35 -07:00
Johnny Steenbergen 4da248ec30
Merge pull request #15275 from influxdata/task/15258_remove_senstive_data_logging
chore(http): remove logging of senstive data
2019-09-25 10:13:10 -07:00
Johnny Steenbergen fc955c5abe chore(http): remove logging of senstive data
after discussion with team, dropping the request logging was decided on.
2019-09-25 09:49:09 -07:00
elbehery 663d4bb901 test(tasks): skip flaky test 2019-09-25 18:17:59 +02:00
elbehery c0b87c657c fix(storage): remove level=0 from TSM disk bytes metrics. 2019-09-25 15:57:25 +02:00
Jakub Bednář ff2747a728
fix(http/check): fix handler path for a list of all labels for a check (#15216) 2019-09-25 09:07:24 +02:00
Jakub Bednář d23b1f9904
fix(http): add discriminator for Check schema (#15178) 2019-09-25 08:50:09 +02:00
Brandon Farmer fe12b40578
Merge pull request #15267 from influxdata/always-provide-user-status
fix(influxdb): Always return user status
2019-09-24 15:54:19 -07:00
Brandon Farmer f61fe82708 fix(influxdb): Always return user status 2019-09-24 15:19:16 -07:00
Michael Desa 16ffb9013d
Merge pull request #15261 from influxdata/fix/http-checks
fix(http): prevent writing to http request multiple times
2019-09-24 16:10:09 -04:00
Michael Desa d48b28e533
fix(http): prevent writing to http request multiple times
Closes https://github.com/influxdata/influxdb/issues/15260

Additionally, we look up a task before clearing the taskID from the
check.
2019-09-24 15:48:36 -04:00
Michael Desa f2805626c7
Merge pull request #15235 from influxdata/fix/state-changes-be
fix(notification/rule): ensure stateChanges rule has enough data in window
2019-09-24 14:59:27 -04:00
kelwang 14643711f7
Merge pull request #15140 from influxdata/cli_add_user
fix(cmd/influx): org add/remove members
2019-09-24 13:58:39 -04:00
Kelvin Wang 4aa6df1c34 fix(cmd/influx): org add/remove members 2019-09-24 13:26:18 -04:00
Michael Desa 58fbddc123
fix(notification/rule): ensure stateChanges rule has enough data in window
Closes https://github.com/influxdata/influxdb/issues/15154

Previously, we niavely incremented the unit associated with the leading
duration. Now, if the unit is `s` we double it. For every other unit, we
increase the magnitude by 1.

fix(notification/rule): change panic to t.Fatal

chore(notification/rule): add support for durations less than s
2019-09-24 12:48:10 -04:00
Michael Desa 38d2c116fb
Merge pull request #15250 from influxdata/chore/remove-alerting-feature-flag
chore(ui): remove alerting feature flag
2019-09-24 11:56:28 -04:00
Jonathan A. Sternberg 5c3c66969b
Merge pull request #15249 from influxdata/flux-staging/v0.49.x
build(flux): update Flux to v0.49.0
2019-09-24 10:23:12 -05:00
Michael Desa 527aa4f2d5
chore(ui): remove alerting feature flag 2019-09-24 10:59:01 -04:00
Jonathan A. Sternberg 7f5a72539f
build(flux): update Flux to v0.49.0 2019-09-24 09:54:54 -05:00
kelwang c3127c8cdd
Merge pull request #15179 from bednar/check-cron
fix(alerts): remove the cron option from checks/rules
2019-09-23 21:28:02 -04:00
kelwang 236e8c14ee
Merge pull request #15150 from bednar/flux-paren-expression
fix(http): add ParenExpression
2019-09-23 21:26:57 -04:00
Deniz Kusefoglu b3a806df6b
Fix endpoint type conversions (#15240)
* Fix endpoint type conversions

* Update reducer

* Add token to slack endpoint

* Add test for http endpoint
2019-09-23 18:17:56 -07:00
Jakub Bednář 9f0d9f6ecb fix(http): fix NotificationEndpoint: (#15148)
* Add TraceSpan parameter to GetNotificationEndpoints operation
* Fixed handler path for a list of all labels for a notification endpoint
* Fixed filter NotificationEndpoints by limit and offset
2019-09-23 15:55:37 -07:00
Michael Desa 85f0875efb
Merge pull request #15234 from influxdata/revert-15221-chore/upgrade-clockface-0.0.32
chore: Revert "chore(ui): upgrade Clockface to 0.0.32"
2019-09-23 16:08:53 -04:00
Brandon Farmer 2878e5940d
Merge pull request #15212 from influxdata/user-disabling
feat(influxdb): User disabling
2019-09-23 13:00:34 -07:00
Brandon Farmer d83fabeabc feat(influxdb): user disabling 2019-09-23 11:57:16 -07:00
Deniz Kusefoglu ec803e22b6 Revert "chore(ui): upgrade Clockface to 0.0.32 (#15221)"
This reverts commit 0669c22bbd.
2019-09-23 11:56:05 -07:00
alexpaxton 0669c22bbd
chore(ui): upgrade Clockface to 0.0.32 (#15221)
* chore(ui): upgrade clockface dependency

* refactor(ui): update components affected by breaking changes

* refactor(ui): update test snapshots

* refactor(ui): remove obsolete component

* refactor(ui): remove reference to non-existant stylesheet

* refactor(ui): update selector in e2e collectors test

* refactor(ui): attempt to fix e2e test

* refactor(ui): appease linter

* refactor(ui): update implementation of client library cards
2019-09-23 10:06:42 -07:00
Edd Robinson db72f57da4 feat(storage): inject function to control when retention enforcer runs (#15136)
* test(storage): ensure multiple engines can run concurrently

* feat(storage): expose control over retention run

Fixes #15134.

This commit adds the ability to inject a functional option into a
storage.Engine for controlling when the retention enforcer can run.

Previously, retention enforcers ran on an interval; if you ran multiple
storage engines (as we do in some environments) then it was not possible
to coordinate when engines ran retention. Often they would synchronise
because they started at the same time.

This change will let you specify a blocking function to control when the
retention enforcer can run.

A simple function for serialising retention enforcement across multiple
storage engines could look like:

```go
var mu sync.Mutex
func f() (done func()) {
    mu.Lock()
    return func() { mu.Unlock() }
}
```
2019-09-23 08:09:04 -07:00
Edd Robinson afcb440d02
Merge pull request #14182 from zhulongcheng/unsigned-type-name
fix(storage): add string representation of the Unsigned FieldType
2019-09-23 14:04:30 +01:00
Jakub Bednar 8089b9c7ea fix(http): fix capitalization 2019-09-23 10:30:20 +02:00
Jakub Bednar 83997a7345 fix(http): add ParenExpression 2019-09-23 10:29:09 +02:00
Jakub Bednar 265bc7bf2a fix(alerts): remove the cron option from checks/rules 2019-09-23 10:20:22 +02:00
Scott Anderson c24710a00d
chore(swagger): general cleanup of swagger.yml (#15223) 2019-09-21 10:15:42 -06:00
Christopher Wolff 26dbd9225c feat(query/stdlib/experimental): add experimental.to() implementation to OSS 2019-09-20 14:31:58 -07:00
alexpaxton bd93845d62
refactor(ui): redesign client libs page (#15204)
* refactor(ui): add vector graphic logos for each client library

* refactor(ui): replace mock content with real content

* refactor(ui): display client library content in overlays with routes

* refactor(ui): cleanup factored out components

* refactor(ui): increase size of client library overlays

* refactor(ui): make client library overlays wider

* refactor(ui): add link to docs for each client library

* refactor(ui): cleanup commented code
2019-09-20 09:39:43 -07:00
Lyon Hill 9d6b9555ac
feat(task): add functions to the task executor to allow for coordinator control (#15218)
We needed the coordinator to be able to execute manual runs and resume runs.
These two functions have been added, but we also needed to allow for the executor to be
mocked out. To do that we needed to return a Promise interface instead of an actual
struct. Both these changes are to facilitate coordinator work and testing.
2019-09-20 10:36:44 -06:00
Lorenzo Affetti 053836e5a5
Merge pull request #15203 from influxdata/flux-staging-v0.48.x
build(flux): update to Flux v0.48.0
2019-09-20 18:24:02 +02:00
Lorenzo Affetti df9e20eb28 build(flux): update to Flux v0.48.0 2019-09-20 17:43:46 +02:00
Lyon Hill 11b9a6fb28
fix(task): Update task executor to match the expected executor interface. (#15205)
I chose to add a execute function that allow's the task executor to match expectation from
the scheduler but I left in the existing executor method that return's promises. This is
because I like to be able to have the accountablilty and visiblity inside what's happening
with each execution even though the promise isn't required for the scheduler. This function signature
will be used by the coordinator and potentially other's that want to ensure a 'execution' is completed.
2019-09-20 08:20:05 -06:00
Edd Robinson d714be45a4
Merge pull request #15200 from influxdata/er-retention-service
refactor(storage): add more context to traces and logs
2019-09-20 09:00:00 +01:00