Commit Graph

31979 Commits (a2071478c804fdbaf8dbefdbdc013f63bd326973)

Author SHA1 Message Date
Brett Buddin a2071478c8
Merge pull request from influxdata/ready-manual-override
feat(kit/check): Manual Overrides for Readiness Endpoint
2019-12-30 10:06:31 -05:00
Brett Buddin c42a232545
chore(kit/check): Add new readiness override to CHANGELOG. 2019-12-30 09:42:59 -05:00
Brett Buddin b4703566a8
feat(kit/check): Adds manual override capabilities to readiness endpoint.
With `/health`, it is possible to override the overall status reported.
This change adds the same functionality to `/ready`. This allows
incident responders to take an unhealthy pod out of a service without
killing it—giving them time to gather meaningful forensic data from the
pod. The new contract is:

Force not ready:

    GET /ready?force=true&ready=false

Force ready:

    GET /ready?force=true&ready=true

Disable override:

    GET /ready?force=false
2019-12-30 09:42:31 -05:00
Johnny Steenbergen 0dc5c2af92 feat(pkger): fixup flux query normalization in exporting of task 2019-12-27 15:16:48 -08:00
Johnny Steenbergen f1b5e19776 feat(influx): add hide headers flag to influx cli task cmd 2019-12-27 14:41:55 -08:00
Johnny Steenbergen 5bdcfaee4d fix(pkger): make pkger skip system tasks when exporting all tasks 2019-12-27 14:26:18 -08:00
Andrew Watkins fa3009d2f4
chore(redux-thunk): fix typings ()
* chore(redux-thunk): fix typings

* chore: lower react-redux version

* chore(eslint): turn off thenable rule
2019-12-27 14:01:16 -08:00
Ariel Salem 7e23c828e9
feat(ui): added last run status to tasks ()
feat(ui): added last run status to tasks
2019-12-27 13:21:04 -08:00
Johnny Steenbergen cce279a80e feat(pkger): add ability to provide secrets alongside package when applying
this provides the ability to add secret refs at runtime instead of adding
them to the pkg.
2019-12-27 12:41:42 -08:00
Ariel Salem 79c5c79286
feat(ui): added notification rule & checks last run status & error ()
feat(ui): added last run status checks for notification rules and check rules, readded updateCheck to fix linter and functionality issues with program and added tests to ensure check creation and update stability
2019-12-27 10:14:34 -08:00
Johnny Steenbergen 33756ca7a8 fix(pkger): remove tasks created by checks from being exported when exporting by org 2019-12-27 09:36:23 -08:00
Deniz Kusefoglu 142fbcbb3f
feat(ui): Show users saving errors from check time machine () 2019-12-27 02:05:08 +00:00
Bucky Schwarz dd41af3d7a feat: Add group() to Query Builder 2019-12-26 17:02:41 -08:00
Johnny Steenbergen 5569193116 fix: add custom marshaler to dashboard builder config to stop breaking all external api clients with nil vals 2019-12-26 14:53:14 -08:00
Johnny Steenbergen 935389912a chore(pkger): reorder print statements to be alphabetical 2019-12-26 11:34:48 -08:00
Johnny Steenbergen 1c2421cb9c feat(pkger): add export support for tasks 2019-12-23 15:41:14 -08:00
Johnny Steenbergen c9431bceb8 feat(pkger): add apply functionality for task resource 2019-12-23 13:56:42 -08:00
Johnny Steenbergen 8e87498317 feat(pkger): add dry run functionality for task resource 2019-12-23 11:40:28 -08:00
Johnny Steenbergen aef32b0a0a chore(pkger): improve error handling in service
this provides influxdb.Errors whenever possible from the pker service layer.
the behavior that caused the error is somewhat implicated in the errro code.
it is not perfect but is a big step forward. using the http server/client to
run pkger stuff makes it abundantly clear the errors need to be communicated
better.

closes: 
2019-12-23 09:36:25 -08:00
Johnny Steenbergen e33d74b38c feat(pkger): add support for tasks to parser 2019-12-23 09:24:35 -08:00
Johnny Steenbergen af5b7fd7d3 feat(pkger): add export support for notification rules 2019-12-21 14:58:02 -08:00
alexpaxton 08f523ddc0
refactor(ui): Clockface replacement ()
* refactor: use replace select group with tabs in save as dialog

* refactor: replace local RightClick with Clockface RightClick

* refactor: delete local RightClick code

* refactor: replace ResponsiveGridSizer with SquareGrid

* chore: delete local grid sizer components

* fix: repair broken e2e tests

* fix: attempt to fix e2e test

* fix: repair query builder e2e test

* fix: don't call stop propagation because there is no event object
2019-12-20 14:56:46 -08:00
alexpaxton 6e6c08e1f6
refactor(ui): update line protocol wizard ()
* refactor: extend DragAndDrop to support custom classnames

* refactor: use OverlayFooter

* refactor: remove WizardOverlay from CollectorsWizard

* refactor: redesign and simplify line protocol wizard

* refactor: remove WizardOverlay from telegraf instructions

* fix: repair affected e2e test

* refactor: use vscss ariable to ensure height consistency between steps

* refactor: extract helper text into component to ensure consistency
2019-12-20 14:36:55 -08:00
Alex Boatwright 32d401e1d1
feat: connecting telegraf editor to a backend resource () 2019-12-20 14:17:15 -08:00
Alex Boatwright 292f810558
fix: speeding them tests right up () 2019-12-20 14:15:38 -08:00
Greg abd8ce0089
feat(http): add functionality to retrieve/store telegraf config as toml () 2019-12-20 14:20:13 -07:00
Johnny Steenbergen 61dceaa727 feat(pkger): add application functionality for the notification rules resource 2019-12-20 12:48:46 -08:00
Jacob Marble a2b2d828ee
fix(query): revert promqltests/go.sum ()
Looks like  mistakenly included a bad go.sum change
2019-12-20 11:22:31 -08:00
Will Cooke 2f4cca95f4
docs: Merge pull request from influxdata/new-contrib adding CONTRIBUTING.md
docs: Create CONTRIBUTING.md
2019-12-20 13:13:53 +00:00
timhallinflux ef5f1bb0af docs: create CONTRIBUTING.md
Update CONTRIBUTING.md

Added Security Vulnerability Reporting

Updated the text to include the simple changes.  This branch still needs updating to reflect 2.0 API etc.
~

fix(contribution): updated the text for V2.
fixes 

Update the 'Getting the source' section'

Remove the 'Cloning a fork' seciton

* If they have forked the repo, it should be clear how to clone the fork.

refactor

last refactor

Use # for section headings

Minor grammar edit.

Update CONTRIBUTING.md

Fix tripple backticks

Backticks weren't being picked up by Github's md renderer properly.

Fixed formatting

Made tabs and spaces consistent (went for tabs, since that's what go uses).  Made cli commands consistent by including $ at the start of the line.  Fixed copy a little bit.

Softened the language

Fixes: https://github.com/influxdata/influxdb/pull/13370#discussion_r359393716
Softened the language a bit.

Update CONTRIBUTING.md

Co-Authored-By: Stuart Carnie <stuart.carnie@gmail.com>

chore: improve CONTRIBUTING.md
2019-12-20 10:36:40 +00:00
Johnny Steenbergen 02aec6ed29 feat(pkger): add dry run functionality for notification rules 2019-12-19 16:31:22 -08:00
Alex Boatwright 3504ea275a
feat: generate types for tests () 2019-12-19 16:21:34 -08:00
Johnny Steenbergen 1d3e0daca4 feat(pkger): add parser support for notification rules 2019-12-19 12:56:02 -08:00
Zoe Steinkamp 5b859a27a6
Merge pull request from
Zs addviewcheckpage 
2019-12-19 13:07:39 -07:00
Alex Boatwright 6c334889ca
fix: pass variables into a function () 2019-12-19 10:36:04 -08:00
Zoe Steinkamp a306d08909 feat(ui): Add the view check page
prettier fix
2019-12-19 10:13:41 -07:00
Zoe Steinkamp 8750264807 feat(ui): Add the view check page
full fix
2019-12-19 09:37:42 -07:00
George 48b8cb84f7
feat(kv): define forward cursor interface ()
* feat(kv): define forward cursor interface

* feat(kv): implement ForwardCursor on bolt and inmem buckets

* feat(kv): update tests to capture forward cursor

* fix(kv): typo in docs

* feat(kv): add Err method to ForwardCursor interface

* feat(inmem): batch pair channel sends in forward cursor

* fix(kv): remove Err field from kv.Pair

* feat(kv): add Close to kv.ForwardCursor interface
2019-12-19 17:30:05 +01:00
Jade McGough cc0943ceeb
chore(cli): improve walk function documentation () 2019-12-19 03:22:56 -08:00
Chris Goller 4755e50af8
ci: run go race tests in parallel over 8 containers ()
* ci: run go race tests in parallel over 8 containers

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: add timing hint for splitting go tests

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: remove spurious grep

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: mod=readonly should ignore unknown internal/promqltests path

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: echo the packages tested

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: remove readonly experiment

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: filter promql internal tests

The promql internal tests has a special go.mod that shows
up in go list.  That directory cannot be tested.

Signed-off-by: Chris Goller <goller@gmail.com>
2019-12-18 23:47:26 -06:00
Zoe Steinkamp 88acdfb9d3 feat (ui): Add the view check page
UI fixes
2019-12-18 22:38:55 -07:00
Johnny Steenbergen a8a4d3d0b2 feat(pkger): add export functionality to checks resource 2019-12-18 17:52:28 -08:00
Johnny Steenbergen 677e836bf4 feat(pkger): add apply functionality for checks
this work is to support pkger, but was able to add back in the
skipped tests. seeing failures upstream, and didn't catch it in
influxdb b/c the tests were being skipped.

closes: 
2019-12-18 15:02:03 -08:00
Chris Goller a942924cbb
ci: split go and js linting into separate circleci jobs ()
* build: split go linting from tests

Signed-off-by: Chris Goller <goller@gmail.com>

* build: split js linting from tests

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: run go tests without verbose option

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: parallelize eslint with 8 containers

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: cache node modules for eslint

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: lint circle yaml

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: cd into ui directory for node caching

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: note eslint parallelization

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: update yarn cache directory to global

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: cache jstest yarn downloads

Signed-off-by: Chris Goller <goller@gmail.com>

* ci: note parallelization of jest tests

Signed-off-by: Chris Goller <goller@gmail.com>
2019-12-18 16:57:08 -06:00
Jonathan A. Sternberg 98a807c580
feat: add an env script that will configure the environment for using go with libflux () 2019-12-18 16:45:55 -06:00
Bucky Schwarz a05bd3ec39 chore: add more context to honeybadger errors 2019-12-18 14:08:48 -08:00
Ariel Salem 63b8129188
fix(ui): fixed flakey tests ()
fix(ui): fixed flakey tests
2019-12-18 14:03:31 -08:00
Johnny Steenbergen 1db3256980 feat(pkger): add check dry run functionality 2019-12-18 12:15:08 -08:00
Chris Goller a14ae9790a
build: split the jest test to run in parallel ()
build: split the jest test to run in parallel
2019-12-18 13:56:29 -06:00
Chris Goller da6297f922
build: allow JSON imports in jest tests
Co-authored-by: Alex Boatwright <drdelambre@gmail.com>
Signed-off-by: Chris Goller <goller@gmail.com>
2019-12-18 13:34:57 -06:00