Commit Graph

32072 Commits (0fec732875fe78be797f23c7f5b1db57b6661601)

Author SHA1 Message Date
Johnny Steenbergen bf86cce1f1 feat(httpc): extend httpc Client with JSON shorthand methods
making most common API calls super easy to get up and running
2019-12-12 07:44:31 -08:00
Edd Robinson bd67d3d368
Merge pull request #16183 from influxdata/er-kv-race
fix: remove racy, redundant initialisation
2019-12-12 14:09:46 +00:00
Edd Robinson b165b1d0b3 fix: remove racy, redundant initialisation 2019-12-12 13:20:44 +00:00
Johnny Steenbergen 3daaa4d307 feat(pkger): add apply functionality for notification endpoints kind 2019-12-11 15:13:42 -08:00
Johnny Steenbergen 69d7eb4455 feat(pkger): add notification endpoint dry run functionality 2019-12-11 15:13:42 -08:00
Alirie Gray b5ccad3c07
feat(metrics): add run latency to executor metrics (#16190) 2019-12-11 14:50:32 -08:00
Bucky Schwarz efdc6e592b fix: return the telegraf module based on Loadable's interface 2019-12-11 13:40:32 -08:00
Bucky Schwarz d2fe751e5a fix: add a timestamp to the telegraf label creation to insure uniqueness 2019-12-11 11:46:09 -08:00
Alex Boatwright 24e4fe4d93
fix: lint error (#16202) 2019-12-11 11:18:07 -08:00
Johnny Steenbergen 8729cd0959 chore(http): refactor api handler take advantage of route tree instead of switch statement
is very much WIP at this point
2019-12-11 09:53:29 -08:00
Ariel Salem b62f29431f
fix(ui): updated webpack to account for different wasm files (#16194)
fix(ui): updated webpack to account for different wasm files
2019-12-11 08:57:22 -08:00
Ariel Salem 7be9307e59
fix(ui): regression fix, notes are now deletable (#16175)
regression fix, notes are now deletable
2019-12-11 08:56:42 -08:00
Alex Boatwright 8093c44230
fix: adding unique id for walkme (#16193) 2019-12-11 08:34:44 -08:00
Scott Anderson e44201e078
chore(flux): update flux functions list for flux 0.56 (#16184)
* chore(flux): update flux functions list for flux 0.56

* added http.post function to flux functions list

* fix(fluxFunctions): change aggregateWindow example to use variable

* updated and simplified example window function in flux function list

* removed unnecessary newline from window function example
2019-12-11 09:27:23 -07:00
Yiqun Zhang f6df30adac
build(flux): update Flux to v0.57.0 2019-12-11 11:19:05 -05:00
Gavin Cabbage 43ff4abffd feat(query): add trace response headers 2019-12-11 09:10:21 -05:00
Jakub Bednář 3e33a03ae1
fix(http): update swagger for easily use in clients (#16067)
* added date-time format for start and stop DeletePredicateRequest
* fixed malformed reference to ViewProperties in PkgChart model
* define separate model for RetentionRule as is in Organizations, Buckets, Labels
* "labels" property from Check and PostCheck should be part of CheckBase (it is ancestor for all Check types)
* "labels" property from NotificationRule and PostNotificationRule should be part of NotificationRuleBase (it is ancestor for all NotificationRule and types)
* "labels" property from NotificationEndpoint and PostNotificationEndpoint should be part of NotificationEndpointBase (it is ancestor for all NotificationEndpoint and types)
* The url property of HTTPNotificationRuleBase should not be required
* Added query link for CheckBase and NotificationRuleBase
2019-12-11 11:24:04 +01:00
Chris Goller 55ce0a0bfc
style: allow Merge commits in commit messages (#16195)
style: allow Merge commits in commit messages
2019-12-10 17:22:26 -08:00
Chris Goller b42098543c
style: allow Merge commits in commit messages
Signed-off-by: Chris Goller <goller@gmail.com>
2019-12-10 16:58:52 -08:00
Deary Hudson III 336961c757
feat(cmd): bucket create to accept org name as flag (#16187)
* enables the user to specify an organization name when creating a bucket.
2019-12-10 17:46:36 -06:00
Deniz Kusefoglu f64c63120a
Chore(ui): Use typed timeRanges throughout the app (#16130)
* chore(ui): Remove unused references to timeRange

* chore(ui): Add comment to timerange to duration function

* chore(ui): Fix getTimeRangeVars.test

* Refactor getTimeRangeVars.ts

* chore(ui): Remove references to zoomed time range

* chore(ui): Remove unused set dashboard time range v1 action

* chore(ui): Add preliminary timeRange types

* chore(ui): Add init pass at reasonable timeRange constants

* chore(ui): Finish Remove unused set dashboard time range v1 action

* fix(ui): Conver redux ranges state to object from array

* chore(ui): Read from and write to ranges local storage

* chore(ui): Reorder imported things

* chore(ui): Add typing to timeRanges from query params and localstorage

* chore(ui): Fix Dashboard and DE Time Range Dropdown

* chore(ui): Fix check timeRange

* chore(ui): Convert duration time Ranges to custom for time range dropdown

* chore(ui): Convert delete with predicate timeranges to TimeRange types

* chore(ui): Convert predicates timeRange to custom

* chore(ui): fix ValidateAndType bug

* fix(ui): Fix show bucketname in delete data form

* fix(ui): Allow timeRange to handle all duration time Ranges

* chore(ui): Separate DeleteDataOverlay update logic

* fix(ui): Fix deletedata overlay dismiss routing

* chore(ui) cleanup

* chore(ui): Allow timeRange dropdown to work with no prior timeRange selection

* chore(ui): Remove unused import

* fix(ui): Fix time Ranges tests

* fix(ui): Fix tests

* fix(ui): Fix tests

* fix(ui): Extract label creation function and use where needed

* fix(ui): Fix predicate testing

* fix(ui): Fix prettier issue

* chore(ui): Refactor duration.ts

* chore(ui): Remove labels from timeRange

* chore(ui): Return label for selectable-duration label

* chore(ui): Resolve merge error

* chore(ui): Make tests more robust

* feat(ui): protect query params access with get

* chore(ui): Add comment to warn against regex behavior

* Apply prettier to predicates.test
2019-12-10 12:52:03 -08:00
Johnny Steenbergen b2ea95f512 feat(http): add notification endpoint service
note: tests are seriously borked here. Cannot reuse any existing testing
as the setup is very particular and the http layer doesn't suppport everyting.
that being said, there are goign to be implicit testing in the
`launcher/pkger_test.go` file. This feels broken, and probably needs to be
readdressed before we GA a 2.0 influxdb....
2019-12-10 12:40:17 -08:00
Jonathan A. Sternberg 791cf15cd3
build(flux): update Flux to v0.57.0 2019-12-10 13:26:10 -06:00
Johnny Steenbergen 417d25537f chore(http): refactor org service to use httpc client 2019-12-10 10:49:22 -08:00
Scott Anderson 2fb6abcc68 removed unnecessary newline from window function example 2019-12-10 10:36:38 -07:00
Scott Anderson 73b06ead72 updated and simplified example window function in flux function list 2019-12-10 10:35:24 -07:00
Timmy Luong d279680cb1 chore: update CHANGELOG 2019-12-10 09:28:04 -08:00
Russ Savage f354bc37b5
fix(fluxFunctions): change aggregateWindow example to use variable 2019-12-10 09:23:38 -08:00
Alex Boatwright 15f473be0c
fix: removing the telegraf bucket sort (#16179) 2019-12-10 09:20:44 -08:00
Scott Anderson be63d3f923 added http.post function to flux functions list 2019-12-10 10:12:58 -07:00
Alex Boatwright c21e08924b
feat(ui): create telegraf config (#16157) 2019-12-10 09:07:18 -08:00
Scott Anderson 8f953bc5e3 chore(flux): update flux functions list for flux 0.56 2019-12-10 10:05:45 -07:00
Andrew Watkins 4f5ff962d6
fix(e2e): fix race conditions (#16173)
* fix(e2e): flakey query builder test

* test(e2e): run test 50 times

* test(e2e): run update label test 50 times

* fix(e2e): visit page after creation

* chore(e2e): run test once

* fix(e2e): run update label test once
2019-12-10 07:12:34 -08:00
Ayan George 0681b41bef
Merge pull request #15776 from ayang64/uint-support-15711
refactor(models): permanently enabled uint64 support
2019-12-10 09:45:11 -05:00
Gavin Cabbage 3d835f9f5f chore: update changelog 2019-12-10 09:06:33 -05:00
Gavin Cabbage f1975bb268 refactor(logger): use TraceInfo in TraceFields 2019-12-10 09:06:33 -05:00
Gavin Cabbage 5c9c31f3ab feat(query): capture query handler error in trace log 2019-12-10 09:06:33 -05:00
Gavin Cabbage c91263cbbb chore(docs): updated readme to reflect password character minimum 2019-12-10 09:06:33 -05:00
Gavin Cabbage b7c2c997d2 feat(query): annotate logger with trace id 2019-12-10 09:06:33 -05:00
Johnny Steenbergen c24137d9ef fix(http): fixes resource type on variables handler, was incorrect beforehand 2019-12-09 17:47:31 -08:00
Ariel Salem 9991a27f74
fix(ui): updated table threshold to set background colors for thresholds correctly (#16172)
fix(ui): updated set threshold function to account for table
2019-12-09 14:24:11 -08:00
Johnny Steenbergen 5cc02de988 feat(httpc): add httpc pkg to resuse code for http client type 2019-12-09 12:17:22 -08:00
Ayan George d2bf6b02f8 refactor: permanently enable uint64 support
* Remove all instances of EnableUintSupport()

* Remove all instances of enableUint64Support

Closes #15711
2019-12-09 14:45:34 -05:00
Johnny Steenbergen 648a14d148 chore(influx): refactor orgnization cmd
death to unneccessary inits
2019-12-09 11:39:28 -08:00
Johnny Steenbergen ad841608ca chore(http): refactor bucket|dashboard|label|umr|var http clients to use reusable HTTP client
this is a step towards providing a shared http client that manages  pooling connections,
timeouts, and reducing GC for by not creating/GCing a client each req. Bring on the red!
2019-12-09 09:44:41 -08:00
Johnny Steenbergen 521ce543eb fix(pkger): fix flaky test in pkger service tests
tests failign from a data race caused in the tests setup. an incrementing
const needs something to serialzie it (atmoic in this case) to remove that
data race. This touches that up.
2019-12-09 08:59:44 -08:00
Johnny Steenbergen 0225160814 fix(http): provides a reusable http client instead of creating/GCing one each time 2019-12-06 18:15:35 -08:00
Johnny Steenbergen 51f1b73738 feat(pkger): speed up application of pkg with a touch of concurrency
governs the concurrency with a simple semaphore. Defaults to 5
concurrent reqs, anything greater, could put a lot of pressure
on the system as a whole (especially OSS/bolt store).
2019-12-06 18:15:35 -08:00
Ariel Salem 8b487571c2
chore(ui): updated giraffe dependency (#16160) 2019-12-06 14:16:53 -08:00
Stuart Carnie 2ae10bb83d
Merge pull request #16150 from influxdata/sgc/issue/5482
fix(task): LatestScheduled is set when task is updated to active
2019-12-06 13:07:43 -07:00