Commit Graph

31836 Commits (f1975bb26879239de6359e9724dc6e04a816c347)

Author SHA1 Message Date
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
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
Lorenzo Affetti f765612ec1 feat(query): add trace_id and sampled to the query log 2019-12-05 16:06:15 +01:00
Jacob Marble 5f19c6cace
chore: Remove several instances of WithLogger (#15996)
* chore: Remove several instances of WithLogger

* chore: unexport Logger fields

* chore: unexport some more Logger fields

* chore: go fmt

chore: fix test

chore: s/logger/log

chore: fix test

chore: revert http.Handler.Handler constructor initialization

* refactor: integrate review feedback, fix all test nop loggers

* refactor: capitalize all log messages

* refactor: rename two logger to log
2019-12-04 15:10:23 -08:00
Chris Goller 27e2531b0a
refactor: add more tracing information to writes (#16118)
refactor: add more tracing information to writes
2019-12-04 16:07:57 -06:00
Alex Boatwright e5b79e00f3
feat(ui): cloning monaco editor for use with toml (#16072) 2019-12-04 14:01:42 -08:00
Alex Boatwright 747e890be2 chore: autolinterizing 2019-12-04 13:53:08 -08:00
Johnny Steenbergen 695211aeda feat(pkger): add dry run and apply functionality for telegraf resources 2019-12-04 13:50:42 -08:00
Alex Boatwright 8452de0cd7 feat(ui): adding state to telegraf editor 2019-12-04 13:34:33 -08:00
Jakub Bednář f25fe8c5a2 fix(http): Return an empty array if organization has no secret keys (#15363)
* fix(http): Return an empty array if organization has no secret keys

* fix(http): Return an empty array if organization has no secret keys instead nil
2019-12-04 13:29:05 -08:00
Jakub Bednář 01452752ec fix(http): remove a HTTPNotificationRuleBase.url from required properties (#15322) 2019-12-04 13:28:29 -08:00
Chris Goller 632b93ac6b
refactor(http): normalize user-agent names
User-Agent cardinality is unbounded; this attempts to
decrease the number quite a bit.
2019-12-04 15:02:00 -06:00
Dan Dascalescu f82e2d5c62 fix(issue_template): Fix typo in Template (#14360) 2019-12-04 12:59:02 -08:00
Ezeki Zibzibadze 3ce827ea76 feat(ui): add Georgian version of hello (#16066) 2019-12-04 12:44:55 -08:00
Bucky Schwarz a28bbfcd68 chore(ui): move changelog entries that were added to the previous release after it was release 2019-12-04 12:41:18 -08:00
Nathaniel Cook fd63ff17f3
feat(cmd/influx): add command to manually transpile InfluxQL to Flux (#16119) 2019-12-04 13:31:20 -07:00
Deary Hudson III ad961669ae
feat(http): create cell view properties on dashboard creation (#16112) 2019-12-04 13:47:25 -06:00
Edd Robinson d367aee428 refactor: add more tracing information to writes 2019-12-04 18:50:26 +00:00
Timmy Luong 9f643126f1 chore: update CHANGELOG 2019-12-04 09:38:41 -08:00