Commit Graph

739 Commits (1b3c203a88725cb4cccfd6bbca4b15f842b5b132)

Author SHA1 Message Date
nathan haugo 5599713df8 Fix height and width and a typo 2016-11-08 11:21:54 -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
Chris Goller cfe34e6029 Merge pull request #419 from influxdata/templates/update_app_names
Update app names
2016-11-08 12:26:43 -06:00
nathan haugo 3a951d7d37 Update app names 2016-11-08 10:21:50 -08:00
Chris Goller 2c0a5c0b25 Merge pull request #403 from influxdata/bugfix/tr-singular-default-source
Make API guarantee one default source at all times
2016-11-08 11:57:13 -06:00
Jade McGough 5765c8e3d9 groupbys should be all lowercase 2016-11-08 09:50:09 -08:00
Tim Raymond 9c7c116650 Make argument order of setRandomDefault consistent
Most of the other private CRUD methods have a consistent argument order
of a context, a source, then a transaction. setRandomDefault had two of
these args transposed, so this swaps them to be consistent with the rest
of the methods.
2016-11-08 12:29:29 -05:00
Tim Raymond 5e39e4602a Make context.Context the first argument
This is the convention.
2016-11-08 12:14:06 -05:00
Tim Raymond ff5f57cecc Prevent deadlocks with source default enforcement
Previously, the logic to enforce on default source relied on the
public-facing CRUD methods already provided by SourcesStore. This was
prone to deadlocks due to the possibility of acquiring a transaction
within a transaction.  This extracts the logic that was performed within
the transactions of each CRUD action and makes the private methods that
receive a *bolt.Tx.  This allows the convenience methods that enforce
default source to use this private API and provide the transaction from
its caller. This ensures that there is only ever one transaction
acquired by each expored
CRUD method.
2016-11-08 12:09:35 -05: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
Chris Goller 76d0e8a375 Merge pull request #404 from influxdata/feature/package-updates
Package tweaks
2016-11-08 09:51:27 -06:00
Ross McDonald 483c999200 Minor changes to packaging:
* Change default host from localhost to 0.0.0.0.

* Modify default database name to `chronograf-v1.db`.

* Change default port from 10000 to 8888.
2016-11-08 08:34:03 -06:00
Jade McGough 82a258139c add group by statement to queries if provided by layout 2016-11-07 22:51:29 -08:00
Chris Goller 9086bffcc5 Add windows cpu, memory and net 2016-11-07 22:22:51 -06:00
Chris Goller 80f31aaa36 Update netstat layout cell grid 2016-11-07 22:08:45 -06:00
Chris Goller 84405dd609 Update layouts with jq formatting 2016-11-07 21:57:18 -06:00
Chris Goller 5ed9036b4c Add Windows IIS rates 2016-11-07 21:56:09 -06:00
Chris Goller bc87d87276 Add layout for total number of processes 2016-11-07 21:38:05 -06:00
Chris Goller 22679b93f9 Add netstat layout including # of sockets and rate of chnage of # of sockets 2016-11-07 21:32:01 -06: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 a20fad59ec Add disk usage_percent layout 2016-11-07 21:00:07 -06:00
Chris Goller 1258818008 Merge pull request #413 from influxdata/default-cli-options
Update default cli options to be 0.0.0.0 and 8888
2016-11-07 20:52:38 -06:00
Chris Goller 93b249cc09 Update default cli options to be 0.0.0.0 and 8888 2016-11-07 20:50:06 -06:00
Chris Goller 07ae55e302 Merge pull request #412 from influxdata/layouts-wheres
Add wheres to layouts
2016-11-07 20:44:15 -06:00
Chris Goller 78e9573c28 Add wheres to layouts 2016-11-07 20:35:46 -06:00
Regan Kuchan 7ead435f0c Edit getting started 2016-11-07 18:20:49 -08: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
Nathan Haugo 8f23e2f615 Merge pull request #409 from influxdata/k8s-layouts
Add kubernetes layouts based on deis grafana dashboards
2016-11-07 17:10:50 -08:00
Chris Goller 8873e3bc59 Update circle to not cache 2016-11-07 18:53:19 -06:00
Chris Goller cd1c62a3a9 Add kubernetes layouts based on deis grafana dashboards 2016-11-07 18:23:09 -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
Chris Goller 6fc4db5a17 Merge pull request #405 from influxdata/layout-groupbys
Add groupby options to layouts
2016-11-07 17:33:55 -06:00
Tim Raymond 3191ef31d2 Enforce default constraints on first/last source
Whenver sources are present, there should be exactly one default source.
Prior to this commit, it was possible to add the first source as a
non-default source and circumvent this invariant. This unfortunately
requires a bit of special-casing logic in s.Add and requires a query to
fetch the number of sources currently persisted.

Tests have been added to cover this as well as deleting the final
source, to ensure that there aren't any odd indexing panics that might
result from trying to find another candidate default source when
deleting.
2016-11-07 18:13:23 -05:00
Tim Raymond 44dd7665ea Extract Default source enforcement logic
Enforcing the constraint that there be exactly one default source
whenever there are sources present isn't really a concern of the
traditional CRUD methods that are provided by SourcesStore. This makes
this separation a little more explicit and provides a place to glue some
documentation onto what would otherwise be a confusing bit of business
logic in the write path of SourcesStore.
2016-11-07 18:13:23 -05:00
Tim Raymond 0108323f04 Auto-set default source on Add and Delete
Previously, when adding a new default source, it was possible to create
more than one default source, since the previous default would not be unset.

Implementing this revealed another issue where deleting the default
source would leave no default set. If the default source is deleted now,
another source is chosen to be the new default.
2016-11-07 18:13:23 -05:00
Tim Raymond bccc4976b6 Enforce single default source on update
This ensures that there will only be on default source upon setting a
new default by unsetting the default flag on all other sources. This
only happens when the source to be updated has Default set to true to
avoid a performance hit when updating other attributes.
2016-11-07 18:13:23 -05:00
Will Piers 205e1fd6c4 Switch order of save and test buttons for slack 2016-11-07 14:48:20 -08:00
nathan haugo b984674a44 First rev of getting started 2016-11-07 14:45:04 -08:00
Will Piers e6aea88941 Merge pull request #398 from influxdata/syntax-errors
Fix syntax errors
2016-11-07 14:38:42 -08:00
Chris Goller 942f3ca6ac Add groupby options to layouts 2016-11-07 16:31:48 -06:00
Kevin Fitzpatrick 7d7f4904da Show missing alerts
It was key collision.
2016-11-07 14:30:10 -08:00
Chris Goller 8afe87a3b9 Merge pull request #393 from influxdata/fix/390-change-alert-name
change name to alertName in alerts query
2016-11-07 15:58:47 -06:00
Jade McGough c46656f2ab change name to alertName in alerts query 2016-11-07 13:50:14 -08:00