Luke Morris
6a916907e9
Revert "Merge pull request #1585 from influxdata/revert-auto-func"
...
This reverts commit 5a37e8f57f
, reversing
changes made to 8bb869ab16
.
2017-06-15 17:43:35 -04:00
Tim Raymond
4e7ec0b2a8
Add Horrible Hacks for Group By Queries endpoint
...
This perpetuates the hacks that we added for :dashboardTime: so that
they will also work for :interval:. We should really find a better way
to do this.
2017-06-15 17:43:35 -04:00
Tim Raymond & Jared Scheib
95862a9bbc
Rename :autoGroupBy: to :interval:
...
This naming is more consistent with user's expectations from other
similar visualization tools.
Also, the usage of the variable now requires the words "GROUP BY" to be
present. e.g. `GROUP BY :interval:`
2017-06-15 17:43:27 -04:00
Tim Raymond & Jared Scheib
6c23fd1aa6
Remove stubbed-out auto group by option
...
This was present for testing in development and is no longer needed.
2017-06-15 17:43:16 -04:00
Tim Raymond & Jared Scheib
597f080297
Update Group By Dropdown with Auto Option
...
This adds an "auto" option to the group by dropdown which interpolates
"GROUP BY :autoGroupBy:" to the query.
2017-06-15 17:41:55 -04:00
Jared Scheib
a00011a63e
Update URLs to use 'latest' for better future-proofing
2017-06-15 14:16:29 -07:00
Jared Scheib
7e359239e5
Refactor statusFeedURL to be set in CLI 'default'
...
Reverts to a clean separation of concerns between mux.go vs AllRoutes
AllRoutes now expects a StatusFeed url directly
2017-06-15 13:51:22 -07:00
Chris Goller
19b4f51e4b
Merge pull request #1613 from bamb0u/patch-1
...
Update link to the latest documentation version
2017-06-15 12:46:28 -05:00
Alex P
08c639ab4d
Make the entire white square a link
2017-06-15 10:14:03 -07:00
bamb0u
6fdca16b4c
Update link to the latest documentation version
...
Link is not pointing to the last version of the documentation of kapacitor v1.3
2017-06-15 18:09:14 +02:00
Jared Scheib
45bce4fe56
Merge remote-tracking branch 'origin/master' into feature/status_page-1556
2017-06-14 19:27:24 -07:00
Jared Scheib
60bacc0145
Remove unnecessary className braces
2017-06-14 19:17:27 -07:00
Luke Morris
9324be52b7
Cube should link to /status
2017-06-14 17:37:06 -07:00
Alex P
3f0322d9f1
Style "no associated kapacitor" error
2017-06-14 17:35:33 -07:00
Alex P
7f853df581
Jared wrote this
2017-06-14 17:08:57 -07:00
Alex P
e896388a3a
Protect against potentially data not having items
2017-06-14 17:08:28 -07:00
Alex P
f9a482239a
Style 'failed to load' and 'failed to refresh' states of newsfeed
2017-06-14 17:06:38 -07:00
Alex P
ceaa375b8c
Style 'load more alerts' button and accompanying empty state
2017-06-14 16:48:00 -07:00
Jared Scheib
2c5e7ef0d6
Add test for all routes with ExternalLinks
2017-06-14 16:22:30 -07:00
Alex Paxton
22e6190764
Merge pull request #1600 from influxdata/minor-theme-improvements
...
Misc Aesthetic & UX Improvements
2017-06-14 15:04:37 -07:00
Jared Scheib
e2781d3f6b
Only show Get More button if there are alerts
2017-06-14 14:15:15 -07:00
Jared Scheib
186a50ceed
Remove /status 'eye' icon from side nav
2017-06-14 14:03:19 -07:00
Jared Scheib
78d0b422d6
Make /status the default home page
2017-06-14 14:01:38 -07:00
Jared Scheib
f4ea8fc7b5
Remove unused fragment
2017-06-14 13:51:08 -07:00
Alex P
47c3202c2d
Clean up detection of duplicate names
2017-06-14 10:25:08 -07:00
Tim Raymond
f8ebb13bdb
Adjust templates_tests to reflect reality
...
Where clauses generated by the query builder have "WHERE" capitalized,
and supply template variables with the ":" bracing.
2017-06-14 10:54:02 -04:00
Tim Raymond
d3ac2375b6
Move hardcoded reporting interval to client side
...
There's some follow-on work to be done here to determine an appropriate
value for the reporting interval, but for now this lets the client
supply it.
2017-06-14 10:54:02 -04:00
Tim Raymond
7c5b7aba4a
Prevent panic when where clause not found
...
This adds a bounds check to make sure that we don't overrun the end of
the string when searching for a where clause.
2017-06-14 10:54:02 -04:00
Tim Raymond
5cd5963683
Swap time.ParseDuration for influxql.ParseDuration
...
In order to properly parse time ranges including `days` and `weeks` like
`time > now() - 180d`, we need to use the `influxql.ParseDuration`
function
2017-06-14 10:54:02 -04:00
Tim Raymond
4d22f83da5
Fix :dashboardTime: by introducing tvar precedence
...
In order for :autoGroupBy: and :dashboardTime: to co-exist in a query,
it's necessary to introduce template variable precedence to the backend.
This is done by adding a `Precedence()` method to the TemplateVariable
interface that returns an ordinal indicating the precedence level of the
template variable. Precedence starts from 0 (highest) proceeding to the
maximum that a `uint` can represent.
A template variable at a given precedence level can expect that all
template variables with higher precedence will have already been
replaced in the query that is passed to its `Exec` call.
For example, :autoGroupBy: has lower precedence than :dashboardTime:
because it needs to know the selected time range for the query. When the
`Exec` method of `GroupByVar` is invoked, it will see the query after
:dashboardTime: has already been replaced, allowing it to extract the
duration successfully.
2017-06-14 10:54:02 -04:00
Tim Raymond
4f37949427
Add hacks to make AGB work with the frontend
2017-06-14 10:54:02 -04:00
Tim Raymond
62cdf76def
Add parsing of Group By Duration from the query
...
In order for automatic group by to be remotely useful, we need to parse
out the selected duration of time from the query itself. The problem
with doing this is that using the existing machinery for parsing
InfluxQL requires having valid InfluxQL, which InfluxQL+Template
Variables is not. To break this chicken-and-egg problem, the duration is
directly extracted from the query using regular string processing.
2017-06-14 10:52:29 -04:00
Tim Raymond
6a672cfd94
Working dynamic json Unmarshaling
2017-06-14 10:52:29 -04:00
Tim Raymond
c5872bba41
correct TemplateVar collection type in Queries
2017-06-14 10:52:29 -04:00
Tim Raymond
ca9f93ceff
Fetch resolution from dygraphs for autoGroupBy
2017-06-14 10:52:29 -04:00
Jared Scheib
54eb0e6e42
Update changelog
2017-06-13 20:40:53 -07:00
Jared Scheib
4bbaa4fcc4
Add 'Get More' button to Alerts widget via proxy query limit
2017-06-13 20:33:16 -07:00
Jared Scheib
e9f125468b
Update error notification on 404 when fetching JSON feed
2017-06-13 19:24:06 -07:00
Jared Scheib
8af550fa6f
Add default InfluxData JSON feed url
2017-06-13 19:23:52 -07:00
Jared Scheib
b53b83859f
Modify status fixture graph type to 'bar'
...
Update bar graph fixture title to spec
2017-06-13 18:46:26 -07:00
Jared Scheib
4d99520420
Rename status reducer to statusUI; fix date prop validation
2017-06-13 18:38:29 -07:00
Jared Scheib
4b773c0818
Update JSONFeedReader to use latest live schema
2017-06-13 18:19:28 -07:00
Jared Scheib
bbe1d60dbd
Retrieve live JSON feed; delete fixture data
2017-06-13 17:57:25 -07:00
Alex P
5a1b8b9c96
Update changelog
2017-06-13 17:22:58 -07:00
Alex P
439153125d
Prevent users from giving a Kapacitor a duplicate name
2017-06-13 17:13:25 -07:00
Alex P
b7cd240bad
Prevent users from giving a Kapacitor an excessively long name
2017-06-13 17:13:07 -07:00
Jared Scheib
8f8033a0a2
Update NewsFeed to use statusFeed url
2017-06-13 16:42:05 -07:00
Jared Scheib
368b01b302
Add statusFeed url to initial links reducer state
2017-06-13 16:41:37 -07:00
Jared Scheib
0871007fd3
Test linksReceived in new links reducer
2017-06-13 16:40:13 -07:00
Jared Scheib
b0a948f10e
Load external links from /chronograf/v1 into Redux
2017-06-13 16:25:12 -07:00