Commit Graph

1024 Commits (e06f1c5cf43899d115e6221ac01d10e421bd1683)

Author SHA1 Message Date
Tim Raymond e06f1c5cf4 Update changelog 2016-12-01 11:35:00 -05:00
Tim Raymond b7a8ab5ad6 Add ability to filter by tags on hosts
If users have hosts with tags specifying things like fstype=ext3, they
want to be able to filter by that. To facilitate this, we have to
perform additional parsing of the series that we get back from the
initial `SHOW SERIES` that we issue to figure out the apps for hosts.

This is parsed out into an object with a shape like:

```
{
   "measurement" : "foo",
   "tags" : {
      "host" : "skeletor",
      "cpu" : "cpu",
      "fstype" : "overlay"
   }
}
```

The host is extracted and used for looking up apps as before, however
now all tags are also assigned to that host as well. These are then
filtered against in SearchBar.

Performance is less than ideal with large numbers of hosts, causing page
lockup for about 1s each type a character is typed. The `render`
function of HostTable.js is approximately 300ms in some profiles that
I've taken, which seems very high. Upon further investigation, it seems
like `filterHosts` only takes approx 20ms in profiles taken, so the
issue appears to be the render path and not related to this patch.
2016-12-01 11:28:30 -05:00
Nathan Haugo da57a607eb Merge pull request #573 from influxdata/bugfix/tr-layouts
Fix template layout ordering
2016-11-30 05:20:01 -08:00
Tim Raymond ee67298092 Enforce cell dimensions on auto-layout cells
Previously, the calculation of cells which are in autoflow layouts was
incorrect since it needed to be multiplied by the cellHeight. To have
this, we also need to have a fixed cellHeight for these cells. This
overrides any cell width and height set on autoflowed layouts and forces
it to 4x4
2016-11-29 17:42:30 -05:00
Tim Raymond 3732f185b4 Update changelog 2016-11-29 17:42:30 -05:00
Tim Raymond cee5c85116 Fix template layout ordering
This divides templates into two classes: autoflow and static. This is
controlled by a boolean "autoflow" property on templates. Any autoflow
templates that will be rendered for a host, have their cells arranged in
a left-to-right, top-to-bottom fashion.

Static templates, are assumed to have precise positioning information
for their graphs. The only adjustment made to them will be a translation
of their Y coords so they do not overlap other layouts.

The autoflow templates, after processing, become a static layout as
defined above and are positioned accordingly.
2016-11-29 17:41:19 -05:00
Nathan Haugo 4ed1a8c39a Merge pull request #583 from influxdata/grid-layout-tweaks
Grid Layout Tweaks
2016-11-29 13:24:13 -08:00
Nathan Haugo ecc4aa5076 Merge pull request #628 from influxdata/fancy-auth-page
Fancy Auth Page
2016-11-29 13:22:36 -08:00
Alex P 17743326eb Update from Master 2016-11-29 13:11:46 -08:00
Alex P 14bae82dcc Auth page looks fancy now 2016-11-29 13:04:46 -08:00
Alex P e5daab3ada New sheet for auth page styles 2016-11-29 13:04:28 -08:00
Alex P 49b87e1879 App container & bg style
Makes the Login page look good, laying track for all dark UI
2016-11-29 13:04:06 -08:00
Alex P 7de32d5109 Adding in image assets
Using SVGs so the file size should be negligible
2016-11-29 13:03:07 -08:00
Nathan Haugo bb83920dfe Merge pull request #579 from influxdata/fix/536-show-kapacitor-error
extract kapacitor error to separate component, share it with rules page
2016-11-29 12:35:38 -08:00
Nathan Haugo f977a5951e Merge pull request #613 from influxdata/rk-typo
Fix typo in INSTALLATION.md
2016-11-29 11:48:39 -08:00
Chris Goller c7e1b6e4b1 Merge pull request #627 from influxdata/feature/change-net-and-processes-to-system
Update processes and netstat to be system app
2016-11-29 13:43:53 -06:00
nathan haugo b2fc36754b Update processes and netstat to be system app 2016-11-29 11:34:02 -08:00
Nathan Haugo 75ca2d0752 Merge pull request #601 from influxdata/measurement-present
Fix layout being displayed when measurement not present
2016-11-29 11:30:51 -08:00
Nathan Haugo ce6034cc64 Merge pull request #616 from influxdata/logout
Logout
2016-11-29 11:15:39 -08:00
Regan Kuchan f6e79de07d Fix typo in INSTALLATION.md 2016-11-28 14:28:48 -08:00
Will Piers 8bf9b69daa Refactor to use me from redux store 2016-11-28 14:19:40 -07:00
Will Piers b17b06850f Add a logout button 2016-11-28 13:55:01 -07:00
Will Piers 2330011e96 Merge pull request #593 from influxdata/auth-flow-#311
Auth flow #311
2016-11-28 10:20:43 -07:00
Ross McDonald 3452491e93 Merge pull request #604 from influxdata/ross-build-updates
Fix Docker pushes on merges to master
2016-11-23 09:56:48 -06:00
Ross McDonald 1255a0e8f7 Reset user permissions on circle home directory after generating assets. 2016-11-23 09:31:45 -06:00
Chris Goller 41fbf586ed Merge pull request #594 from influxdata/ross-build-updates
Add deployment process to Circle
2016-11-22 14:03:12 -06:00
Andrew Watkins aed61ada9f Fix layout being displayed when measurement not present 2016-11-22 11:31:30 -08:00
Ross McDonald 3fcc56f523 Updates:
* Automates the release process with Circle and Docker.

* Adds a `--no-build` option to build script to not generate a build
  (useful for _just_ running tests).

* Build script now calls 'make test' directly (instead of running its
  own tests).
2016-11-22 11:00:09 -06:00
Will Piers 3ff0bf08a5 Remove old spec 2016-11-21 16:10:00 -07:00
Will Piers bc9ee7eeea Rebase and add error logging for users endpoint 2016-11-21 14:24:01 -07:00
Will Piers 411e2f68dc Dont render routes if user is not authenticated 2016-11-21 14:20:33 -07:00
Will Piers 1dc53d5759 Setting up structure for Auth flow 2016-11-21 14:20:33 -07:00
Will Piers f3cdf81ab5 Return 418 when auth is turned off 2016-11-21 14:20:33 -07:00
Will Piers d3da8998e8 Add users endpoints/storage plus me endpoint 2016-11-21 14:19:57 -07:00
Chris Goller 76bf76e362 Merge pull request #590 from influxdata/cpg-add-error-logging
Add server error logging
2016-11-19 11:54:42 -06:00
Chris Goller b63047a402 Add server error logging 2016-11-19 11:41:06 -06:00
Chris Goller 62da746c98 Merge pull request #587 from influxdata/cpg-fix-telegraf-db
Allow telegraf database to be specified
2016-11-18 17:42:34 -06:00
Chris Goller 445d3fce40 Update image for source for docs 2016-11-18 17:28:59 -06:00
Jade McGough e39f152824 provide a default value for telegraf database in forms 2016-11-18 15:19:16 -08:00
Jade McGough 947100c779 add telegraf config to initial source creation page 2016-11-18 14:57:29 -08:00
Chris Goller c061141f96 Add placeholder text for default telegraf database 2016-11-18 16:47:00 -06:00
Jade McGough a13c23b60a fix other hardcoded references to telegraf database 2016-11-18 14:21:23 -08:00
Chris Goller 76a05f7dd8 Update changelog 2016-11-18 16:08:16 -06:00
Jade McGough 7b57dcc428 use configured telegraf db on kubernetes dashboard 2016-11-18 16:07:53 -06:00
Jade McGough 2534b6dc63 fix telegraf input id 2016-11-18 16:07:53 -06:00
Chris Goller f002fd774a Update swagger to remove rp/db for layouts 2016-11-18 16:07:53 -06:00
Jade McGough 6ab01e1cfe add telegraf db configuration to source form 2016-11-18 16:07:53 -06:00
Jade McGough b37ef9477c use configured telegraf database for queries 2016-11-18 16:07:53 -06:00
Chris Goller 6d0b38dd05 Update layout JSON formatting to jq style 2016-11-18 16:07:53 -06:00
Chris Goller 75db75473f Update pre-canned layouts to not have the telegraf database specified. 2016-11-18 16:07:53 -06:00