Commit Graph

406 Commits (d60a4eda95d2ebd06652beeea779b1e6eb3772e3)

Author SHA1 Message Date
Will Piers 0c4fe14eda Fix eslint issues again 2016-11-08 15:29:49 -08:00
Andrew Watkins 1c56604457 Merge pull request #429 from influxdata/move-old-code
Move old code
2016-11-08 15:15:28 -08:00
Andrew Watkins a43452df27 Remove query page spec 2016-11-08 15:01:27 -08:00
Andrew Watkins 488546c123 Move queries page and remove calls from index 2016-11-08 14:52:24 -08:00
Andrew Watkins cab1a37740 Move old enterpirse code into archive 2016-11-08 14:50:41 -08:00
Rachel McGough 9a270f2ffa Merge pull request #417 from influxdata/fix/395-add-groupby
add group by statement to queries if provided by layout
2016-11-08 13:14:51 -08:00
Jade McGough 3a6cfbbe81 add semicolon 2016-11-08 13:00:21 -08:00
Jade McGough d102073f86 add support for additional wheres in layout 2016-11-08 12:49:23 -08:00
Andrew Watkins 127ea6f98b Merge pull request #406 from influxdata/name-rule
Name rule
2016-11-08 12:46:03 -08:00
Andrew Watkins 13bfc13110 Change blur logic 2016-11-08 11:12:29 -08:00
Andrew Watkins 60c29cfbe2 Remove unnecessary action 2016-11-08 10:42:51 -08:00
Jade McGough 5765c8e3d9 groupbys should be all lowercase 2016-11-08 09:50:09 -08:00
Jade McGough da624a5e12 group by must appear after where clause 2016-11-08 08:14:25 -08:00
Jade McGough 8e8d49f7ca groupBy needs to be joined by a comma 2016-11-08 08:11:54 -08:00
Jade McGough 82a258139c add group by statement to queries if provided by layout 2016-11-07 22:51:29 -08:00
Andrew Watkins 37f2fd07a8 Merge pull request #392 from influxdata/remove-more-than
Remove more than and less than
2016-11-07 19:29:06 -08:00
Tim Raymond fd1118c9d4 Add ability to focus apps for a host
This adds the ability for a user to drill into a particular app running
on a host. It adds a query parameter to the HostPage to indicate the
focused app.
2016-11-07 22:22:29 -05:00
Chris Goller dbd35846a3 Merge pull request #407 from influxdata/eslint-halp
Pin eslint packages and fix syntax errors
2016-11-07 20:15:42 -06:00
Will Piers cfb4746200 Merge pull request #402 from influxdata/kap-test
Switch order of save and test buttons for slack
2016-11-07 16:03:32 -08:00
Andrew Watkins 4b70160b72 Fix linting errors 2016-11-07 15:51:27 -08:00
Will Piers 7b58e00437 Pin eslint packages and fix syntax errors 2016-11-07 15:51:26 -08:00
Andrew Watkins 991983166e Implement renaming of rule 2016-11-07 15:47:13 -08:00
Jade McGough 440d3bb04f #382 - hide percent sign for non-percentile rules 2016-11-07 15:37:42 -08:00
Will Piers 205e1fd6c4 Switch order of save and test buttons for slack 2016-11-07 14:48:20 -08:00
Will Piers e6aea88941 Merge pull request #398 from influxdata/syntax-errors
Fix syntax errors
2016-11-07 14:38:42 -08:00
Kevin Fitzpatrick 7d7f4904da Show missing alerts
It was key collision.
2016-11-07 14:30:10 -08:00
Jade McGough c46656f2ab change name to alertName in alerts query 2016-11-07 13:50:14 -08:00
Will Piers ebe6d005fe Fix syntax errors 2016-11-07 13:22:56 -08:00
Andrew Watkins fc81b4a53a Change all 1d to 24h 2016-11-07 13:08:04 -08:00
Andrew Watkins 864e74d55c Remove more than and less than 2016-11-07 13:03:58 -08:00
Kevin Fitzpatrick 0c1e89ac1e Merge branch 'feature/handle-empty-alert-set' 2016-11-07 12:02:14 -08:00
Kevin Fitzpatrick 55a0d4ef95 Stop displaying 'loading' when empty set of alerts 2016-11-07 11:06:23 -08:00
Jade McGough 8e1f0dbc1e ignore layout positions, force graphs to cascade horizontally 2016-11-07 00:07:03 -08:00
Jade McGough e43d814052 adjust layout row height 2016-11-06 23:17:44 -08:00
Nathan Haugo fc2eb308a0 Merge pull request #378 from influxdata/feature/warn-on-kapacitor-connection-error
Warn when we can't ping the kapacitor
2016-11-06 12:13:03 -08:00
Jade McGough 109ef579ec remove debugger 2016-11-05 11:20:34 -07:00
Jade McGough 2120417d8a Use a single ReactGridLayout so layouts don't overlap. 2016-11-04 20:21:21 -07:00
Kevin Fitzpatrick 490713b4cd Rename Data/Explorer tabs 2016-11-04 18:39:20 -07:00
Kevin Fitzpatrick 28077be107 Warn when we can't ping the kapacitor 2016-11-04 18:31:24 -07:00
Nathan Haugo 38f09056df Merge pull request #376 from influxdata/feature/rules-index-#307
Refactor KapacitorRulePage
2016-11-04 17:30:48 -07:00
Will Piers d07201d279 Refactor KapacitorRulePage to work for new and existing rules, and add new rule button 2016-11-04 16:39:19 -07:00
Kevin Fitzpatrick 2de4bf9b66 Fix filtering
Also, fixes displaying mutliple alerts with the same name
2016-11-04 16:24:58 -07:00
Kevin Fitzpatrick 38af389ed8 Change Alert -> Name in the alerts table 2016-11-04 15:07:14 -07:00
Kevin Fitzpatrick 5dbac2063a Change Alerts to Alerting 2016-11-04 15:06:12 -07:00
Kevin Fitzpatrick d9cbd4ef91 Display time in iso string 2016-11-04 14:58:28 -07:00
Kevin Fitzpatrick dcc2a2c162 Remove link from alert name on AlertsTable 2016-11-04 14:27:13 -07:00
Andrew Watkins 959e8fdd46 Merge pull request #363 from influxdata/feature/rules-index-#307
Make index page for Kapacitor Rules
2016-11-04 13:57:59 -07:00
Will Piers e835ab1925 Make index page for Kapacitor Rules 2016-11-04 13:51:09 -07:00
Jade McGough 4af725803e swap position of sources and alerts in side nav 2016-11-04 13:30:43 -07:00
Jade McGough 4722cc910c #304 - hide links in sources 2016-11-04 13:29:36 -07:00
Jade McGough 8ce3409530 #335 - reorder alerts table 2016-11-04 12:47:33 -07:00
Will Piers c89d0de7c0 Updated usage of API in HostPage 2016-11-04 12:19:20 -07:00
Will Piers 830c76893f Make series regex more strict 2016-11-04 12:08:51 -07:00
Will Piers ef681e8cbd Mini refactor 2016-11-04 11:54:59 -07:00
Will Piers 3430febec2 Merge pull request #328 from influxdata/manage-sources-polish
Manage Sources Polish
2016-11-04 11:52:50 -07:00
Will Piers 8c62144796 Use measurement, show app name on hosts page 2016-11-04 11:52:16 -07:00
Alex P 51a4517eff Fixing listing errors 2016-11-04 11:19:31 -07:00
Alex P 01ac1056ab Copy Changes, configure Kapacitor page is cleaner 2016-11-04 11:19:31 -07:00
Alex P 5e37b16473 Adding a little padding to the too of these 3 pages 2016-11-04 11:19:31 -07:00
Alex P 8b2732ad84 Updating manage influxdb sources
- Adjusted layout slightly
- Fancier checkbox
- Updated copy on create/edit/manage pages
2016-11-04 11:19:31 -07:00
Kevin Fitzpatrick 7db9e28823 Merge pull request #339 from influxdata/feature/223-configure-kapacitor-prompt
Kapacitor Prompt if missing
2016-11-04 10:52:51 -07:00
Andrew Watkins 737e339b67 Change tasks to rules 2016-11-04 09:36:08 -07:00
Will Piers 253f49b4c5 Fix syntax 2016-11-04 08:27:26 -07:00
Will Piers 9c8f2a1be2 Fix enabledAlerts bug and actually save a rule 2016-11-04 08:25:59 -07:00
Andrew Watkins 44efa19e0b Filter out alerts from sections 2016-11-03 17:41:17 -07:00
Kevin Fitzpatrick db410c8db7 As a user when viewing the alerts panel, if my source does not have a kapacitor i will be prompted to configure one 2016-11-03 16:10:35 -07:00
Andrew Watkins b550c0168b Refactor to kapacitor constants 2016-11-03 15:54:03 -07:00
Andrew Watkins 658d39dbc3 Add alerts to kapacitor rule 2016-11-03 15:54:03 -07:00
Andrew Watkins 94d54065f3 Introduce graph fill line for kapacitor rule 2016-11-03 15:54:03 -07:00
Andrew Watkins 0870bca16f Remove percentile if once is selected 2016-11-03 15:54:03 -07:00
Andrew Watkins 975a54ea64 Add kapacitor rule message to state 2016-11-03 15:54:03 -07:00
Andrew Watkins 6069c50da8 Kapacitor rules populated and updated with by redux 2016-11-03 15:54:03 -07:00
Andrew Watkins a26fa84633 Refine DE to work with Kapacitor rule creation 2016-11-03 15:54:03 -07:00
Andrew Watkins 65cb5c016e Build markup for values section 2016-11-03 15:54:03 -07:00
Andrew Watkins 965c20a031 Make query builder work in data section 2016-11-03 15:53:13 -07:00
Will Piers de16d84c0f Start reducer and actions for the Kapacitor tasks 2016-11-03 15:53:13 -07:00
Will Piers ffc623b63a Finish up the queryTransitions refactor 2016-11-03 15:53:13 -07:00
Will Piers 4c2cf4da3f Start queryTransitions refactor 2016-11-03 15:53:13 -07:00
Will Piers 99f021fab0 First attempt to make an alert rule builder 2016-11-03 15:53:13 -07:00
Kevin Fitzpatrick caa094bc30 Remove Alerting tab as per Nate 2016-11-03 14:23:22 -07:00
Kevin Fitzpatrick 2034051ed9 Update measurement name
Signed-off-by: Jade McGough <jade@influxdb.com>
2016-11-03 14:01:57 -07:00
Jade McGough fd6f648076 "name" is apparently a reserved word 2016-11-03 13:46:09 -07:00
Jade McGough 1195c00bb5 parse results from alerts query
Signed-off-by: Kevin Fitzpatrick <kevin@influxdb.com>
2016-11-03 13:28:10 -07:00
Jade McGough 10c4281943 fix linting errors 2016-11-03 12:36:22 -07:00
Jade McGough 7cb94f8bc6 change alerts mock into actual request
Signed-off-by: Kevin Fitzpatrick <kevin@influxdb.com>
2016-11-03 11:22:22 -07:00
Kevin Fitzpatrick 5915cc3b8f Remove old file 2016-11-03 11:22:22 -07:00
Kevin Fitzpatrick b755fa1f51 Remove dup code 2016-11-03 11:22:22 -07:00
Kevin Fitzpatrick ac66f1f623 remove comments 2016-11-03 11:22:22 -07:00
Kevin Fitzpatrick e9084a103c Remove linter errors 2016-11-03 11:22:22 -07:00
Kevin Fitzpatrick 0e7a005874 TODOs 2016-11-03 11:22:22 -07:00
Kevin Fitzpatrick ed5724751a Remove unnecessary code 2016-11-03 11:22:22 -07:00
Kevin Fitzpatrick eaaba497ca Show hardcoded alerts on alerts view page 2016-11-03 11:22:22 -07:00
Kevin Fitzpatrick 04540dcec4 WIP 2016-11-03 11:22:22 -07:00
Kevin Fitzpatrick 8b9afc1702 WIP 2016-11-03 11:22:22 -07:00
Kevin Fitzpatrick b6517263ec Add alert links to side nav 2016-11-03 11:22:22 -07:00
Timothy J. Raymond e9573ad093 Merge pull request #317 from influxdata/feature/193-multiple-layouts
Feature/193 multiple layouts
2016-11-02 17:39:47 -04:00
Jade McGough 740831267c prevent grid layouts from overlapping 2016-11-02 12:47:33 -07:00
Tim Raymond 9a3b5e2db0 Pin ESLint to 3.5.x
In 3.9.x, ESLint changed how many spaces are expected on a trailing
parens following a return. Previously it expected:

```
01234567890
  return (
    <div>
    </div>
    );
01234567890
    ^~~~~~~~ It previously expected 5 spaces here

01234567890
  return (
    <div>
    </div>
  );
01234567890
  ^~~~~~~~~~ Now it wants 3
```

Until we're ready to explicitly make that change, we're going to pin to
3.5.x (which expects 5 spaces in the example above.
2016-11-02 13:43:59 -04:00
Jade McGough 92080eeb64 render multiple layouts on separate rows 2016-11-02 02:00:56 -07:00
Jade McGough 4df707f1cd WIP work with multiple layouts 2016-11-02 01:47:55 -07:00
Todd Persen bfbd7b9f05 Merge pull request #303 from influxdata/feature/kapacitor-alert-settings
Feature/kapacitor alert settings
2016-11-01 16:39:57 -07:00
Jade McGough 125d19eee8 #263 - strip whitespace from connection string 2016-11-01 11:10:14 -07:00
Jade McGough 7b252d3cdc default to 15 minutes for queries 2016-10-31 22:47:52 -07:00
Jade McGough 3891b0e24a pass timerange into layoutrenderer 2016-10-31 22:38:18 -07:00
Jade McGough ab72fe3e53 wire up TimeRangeDropdown in HostPage 2016-10-31 22:12:25 -07:00
Jade McGough 9bd4539fcc add time dropdown to host page 2016-10-31 16:55:36 -07:00
Jade McGough 81c4662787 move timerange dropdown stuff to shared folder 2016-10-31 16:26:28 -07:00
Andrew Watkins ae476a5c75 Add Sensu config 2016-10-31 11:11:34 -07:00
Andrew Watkins 167c886d3b Add HipChat config 2016-10-31 11:03:45 -07:00
Will Piers 7d339c0bd6 Rebase, add user feedback 2016-10-31 10:33:32 -07:00
Andrew Watkins d331a51964 Add PagerdutyConfig 2016-10-31 09:48:20 -07:00
Andrew Watkins 3065898356 Add Telegram configuration 2016-10-31 09:48:20 -07:00
Andrew Watkins 79616ff8f7 Move get into helper function 2016-10-31 09:48:20 -07:00
Will Piers ba7a4b9752 Wire up the default checkbox on source form 2016-10-31 09:42:48 -07:00
Will Piers 00ee959d2e Rename and refactor the source form 2016-10-31 09:42:48 -07:00
Kevin Fitzpatrick 64cc51a218 Fix issues with uncontrolled inputs. 2016-10-31 09:42:48 -07:00
Kevin Fitzpatrick ab620f07a3 New/Edit Source 2016-10-31 09:42:48 -07:00
Tim Raymond 9622eafff0 Satisfy build errors
Somehow an unused FlashMessages snuck in during the rebase. Also there
were places where Mappings was expecting a *string, but we were passing
a string. I believe this is because the autogenerated code creates
*string, and I modified it to use strings at one point. Everywhere
should use *string now.
2016-10-28 18:01:22 -04:00
Tim Raymond 1f4e813768 Add "I" and "Name" to cells on backend
React-grid-layout uses an "i" parameter in the JSON describing a layout
as an identifier. This is used to bind DOM elements' keys to Cells from
the API. Also, we need a "Name" to describe what each graph is to a
user.

Also, react-grid-layout specified widths and heights in terms of units
of the grid that it establishes. In order to have this properly
configured, the extents of this grid need to be spelled out when
creating a ReactGridLayout, hence the addition of "cols" and
"rowHeight" props to that component.

Finally, react-grid-layout incorporates some of its own styles. To
support this, some modifications needed to be made to the webpack config
to allow us to pull in includes from node_modules.
2016-10-28 18:01:14 -04:00
Tim Raymond a6300f25f0 Wire up /mappings API to LayoutsStore
This makes the /mappings endpoint return real data based off of the
layouts seen within the LayoutsStore.
2016-10-28 18:00:44 -04:00
Will Piers 4f590f6e6e Merge pull request #272 from influxdata/feature/update-manage-sources
Update the kapacitor column on manage sources page
2016-10-27 14:08:38 -07:00
Andrew Watkins dceb2216b5 Merge pull request #294 from influxdata/feature/filter-by-app
allow users to filter by apps
2016-10-27 12:07:50 -07:00
Andrew Watkins 16c25915a0 Merge pull request #299 from influxdata/fix-de-side-nav
Fix double click DE bug
2016-10-27 11:37:53 -07:00
Andrew Watkins 291f6ccabe Update App.js 2016-10-27 11:24:11 -07:00
Andrew Watkins 8e62d5f47c Rename tab title from InfluxEnterprise to Chronograf 2016-10-27 10:59:51 -07:00
Andrew Watkins 5a603a8e07 Fix double click DE bug 2016-10-27 09:49:24 -07:00
Jade McGough 7f08bc8358 allow users to filter by apps 2016-10-26 17:04:02 -07:00
Andrew Watkins ef4e09d4d6 Fix copy 2016-10-26 16:28:16 -07:00
Andrew Watkins ec0ba3ba8c Add Alerta and VictorOps kapacitor configs to UI 2016-10-26 16:25:36 -07:00
Andrew Watkins 65babedac2 Count filtered hosts 2016-10-26 16:23:11 -07:00
Will Piers d7fc8fe8ce Make link highlighting great again. also prefer dashes to underscores in routes 2016-10-25 15:05:42 -07:00
Will Piers d75e8969da Merge pull request #287 from influxdata/kapacitor-fix
Separate update/create of kapacitor records
2016-10-25 12:49:20 -07:00
Will Piers e85b7b7ae6 Separate update/create of kapacitor records 2016-10-25 12:40:02 -07:00
Will Piers dab0527bfe Dismiss notifications on route change 2016-10-25 11:11:44 -07:00
Will Piers d9f36cbd6a Update the kapacitor column on manage sources page 2016-10-25 10:04:36 -07:00
Will Piers bd993c4cb0 Conform to updated Kapacitor API 2016-10-24 16:26:09 -07:00
Will Piers 34b50c4057 More cleanup and fixes 2016-10-24 14:51:43 -07:00
Will Piers fe2a1da551 Cleanup and adding more feedback for user interactions 2016-10-24 13:30:29 -07:00
Will Piers ceafabfeda Update side nav 2016-10-24 12:36:52 -07:00
Will Piers 400b8a4bfd Fix scroll issue 2016-10-24 12:36:52 -07:00
Will Piers 1ebd9173b0 Refactor to avoid URL construction 2016-10-24 12:36:52 -07:00
Will Piers 5813b793c2 Fix Paul's code - eslint 2016-10-24 12:36:52 -07:00
Paul Dix f2726cfe84 Fix remaining issues with Kapacitor config refactor 2016-10-24 12:36:52 -07:00
Paul Dix d839546dbf Fix rebase conflicts.
Update hosts page to use queries that don't specify "default" retention policy.
Remove import of OverviewPage.
2016-10-24 12:36:52 -07:00
Paul Dix 376535999d Update KapacitorPage components
Update KapacitorPage and API to work with new Kapacitor API on MrFusion. Pull SMTP and Slack configuration out to components.
2016-10-24 12:36:52 -07:00
Paul Dix 45c365321b WIP: initial pages on Kapacitor config 2016-10-24 12:36:52 -07:00
Kevin Fitzpatrick 6010c1c76a Update API links 2016-10-24 11:59:27 -07:00
Will Piers d13ebd0aa8 Merge pull request #261 from influxdata/feature/notifications
Feature/notifications
2016-10-21 14:36:35 -07:00
Chris Goller fe034a7698 Fix linting issues preventing builds 2016-10-20 16:38:56 -05:00
Will Piers 216f19b9ba Fix original bug 2016-10-20 13:32:09 -07:00