Add continuous queries templates in admin interface
parent
551cb61d9e
commit
f007fccb4a
|
@ -134,6 +134,10 @@
|
|||
<li><label data-query="CREATE RETENTION POLICY "rp_name" ON "db_name" DURATION 30d REPLICATION 1 DEFAULT">Create Retention Policy</label></li>
|
||||
<li><label data-query="DROP RETENTION POLICY "rp_name" ON "db_name"">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 "cq_name" ON "db_name" BEGIN SELECT min("field") INTO "target_measurement" FROM "current_measurement" GROUP BY time(30m) END">Create Continuous Query</label></li>
|
||||
<li><label data-query="DROP CONTINUOUS QUERY "cq_name" ON "db_name"">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 "username" WITH PASSWORD 'password'">Create User</label></li>
|
||||
<li><label data-query="CREATE USER "username" WITH PASSWORD 'password' WITH ALL PRIVILEGES">Create Admin User</label></li>
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue