Commit Graph

4505 Commits (c34770091dc9807b1a731d1c82317b1af63a1188)

Author SHA1 Message Date
Jared Scheib fa96d88fe2 Add Karma verbose reporting; comment options in config 2017-07-22 11:32:03 -07:00
Jared Scheib 23f4d7980e Update changelog 2017-07-21 20:15:07 -07:00
Jared Scheib f55a8a6f2a Fix alertNode redux schema bug by updating prop on rule correctly 2017-07-21 20:08:04 -07:00
Jared Scheib 139e3cb359 Add optional properties to Kapacitor rule alerts for all services
Refactor Slack rule alert to use properties.
Do not add non-string values or those that are not understood or
currently known.
2017-07-21 20:05:39 -07:00
Jared Scheib 4a20c28baf Add space between functions 2017-07-21 19:57:31 -07:00
Jared Scheib 55aeb113c9 Streamline service lookup for filtering 2017-07-21 18:10:14 -07:00
Jared Scheib c5416ec79b Reorder alert constants for legibility 2017-07-21 17:54:55 -07:00
Jared Scheib 30eb59ca7d Merge pull request #1756 from influxdata/fix/remove_auto_group_by_kapa_alerts-1730
Prevent 'auto' GROUP BY option in Kapacitor rule builder
2017-07-21 16:07:37 -07:00
Andrew Watkins c7d5c84070 Merge pull request #1757 from influxdata/prettier-test
Prettier test
2017-07-21 15:53:50 -07:00
Andrew Watkins dcbda6c63f Prettier test 2017-07-21 15:34:31 -07:00
Jared Scheib 8bc45fb8e3 Update changelog 2017-07-21 15:25:21 -07:00
Jared Scheib 852fc7d903 Prevent 'auto' GROUP BY option in Kapacitor rule builder 2017-07-21 15:19:04 -07:00
Andrew Watkins 03295821d5 Merge pull request #1743 from influxdata/feature/prettier-for-circle
Add prettier to an eslint rule.
2017-07-21 14:21:35 -07:00
Jared Scheib 918dff33b7 Merge pull request #1724 from influxdata/feature/pushover_support-1680
Add Pushover alert support
2017-07-21 14:04:22 -07:00
Jared Scheib 9def502082 Fix PagerDuty kapacitor node typo bug (#1751)
* Fix pagerduty kapacitor node typo bug

* Update changelog
2017-07-21 13:54:49 -07:00
Jared Scheib 2cacc2507d Update Kapacitor AST extract handlers to also guard against empty slices 2017-07-21 13:53:23 -07:00
Andrew Watkins 8faab66415 Merge pull request #1735 from influxdata/bugfix/cell-name
Bugfix Cell name edit cancel
2017-07-21 13:41:36 -07:00
Andrew Watkins 937b3f04d4 Merge branch 'master' into bugfix/cell-name 2017-07-21 13:30:25 -07:00
Jared Scheib 207700906e Merge pull request #1752 from influxdata/cleanup/bolt_path_example-1716
Clarify BoltPath server flag help text by making example the default path
2017-07-21 11:52:26 -07:00
Jared Scheib bc1b55fb38 Update changelog 2017-07-21 11:45:34 -07:00
Jared Scheib c6204d6114 Clarify BoltPath server flag help text with default path 2017-07-21 11:41:54 -07:00
Tim Raymond ead7c103ba
Enforce only "x", "y", and "y2" axes
For the forseeable future, we will only be using the "x", "y", and "y2"
axes, even though the underlying serialization can support arbitrary
axes (for the future).

This ensures that only "x", "y", and "y2" axes are present and updates
the Swagger docs to reflect that fact
2017-07-21 12:09:49 -04:00
Tim Raymond 7e6ddaaa9f
Add tests for Dashboard protobuf & misc renaming
There were previously no tests around Dashboard serialization to
protobuf, so this patch adds coverage for that. Also, the `go-cmp`
package has been introduced to replace our usage of `reflect.DeepEqual`
going forward because it has better comparison features that make it
more stable across Go versions and produces nice diffs in tests when
they fail, reducing the need for debug lines and manual inspection.
2017-07-21 11:11:30 -04:00
Jared Scheib 973d12e743 Add basic styles to rule alert optional properties
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-07-20 18:52:06 -07:00
Jared Scheib 231505ce8c Add test for updateAlertProperty 2017-07-20 18:21:02 -07:00
Jared Scheib 76ba04a074 Change var alertType to alertNodeName for accuracy 2017-07-20 17:32:27 -07:00
Jared Scheib 1012dac41a Merge branch 'master' into feature/pushover_support-1680 2017-07-20 16:23:54 -07:00
Jared Scheib 8e35f3b795 Make CodeData a presentational component 2017-07-20 16:11:17 -07:00
Jared Scheib d1b0429ca4 Update changelog again 2017-07-20 15:55:05 -07:00
Jared Scheib 92025ad8e0 Change copy for optional alert parameters 2017-07-20 15:46:42 -07:00
Jared Scheib 9ee686ec2b Add ability to update a Kapacitor alert node's properties
Add TODO comment about Kapacitor alert node reducer work
Fix JSON schema & default values for Pushover alert node
Clarify alertType var name
Fix comment typo
Add missing propType
Perform Prettier updates
2017-07-20 15:39:38 -07:00
Jared Scheib 928c4c2764 Fix and remove invalid Pushover alert node keys 2017-07-20 14:59:56 -07:00
Tim Raymond b5f2bea66f
s/DashboardRange/Axis, format protobufs, 64-bit
"Axis" is a more consistent and appropriate name. Also, the formatting
the protobufs was all over the place, so this has been made consistent
using a first-column \t. Furthermore, a vim modeline was added to the
bottom to make it easier for editors to autoconfigure themselves to the
right format, since protobufs are not something that we edit everyday.

Also, 32-bit values have been substituted for 64-bit values in Protobuf
definitions.
2017-07-20 14:42:51 -04:00
Hunter Trujillo 6a20e301f0 Add prettier to an eslint rule. 2017-07-20 11:12:48 -06:00
Hunter Trujillo 34cd5899eb Merge pull request #1742 from influxdata/fix/prettier-1-5
Formatting: Prettier 1.5.3 CLI and Prettier 1.5.2 Atom
Auto-merging for effect
2017-07-20 10:51:00 -06:00
Hunter Trujillo 91e0dc5b30 Add prettier and eslint commands to package scripts. 2017-07-20 10:41:40 -06:00
Hunter Trujillo 3ac548e8d6 Formatted with Prettier 1.5.3 CLI and Prettier 1.5.2 Atom 2017-07-20 10:34:27 -06:00
Chris Goller 6485622b0e Merge pull request #1738 from influxdata/feature/influxdb-jwt
Add JWT shared secret influxdb auth
2017-07-19 16:44:14 -05:00
Tim Raymond bab28c7271
Update Swagger with Cell Axes
Cells now have axes which represent their visualization's viewport. This
updates the Swagger documentation to reflect this.

Things to be aware of
=====================

The form of "axes" is that of a map<string,object>, which is represented
in Swagger by an "additionalProperties" key (search for "string to model
mapping" here: https://swagger.io/specification/).
2017-07-19 11:18:01 -04:00
Tim Raymond e513e61481
Add Axes to Dashboard Cells
The frontend would like to store viewport information for each cell so
that visualizations are zoomed to the proper extents upon rendering.
This adds a property to cells called "axes" which takes the following
shape:

```
{
   "axes" : {
      "y" : {
         "bounds" : [
            0,
            2
         ]
      },
      "y2" : {
         "bounds" : [
            1,
            3
         ]
      }
   }
}
```

Bounds specify the visible range for the axis, and are a 2-tuple of the
form [lower, upper]. Bounds are not implicitly inclusive or
exclusive--that determination is left for clients to make. Also, there
are no restrictions on the naming of axes.
2017-07-19 10:46:32 -04:00
Chris Goller 03b7ff96d3 Update CHANGELOG to mention adding shared secret JWT to InfluxDB 2017-07-19 01:45:31 -05:00
Chris Goller c2adec4709 Add JWT shared secret influxdb auth
Refactor --new-sources to simplify adding shared secrets
2017-07-19 01:39:06 -05:00
Jared Scheib f66d8fe216 WIP Refactor RuleMessage to support arbitrary properties 2017-07-18 17:20:05 -07:00
Jared Scheib 36e948d998 Rename RuleMessageConfig to RuleMessageOptions for clarity 2017-07-18 16:58:39 -07:00
Andrew Watkins f7a957b22b Update CHANGELOG 2017-07-18 13:42:45 -07:00
Andrew Watkins ee3ace4a6d Cleanup 2017-07-18 13:41:23 -07:00
Andrew Watkins 2c286f77ca Prettier 2017-07-18 13:33:19 -07:00
Andrew Watkins 44aec2ad40 Move input state out of store and into component
The main issue here is that a cell's name was being
updated in the store on input change.  With no reference
to the old cell name this made it impossible to revert back or
'cancel' editing.
2017-07-18 13:31:34 -07:00
Jared Scheib 09e15d7a10 Refactor RuleMessageConfig into named components; clean up 2017-07-18 13:13:58 -07:00
Jared Scheib bce65bdaf9 Refactor RuleMessage to ES6 2017-07-18 12:47:53 -07:00