Sfoglia il codice sorgente

feat(script): Add a computer cleanup inside influxdb

Signed-off-by: Jeremy MAURO <jeremy.mauro@gmail.com>
Jeremy MAURO 2 anni fa
parent
commit
098c932b22
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      scripts/influxdb_clean.sql

+ 3 - 0
scripts/influxdb_clean.sql

@@ -0,0 +1,3 @@
+> SHOW TAG VALUES WITH KEY = "host" WHERE app = 'ohm'
+> drop series from Throughput where ("host"!='CYGNUS' AND "host" != 'VHDX-ANTOINE' AND "host" != 'MANZANA' AND "host" != 'VHDX_LILOU')
+> show measurements