Alex P
e7ba879a9c
Update changelog
2017-06-16 15:18:31 -07:00
Alex P
1220110e5b
Merge branch 'master' into rule-creator-function-selector
2017-06-16 15:10:07 -07:00
Alex P
a0bb5a29a2
Modify function selector to optionally work as a single select
2017-06-16 15:08:55 -07:00
Jared Scheib
aa1df3527a
Ensure UTF-8 decoding (didn't seem to be an issue)
2017-06-16 14:48:47 -07:00
Jared Scheib
255daba611
Update default JSON feed URL to final, secure link
2017-06-16 14:23:46 -07:00
Kent Wang
a231e9f942
Add redirect url to generic oauth
2017-06-16 17:35:57 +08:00
Jared Scheib
73fd58ef35
Update swagger docs for external and statusFeed props
2017-06-15 18:23:42 -07:00
Jared Scheib
59e184b1f1
Comment new StatusFeed member of AllRoutes
2017-06-15 17:55:46 -07:00
Tim Raymond
fad1d744b7
Merge branch 'master' into feature/tr-auto-group-by
2017-06-15 20:45:30 -04:00
Tim Raymond
a129fc29c0
Documentation++
...
Improve spellingz and document what "resolution" actually means in the
context of a query
2017-06-15 20:42:46 -04:00
Tim Raymond & Jared Scheib
71db0cf3d5
Use appropriate default group by for CEO and DE
...
For the Data Explorer, the appropriate default group by interval is 10s,
where in the CEO it should be :interval:, since template variables are
supported there.
2017-06-15 20:39:08 -04:00
Tim Raymond & Jared Scheib
2834df5ca3
Ensure group by time when toggling fields
...
This makes sure that a group by time is applied whenever a function is
applied to a field within the query builder.
2017-06-15 20:19:56 -04:00
Jared Scheib & Tim Raymond
28360c7c02
Fix Auto Group By time with Data Explorer
...
The Data Explorer doesn't work with the :interval: template variable, so
it makes no sense to have an 'auto' option in the group by time
dropdown.
2017-06-15 19:17:57 -04:00
Jared Scheib
f4be9e9349
Merge pull request #1616 from influxdata/improve/update_urls_to_latest
...
Better future-proofs docs links by using 'latest' in URL
2017-06-15 14:59:28 -07:00
Jared Scheib
aa612f7ef9
Update docs URLs to use 'latest' for better future-proofing
2017-06-15 14:50:34 -07:00
Luke Morris
e95e0d28e7
Revert "Merge pull request #1585 from influxdata/revert-auto-func"
...
This reverts commit 85376edc1f
, reversing
changes made to cdde4ff4dc
.
2017-06-15 17:43:35 -04:00
Tim Raymond
b3980d2d8d
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
f18609cfc3
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
5ce8a9dea5
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
5cd742b6ab
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
ba12733846
Update URLs to use 'latest' for better future-proofing
2017-06-15 14:16:29 -07:00
Jared Scheib
7a6131bd40
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
326fa39bf6
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
e433a629da
Make the entire white square a link
2017-06-15 10:14:03 -07:00
bamb0u
98beef2c2a
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
b84d23e7e0
Merge remote-tracking branch 'origin/master' into feature/status_page-1556
2017-06-14 19:27:24 -07:00
Jared Scheib
81466702d2
Remove unnecessary className braces
2017-06-14 19:17:27 -07:00
Luke Morris
de6b43c087
Cube should link to /status
2017-06-14 17:37:06 -07:00
Alex P
c98a55062f
Style "no associated kapacitor" error
2017-06-14 17:35:33 -07:00
Alex P
8b7cbcc1ed
Jared wrote this
2017-06-14 17:08:57 -07:00
Alex P
7d5dd7f1a8
Protect against potentially data not having items
2017-06-14 17:08:28 -07:00
Alex P
c801a1d63e
Style 'failed to load' and 'failed to refresh' states of newsfeed
2017-06-14 17:06:38 -07:00
Alex P
db43bb5e9b
Style 'load more alerts' button and accompanying empty state
2017-06-14 16:48:00 -07:00
Jared Scheib
95e2c18c5a
Add test for all routes with ExternalLinks
2017-06-14 16:22:30 -07:00
Alex Paxton
9a9b4bebf5
Merge pull request #1600 from influxdata/minor-theme-improvements
...
Misc Aesthetic & UX Improvements
2017-06-14 15:04:37 -07:00
Jared Scheib
ba4332d431
Only show Get More button if there are alerts
2017-06-14 14:15:15 -07:00
Jared Scheib
8a7c2afc7d
Remove /status 'eye' icon from side nav
2017-06-14 14:03:19 -07:00
Jared Scheib
f4fc3b8777
Make /status the default home page
2017-06-14 14:01:38 -07:00
Jared Scheib
741ce0c4b6
Remove unused fragment
2017-06-14 13:51:08 -07:00
Alex P
ee112419c9
Clean up detection of duplicate names
2017-06-14 10:25:08 -07:00
Tim Raymond
09ec78fee2
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
aa1e3cd4d2
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
48eb27ef6e
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
9310aa07ae
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
66be46bf23
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
a7cc6040d3
Add hacks to make AGB work with the frontend
2017-06-14 10:54:02 -04:00
Tim Raymond
5418592df8
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
2efdd4b363
Working dynamic json Unmarshaling
2017-06-14 10:52:29 -04:00
Tim Raymond
1723f30bdf
correct TemplateVar collection type in Queries
2017-06-14 10:52:29 -04:00
Tim Raymond
4912f4d375
Fetch resolution from dygraphs for autoGroupBy
2017-06-14 10:52:29 -04:00