Skip to content

Commit

Permalink
Merge pull request influxdata#6868 from smunier01/continuous-queries-…
Browse files Browse the repository at this point in the history
…admin-interface

Add continuous queries templates in admin interface
  • Loading branch information
e-dard authored Jun 20, 2016
2 parents 3d8cde2 + f007fcc commit 9603bad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions services/admin/assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@ <h3 class="panel-title">Connection Settings</h3>
<li><label data-query="CREATE RETENTION POLICY &quot;rp_name&quot; ON &quot;db_name&quot; DURATION 30d REPLICATION 1 DEFAULT">Create Retention Policy</label></li>
<li><label data-query="DROP RETENTION POLICY &quot;rp_name&quot; ON &quot;db_name&quot;">Drop Retention Policy</label></li>
<li class="divider"></li>
<li><label data-query="SHOW CONTINUOUS QUERIES">Show Continuous Queries</label></li>
<li><label data-query="CREATE CONTINUOUS QUERY &quot;cq_name&quot; ON &quot;db_name&quot; BEGIN SELECT min(&quot;field&quot;) INTO &quot;target_measurement&quot; FROM &quot;current_measurement&quot; GROUP BY time(30m) END">Create Continuous Query</label></li>
<li><label data-query="DROP CONTINUOUS QUERY &quot;cq_name&quot; ON &quot;db_name&quot;">Drop Continuous Query</label></li>
<li class="divider"></li>
<li><label data-query="SHOW USERS">Show Users</label></li>
<li><label data-query="CREATE USER &quot;username&quot; WITH PASSWORD 'password'">Create User</label></li>
<li><label data-query="CREATE USER &quot;username&quot; WITH PASSWORD 'password' WITH ALL PRIVILEGES">Create Admin User</label></li>
Expand Down
2 changes: 1 addition & 1 deletion services/admin/statik/statik.go

Large diffs are not rendered by default.

0 comments on commit 9603bad

Please sign in to comment.