Add continuous queries templates in admin interface

pull/6868/head
simon 2016-06-18 16:33:41 +02:00
parent 551cb61d9e
commit f007fccb4a
2 changed files with 5 additions and 1 deletions

View File

@ -134,6 +134,10 @@
<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>

File diff suppressed because one or more lines are too long