Commit Graph

4505 Commits (361a1cb3f9f1a369ce76ad374a7757c6aba7d55c)

Author SHA1 Message Date
Jared Scheib 24884ae735 Add Karma verbose reporting; comment options in config 2017-07-22 11:32:03 -07:00
Jared Scheib 03ab41a84c Update changelog 2017-07-21 20:15:07 -07:00
Jared Scheib f1d95ae1d5 Fix alertNode redux schema bug by updating prop on rule correctly 2017-07-21 20:08:04 -07:00
Jared Scheib 96d69e2501 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 f6aed4ae84 Add space between functions 2017-07-21 19:57:31 -07:00
Jared Scheib aa58847e93 Streamline service lookup for filtering 2017-07-21 18:10:14 -07:00
Jared Scheib 335bb6f821 Reorder alert constants for legibility 2017-07-21 17:54:55 -07:00
Jared Scheib 5676fb20cd 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 bd01e5dd9e Merge pull request #1757 from influxdata/prettier-test
Prettier test
2017-07-21 15:53:50 -07:00
Andrew Watkins 32fc74bf8a Prettier test 2017-07-21 15:34:31 -07:00
Jared Scheib 7a5a949862 Update changelog 2017-07-21 15:25:21 -07:00
Jared Scheib 0bdc881f53 Prevent 'auto' GROUP BY option in Kapacitor rule builder 2017-07-21 15:19:04 -07:00
Andrew Watkins cbf8519c68 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 d6db7ee084 Merge pull request #1724 from influxdata/feature/pushover_support-1680
Add Pushover alert support
2017-07-21 14:04:22 -07:00
Jared Scheib 62096e7561 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 f1d486733d Update Kapacitor AST extract handlers to also guard against empty slices 2017-07-21 13:53:23 -07:00
Andrew Watkins c207b750ff Merge pull request #1735 from influxdata/bugfix/cell-name
Bugfix Cell name edit cancel
2017-07-21 13:41:36 -07:00
Andrew Watkins 1965ff0666 Merge branch 'master' into bugfix/cell-name 2017-07-21 13:30:25 -07:00
Jared Scheib c5eece675a 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 1879b0a1e4 Update changelog 2017-07-21 11:45:34 -07:00
Jared Scheib 6540ea308d Clarify BoltPath server flag help text with default path 2017-07-21 11:41:54 -07:00
Tim Raymond ee6a2fa54b 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 d1443b1dbd 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 498ede7bd2 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 be8b72e273 Add test for updateAlertProperty 2017-07-20 18:21:02 -07:00
Jared Scheib fcd88a297d Change var alertType to alertNodeName for accuracy 2017-07-20 17:32:27 -07:00
Jared Scheib 200b24788b Merge branch 'master' into feature/pushover_support-1680 2017-07-20 16:23:54 -07:00
Jared Scheib 8c3a9db919 Make CodeData a presentational component 2017-07-20 16:11:17 -07:00
Jared Scheib fd91e650b0 Update changelog again 2017-07-20 15:55:05 -07:00
Jared Scheib 7a78a5c39b Change copy for optional alert parameters 2017-07-20 15:46:42 -07:00
Jared Scheib 76a95314bf 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 1fbea1e84e Fix and remove invalid Pushover alert node keys 2017-07-20 14:59:56 -07:00
Tim Raymond 617fc38b14 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 37f29060a4 Add prettier to an eslint rule. 2017-07-20 11:12:48 -06:00
Hunter Trujillo 42b41bc56c 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 7c4a56932c Add prettier and eslint commands to package scripts. 2017-07-20 10:41:40 -06:00
Hunter Trujillo 9031493abb Formatted with Prettier 1.5.3 CLI and Prettier 1.5.2 Atom 2017-07-20 10:34:27 -06:00
Chris Goller 746d733249 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 a423a98d36 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 f05c1d0774 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 a4be2a25b0 Update CHANGELOG to mention adding shared secret JWT to InfluxDB 2017-07-19 01:45:31 -05:00
Chris Goller 8dc08278bd Add JWT shared secret influxdb auth
Refactor --new-sources to simplify adding shared secrets
2017-07-19 01:39:06 -05:00
Jared Scheib 0950833ec0 WIP Refactor RuleMessage to support arbitrary properties 2017-07-18 17:20:05 -07:00
Jared Scheib 5d7e9ded17 Rename RuleMessageConfig to RuleMessageOptions for clarity 2017-07-18 16:58:39 -07:00
Andrew Watkins 0823f0232e Update CHANGELOG 2017-07-18 13:42:45 -07:00
Andrew Watkins e950dac06d Cleanup 2017-07-18 13:41:23 -07:00
Andrew Watkins 2d6e8268a7 Prettier 2017-07-18 13:33:19 -07:00
Andrew Watkins 3a74f18d2e 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 ac93de5945 Refactor RuleMessageConfig into named components; clean up 2017-07-18 13:13:58 -07:00
Jared Scheib 196510159a Refactor RuleMessage to ES6 2017-07-18 12:47:53 -07:00