earthcubeprojects-chords / chords

EarthCube CHORDS application code
GNU General Public License v2.0
25 stars 13 forks source link

Find cause of potentially unnecessary kapacitor/influxdb calls and remove if necessary #589

Open mdye opened 1 year ago

mdye commented 1 year ago

In current dev mode there are frequent entries of influxdb and kapacitor communicating that may not be necessary:

chords_kapacitor | [noauth] 2023/02/21 03:49:42 W! using noauth auth backend. Faked authentication for subscription user token chords_kapacitor | [httpd] 172.20.0.5 - ~subscriber [21/Feb/2023:03:49:42 +0000] "POST /write?consistency=&db=_internal&precision=ns&rp=monitor HTTP/1.1" 204 0 "-" "InfluxDBClient" c65eb695-b19a-11ed-81f5-000000000000 674 chords_kapacitor | [noauth] 2023/02/21 03:49:52 W! using noauth auth backend. Faked authentication for subscription user token chords_kapacitor | [httpd] 172.20.0.5 - ~subscriber [21/Feb/2023:03:49:52 +0000] "POST /write?consistency=&db=_internal&precision=ns&rp=monitor HTTP/1.1" 204 0 "-" "InfluxDBClient" cc54de06-b19a-11ed-81f6-000000000000 676 chords_influxdb | [httpd] 172.20.0.2 - admin [21/Feb/2023:03:49:53 +0000] "GET /ping HTTP/1.1" 204 0 "-" "KapacitorInfluxDBClient" cca8ad0f-b19a-11ed-89f1-0242ac140005 66 chords_influxdb | [httpd] 172.20.0.2 - admin [21/Feb/2023:03:49:53 +0000] "POST /query?db=&q=SHOW+DATABASES HTTP/1.1 " 200 132 "-" "KapacitorInfluxDBClient" cca8e0a3-b19a-11ed-89f2-0242ac140005 648 chords_influxdb | [httpd] 172.20.0.2 - admin [21/Feb/2023:03:49:53 +0000] "POST /query?db=&q=SHOW+RETENTION+POLICIES+ON+_internal HTTP/1.1 " 200 153 "-" "KapacitorInfluxDBClient" cca92fcf-b19a-11ed-89f3-0242ac140005 1047 chords_influxdb | [httpd] 172.20.0.2 - admin [21/Feb/2023:03:49:53 +0000] "POST /query?db=&q=SHOW+RETENTION+POLICIES+ON+chords_ts_development HTTP/1.1 " 200 154 "-" "KapacitorInfluxDBClient" cca980cb-b19a-11ed-89f4-0242ac140005 467 chords_influxdb | [httpd] 172.20.0.2 - admin [21/Feb/2023:03:49:53 +0000] "POST /query?db=&q=SHOW+RETENTION+POLICIES+ON+chords_ts_test HTTP/1.1 " 200 149 "-" "KapacitorInfluxDBClient" cca9b721-b19a-11ed-89f5-0242ac140005 456 chords_influxdb | [httpd] 172.20.0.2 - admin [21/Feb/2023:03:49:53 +0000] "POST /query?db=&q=SHOW+SUBSCRIPTIONS HTTP/1.1 " 200 484 "-" "KapacitorInfluxDBClient" cca9e5ca-b19a-11ed-89f6-0242ac140005 1172

MisterMartin commented 1 year ago

Is kapacitor even a going concern still?