Commit Graph

31903 Commits (f527636fe0e30435d2f3e1fde5a656fcef8dd56c)

Author SHA1 Message Date
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
Ariel Salem 08d8efbaec
feat(ui): added date/time format for graphs (#16148)
* feat(ui): added date/time format for graphs

* fix(ui): removed unnecessary console.log

* feat(ui): updated BE models to reflect necessary updates to structs

* fix(dashboard): updated failing gotests
2019-12-06 12:03:55 -08:00
Stuart Carnie 2640f87538
fix(task): LatestScheduled is set when task is updated to active
This change ensures the following behavior:

* task LatestScheduled is always set when a task is updated and
  transitions from a status of inactive to active
* task LatestScheduled is non-zero when created, to set the initial
  schedule time as some point after it was created

In addition, the kv.Service introduces clock.Clock that is used for
task create and task updates only. This change permits testing
in a deterministic fashion.
2019-12-06 11:52:54 -07:00
Johnny Steenbergen 4a888cc706 feat(pkger): add support for notification endpoints to parser 2019-12-06 10:40:11 -08:00
Ariel Salem 34c0a69abf
fix(honeybadger): updated getTableProps to return empty fieldOptions whenever the files are undefined (#16156) 2019-12-06 10:17:12 -08:00
Alex Boatwright 6465b30d26
chore(ui): telegraf redux (#16126)
* feat(ui): adding state to telegraf editor

* chore: autolinterizing
2019-12-06 10:08:20 -08:00
Deary Hudson III a6941648d2
feat(pkger): pkger to use updated dashboard params (#16142) 2019-12-06 11:13:06 -06:00
Johnny Steenbergen ed974ba50a fix(pkger): add telegraf to launcher for public api support 2019-12-06 09:05:51 -08:00
Johnny Steenbergen ea67663ab7 fix(pkger): cleanup leftover bits from telegraf and label mapping misses
telegraf was not being mapped correctly for applying the label mapppings
and touched up a bunch of other issues that came up along the way.
2019-12-06 08:51:32 -08:00
Lorenzo Affetti 4c9888a651
Merge pull request #16137 from influxdata/feat/querylog-traceid
feat(query): add trace_id and sampled to the query log
2019-12-06 15:41:55 +01:00
alexpaxton 5bb37fd089 chore(ui): upgrade to Clockface 1.1.0 (#16144)
* chore(ui): point to local build

* refactor(ui): repair breakage from update

* chore: Revert "chore(ui): point to local build"

This reverts commit 968a8232cc.

* chore: upgrade dependency to 1.1.0

* chore: appease prettier

* fix: correct typo

* fix(ui): give size to AlertColumns and update e2e tests
2019-12-05 17:05:39 -08:00
Bucky Schwarz 5eb777ab70 test: add e2e test for query builder 2019-12-05 16:27:35 -08:00
Ariel Salem 6d2f17cb48
feat(ui): delete with predicate preview (#16088)
added data preview for DWP. Need to finalize data format and narrow down table selection
2019-12-05 15:13:01 -08:00
Ariel Salem 8b54076d4c
feat(ui): added more time formats for table dropdown (#16147)
* fix(ui): added new selections for time format dropdown

* fix(ui): updated giraffe version to allow for changes to be reflected
2019-12-05 14:04:23 -08:00
Timmy Luong 7c8a7cd82d fix(ui): remove prop override to allow Graph + Single Stat to use line positioning option 2019-12-05 14:00:01 -08:00
Chris Goller 011773ada0
fix(http): remove authorization and user-agent headers from tr… (#16139)
fix(http): remove authorization and user-agent headers from trace
2019-12-05 12:27:15 -06:00
Bucky Schwarz 9af5feec27 test(ui): scope create dashboard click to body button to avoid conflicts 2019-12-05 10:20:48 -08:00
Johnny Steenbergen c76babdce6 feat(pkger): add support for exporting telegraf 2019-12-05 09:58:44 -08:00
Chris Goller 5519faa697
fix(http): remove authorization and user-agent headers from trace
Now, traces will have all headers except authorization and user-agent.
Additionally, I've removed the referer and remoteaddr as they did not
contribute much.

Eventually, this may change to just a small set of headers to record.
2019-12-05 11:30:29 -06:00
Nathaniel Cook 423dc9703c
fix(http/bucket): lift bucket name validation to http layer (#16125)
This removes the bucket name validation from the KV BucketService,
and moves it to the http implementation of the service.
The effect is that API user requests still get validated but direct KV access does not
2019-12-05 10:30:08 -07:00