Commit Graph

31373 Commits (d43bfaab7ddae86dbb72cf874bc1d589e73f4dd9)

Author SHA1 Message Date
Zoe Steinkamp d43bfaab7d (fix) Client URL optional PagerDuty
This is the test to make sure this is working
2019-10-17 10:41:23 -06:00
Bucky Schwarz 0df21e2cb9
chore(ui): add giraffe and clockface sourcemaps to honeybadger config (#15444) 2019-10-17 09:38:01 -07:00
Johnny Steenbergen 984f64d8aa
Merge pull request #15440 from influxdata/4447/vault_launcher_flags
feat(vault): add flags to influxd for vault configuration
2019-10-17 09:09:36 -07:00
George 975289fba1
refactor(tasks): separate run recording behaviour out from analytical storage (#15412) 2019-10-17 10:37:03 +01:00
Alirie Gray f096605327
fix(tasks): replace deactivation of unrecoverable errors with metric (#15430) 2019-10-16 16:00:58 -07:00
Russ Savage 6f8977218a
fix(clientLibs): fixing logos (#15434)
* fix(clientLibs): fixing logos

* fix(clientLibs): renaming logoUrl, updating nits
2019-10-16 13:59:55 -07:00
Bucky Schwarz f842518f22
Merge pull request #15426 from influxdata/bs_bugfix_403_logout
feat(ui): add 403 signout handler to new api requests
2019-10-16 13:36:52 -07:00
Bucky Schwarz c81b758957
feat(ui): add 403 signout handler to new api requests, upgrade to oats 0.5.0 2019-10-16 13:11:51 -07:00
Johnny Steenbergen cf2f785803 feat(vault): add flags to influxd for vault configuration 2019-10-16 09:41:51 -07:00
Zoe Steinkamp 36faf7268e
Merge pull request #15435 from influxdata/zs-dashboardtestfix-#15388
(Fix) Create dashboard from empty state test
2019-10-16 09:35:11 -06:00
Zoe Steinkamp f581ef16f2 (Fix) Create dashboard from empty state test
Fix the eslint issue
2019-10-16 08:58:31 -06:00
Zoe Steinkamp dc23a0afe2 (Fix) Create dashboard from empty state test 2019-10-16 08:58:31 -06:00
David McKay cde064b41b chore: make documentation slightly more agnostic to OS 2019-10-16 15:56:01 +01:00
Russ Savage a947a4eeb0
feat(clientLibs): Add Client Libs page (#15413)
* feat(clientLibs): fix icons, add go and c#

* feat(clientLibs): fix go client overlay

* feat(clientLibs): update remaining client libs

* feat(clientLibs): remove feature flag

* fix(telegraf): fix broken test

* fix(clientLibs): removing unused featureflag class

* feat(clientLibs): addressing pr feedback

* feat(clientLibs): fixing wording and formatting

* feat(clientLibs): update the text on JS page
2019-10-15 16:26:14 -07:00
Alex Boatwright a138b8b563
fix(ui): adding coverage to ignore file (#15429)
...because we should try not to check in compiled assets
2019-10-15 16:25:02 -07:00
Ariel Salem e68bd456ac
fix(ui/telegraf): filter functionality (#15427)
* fix(ui/telegraf): filter functionality

* docs: README

* fix: linter error

* fix: linked relevant issue to the added test
2019-10-15 15:08:29 -07:00
Scott Anderson 4a51c99411
fix(flux): udpated incorrectly named flux functions (#15425) 2019-10-15 14:21:51 -06:00
Deniz Kusefoglu 617e3ab799
bugfix: save flux with variables from data explorer as task (#15409)
* Add user defined variable to save as task

* Update snapshots

* Add tests
2019-10-15 13:18:18 -07:00
kelwang 3f168b109d
Merge pull request #15117 from influxdata/clientURL_optional
fix(notification/endpoint): pagerduty clientURL should be optional
2019-10-15 13:11:50 -04:00
Scott Anderson 5769867796
chore(flux): update Flux function docs with experimental and 0.50 functions (#15403)
* chore(flux): update Flux function docs with experimental and 0.50 functions
* removed unnecessary newlines from fluxFunctions.ts
* fix(fluxFunctions): add space before param
2019-10-15 09:41:08 -06:00
Jonathan A. Sternberg 0cddc7254c
Merge pull request #15393 from influxdata/flux-staging/v0.50.x
build(flux): update Flux to v0.50.0
2019-10-15 07:41:50 -07:00
Jonathan A. Sternberg b73870d3ed
test(tasks): skip flaky test in the scheduler 2019-10-15 09:18:41 -05:00
Jonathan A. Sternberg 10247e7849
build(flux): update Flux to v0.50.0 2019-10-15 09:18:39 -05:00
Jonathan A. Sternberg 74829b025c
refactor(query/stdlib): update flux end to end tests for package subtests (#15392) 2019-10-15 09:18:21 -05:00
Jonathan A. Sternberg 8ac8ecdb31
feat(query/control): include variable memory limits for the controller (#15300)
The controller now supports setting an initial memory limit and setting
a maximum amount of memory that the controller may use separately from
the memory quota per query and the concurrency quota.

This allows the controller to increase the concurrency quota to a larger
number while setting the maximum amount of memory to a lower amount than
would be required for all queries to use 100% of their allowable memory.

Functionally, this means that a query will have a soft limit for an
initial memory byte quota that a query is guaranteed to have, a shared
pool that it is allowed access to in the case it uses more, and a hard
limit that no query may exceed to prevent runaway queries from taking
over the entire pool.

This change is completely backwards compatible with older configurations
as the new options will default to values that mimic the old behavior
where a query is allocated the full amount of its memory quota and the
maximum amount of memory is based on the concurrency quota and this
maximum memory quota.

In addition to the above, this also fixes a bug in the controller that
allowed it to run more than its concurrency as executing queries. This
happened when the results had finished being sent by the executor, but
the query had not yet been read and/or serialized. The executor would be
freed up and would take the next query even though the previous query
hadn't yet been finalized with `Done()`.
2019-10-15 09:18:00 -05:00
Alex Boatwright 3d2f51ac09
chore(ui): adding a coverage reporter to ui (#15407) 2019-10-14 15:10:10 -07:00
Zoe Steinkamp 1f4177bd36
Merge pull request #15355 from influxdata/zs-14651-404screens
fix(endpoints): route user to alerting index
2019-10-14 13:05:46 -06:00
docmerlin (j. Emrys Landivar) 0958c26382 feat(tasks): add scheduler release test 2019-10-14 14:02:25 -05:00
docmerlin (j. Emrys Landivar) b8b8422384 feat(tasks): update new scheduler in response to pr comments 2019-10-14 14:02:25 -05:00
docmerlin (j. Emrys Landivar) 4b732acb3b feat(tasks): switch the new scheduler to use clock instead of custom time mocker 2019-10-14 14:02:25 -05:00
j. Emrys Landivar (docmerlin) 3fd94cbb69 feat(task): new scheduler now with more tests 2019-10-14 14:02:25 -05:00
Lyon Hill 84bc9a8293 feat(task): add scheduler metrics (first pass) 2019-10-14 14:02:25 -05:00
j. Emrys Landivar (docmerlin) 4695eccda5 feat(tasks): new tree-based scheduler 2019-10-14 14:02:25 -05:00
Zoe Steinkamp f2970510e0 fix(endpoints, rules, checks): route user to alerting index
Added in the final notification fixes, also adding a PR for fruther problems with the rules and endpoints
2019-10-14 12:44:02 -06:00
Zoe Steinkamp 02c1462d5d fix(endpoints, rules, checks): route user to alerting index
1. Removing dashboard changes from earlier commit
2. Changing inital state variable name to just be endpoint
3. moving dispatch in check actions
4. Adding notification to endpoints
2019-10-14 12:43:52 -06:00
Zoe Steinkamp d83576c506 fix(endpoints, rules, checks): route user to alerting index
These are the final tests and rule fix for this issue.

The checks is special in how it was fixed.

But endpoints and rules have the exact same fix on them

All the tests are running smoothly

EsLint was run so this branch should no longer fail from that as well.
2019-10-14 12:43:01 -06:00
Zoe Steinkamp e6c2a9f373 Eslint clean up 2019-10-14 12:43:01 -06:00
Zoe Steinkamp 5e4ff33ec0 fix(endpoints): route user to alerting index
1. We fixed the endpoints so it no longer routes to 404 page, instead now routes to the alerting index. When endpoint id does not exist.

2.Added Cypress test to confirm the routing works on checks. Routing the user to the index page when the checks id does not exist.
2019-10-14 12:43:01 -06:00
Zoe Steinkamp a40f77c0ac Solution and cypress testing documentation
The solution for the issue is present as well as the cypress testing documentation
2019-10-14 12:43:01 -06:00
Zoe Steinkamp 5afb613fce
Merge pull request #15381 from influxdata/zs--dashboard404routing-#15325
fix(dashboards)routing to dashboard page instead of 404
2019-10-14 12:35:06 -06:00
Johnny Steenbergen d25afc835a
Merge pull request #15347 from influxdata/4447/vault_configuration_flags
fix(vault): add configuration dependency to vault service constructor
2019-10-14 10:51:10 -07:00
Johnny Steenbergen 6b023a5cfd fix(vault): add configuration dependency to vault service constructor
this fix allows the DI of the vault service configuration. There are place
where we'd like to adminster this with flags, but are locked into
the default env var setup we had previously. One other note is that
calling api.DefaultConfig() calls the ReadEnvironment() method already,
so that was dropped.
2019-10-14 10:01:30 -07:00
Alex Boatwright f08152c77c
chore(ui): allow deployment configuration (#15383)
hopefully this commit doesnt do anything, but it opens up the ability to
change the static folder of the project through the environment variable
STATIC_FOLDER so that we can cache static files and not cache the index
file (allowing more passive deployment strategies), and allows the user
to change the base path of the project with the BASE_PATH variable,
opening up the ability to run an instance behind an nginx proxy,
though that change is pending an update to the @influxdata/oats package
before we can turn it on
2019-10-11 12:17:49 -07:00
alexpaxton 79f8cf0e9d
refactor(overlays): proposed new pattern for handling overlays (#15368)
* refactor: introduce components for showing/hiding overlays

* refactor: use OverlayRouter pattern for cell note overlay

* refactor: appease linter

* refactor: add dependency for handling search params

* refactor: add a bunch of inline comments

* refactor: undo changes to dashboard and cell components

* refactor: remove searchParam based overlay components

* refactor: add Overlay key in redux, create actions & reducers

* refactor: introduce redux based overlay controller

* refactor: update Note editing to use redux based pattern

* refactor: place Note route in correct location

* refactor: remove dependecy

* refactor: add trailing whitespace

* refactor: add back in moar trailing spaces

* refactor: ensure dismising Note overlay updates the route

* refactor: appease linter

* refactor: catch a small mistake

* refactor: use explicit variable for visibility
2019-10-11 11:13:01 -07:00
Zoe Steinkamp 6caa615670 fix(dashboards)routing to dashboard page instead of 404
ES lint clean up
2019-10-11 09:25:48 -06:00
Lyon Hill 3c6779f011
feat(task): Allow tasks to run more isolated from other task systems (#15384)
* feat(task): Allow tasks to run more isolated from other task systems

To allow the task internal system to be used for user created tasks as well
as checks, notification and other future additions we needed to take 2 actions:

1 - We need to use type as a first class citizen, meaning that task's have a type
and each system that will be creating tasks will set the task type through the api.
This is a change to the previous assumption that any user could set task types. This change
will allow us to have other service's white label the task service for their own purposes and not
have to worry about colissions between the types.

2 - We needed to allow other systems to add data specific to the problem they are trying to solve.
For this purpose adding a `metadata` field to the internal task system which should allow other systems to
use the task service.

These changes will allow us in the future to allow for the current check's and notifications implementations
to create a task with meta data instead of creating a check object and a task object in the database.
By allowing this new behavior checks, notifications, and user task's can all follow the same pattern:

Field an api request in a system specific http endpoint, use a small translation to the `TaskService` function call,
translate the results to what the api expects for this system, and return results.

* fix(task): undo additional check for ownerID because check is not ready
2019-10-11 08:53:38 -06:00
Deniz Kusefoglu bdba601c30
fix: Place resource fetch logic in overlay (#15358)
* Place resource fetch logic in overlay

* Fix existing buckets tests

* Add test for routing to overlay and rerouting if bucket doesn't exist
2019-10-10 15:22:14 -07:00
Zoe Steinkamp f866c74ef3
Merge pull request #15382 from influxdata/zs-DurationTaskCreationPage-#15175
fix(tasks) Example duration on Task Creation pane.
2019-10-10 15:42:45 -06:00
Zoe Steinkamp a30732f016 fix(dashboards)routing to dashboard page instead of 404
Fixing the tests, adjusting index file
2019-10-10 13:54:48 -06:00
Jakub Bednář 0de3711d2e feat(ui): Add documentation for Java, C# and Python client (#15378)
* feat(ui): Add documentation for Java, C# and Python client

* feat(ui): Add documentation for Java, C# and Python client - fixed formatting
2019-10-10 12:24:17 -07:00