Commit graph

147 commits

Author SHA1 Message Date
emanuele-f
82305dd24a Fix InfluxDB incorrect timestamp while performing queries 2019-06-18 14:57:09 +02:00
emanuele-f
cfa9986671 Implement InfluxDB export statistics 2019-06-10 15:52:06 +02:00
emanuele-f
1374367e9f Fix influx memory chart and 5min script error 2019-06-07 20:59:32 +02:00
emanuele-f
43078c6758 Fix continuos queries not created on system scripts ts 2019-06-07 19:44:21 +02:00
emanuele-f
ca251bbe26 Add InfluxDB number of series 2019-06-07 17:46:16 +02:00
emanuele-f
08f066637e Add InfluxDB memory usage chart 2019-06-07 17:22:02 +02:00
emanuele-f
f51b0f1cda Add support for influxdb _internal queries at visualization phase
Also implement influxdb storage chart
2019-06-07 16:19:33 +02:00
emanuele-f
ecfa447fcf Fix InfluxDB ts_utils:exists with empty tags 2019-06-03 11:32:49 +02:00
emanuele-f
f0ae0f4274 Choose appropriate shard group duration for InfluxDB retention policies 2019-05-21 19:55:21 +02:00
emanuele-f
794d0459a6 Improve InfluxDB getDiskUsage result check 2019-05-10 10:26:13 +02:00
emanuele-f
c8f78a6882 Add documentation on how to modify existing timeseries schemas 2019-05-07 15:48:32 +02:00
emanuele-f
ebc5251a7f Use fully qualified name for retention policy based queries 2019-04-17 15:31:56 +02:00
emanuele-f
316ad4a9bd Add temporary fix for host:contacts schema change 2019-04-04 16:52:43 +02:00
emanuele-f
2c2abae146 Improve error message in InfluxDB multiqueries 2019-04-04 16:52:43 +02:00
emanuele-f
4203d8a1c6 Enable influxdb data rollup to speedup queries
Also bind influxdb retention of CQ to the default retention
2019-03-27 12:42:54 +01:00
emanuele-f
dee4685141 Implement batched listSeries to reduce the number of HTTP requests 2019-03-27 10:49:51 +01:00
emanuele-f
c1be2c2a55 Add switch to print InfluxDB queries 2019-03-18 15:27:14 +01:00
emanuele-f
8f5a6495a2 Add InfluxDB download link 2019-03-18 12:09:16 +01:00
emanuele-f
b4bb8599ff Fix InfluxDB total stats accounting one excess point
E.g. calculating a total on 1h interval starting from 11:00
  - Before this patch: total on [11:00,12:00]
  - With this patch: total on [11:00,11:59]
2019-03-06 10:52:22 +01:00
emanuele-f
8977ac81f6 Add ntopng process memory chart 2019-03-05 13:59:38 +01:00
emanuele-f
bec6cacef4 Check InfluxDB on every startup
Fixes #2417
2019-02-25 12:39:56 +01:00
emanuele-f
6c5f6e679e Fix invalid InfluxDB check 2019-02-22 15:11:05 +01:00
emanuele-f
07ff4dee54 Improve InfluxDB connection errors 2019-02-21 10:47:40 +01:00
emanuele-f
33a26d4ff5 Fix totals in aggregated timeseries 2019-02-08 13:33:14 +01:00
emanuele-f
d28bd1e4e9 Simplify CQ handling by storing data as derivatives
This requires less complexity than integral handling as it can now be handled similarly as gauge metrics
2019-02-07 12:11:44 +01:00
emanuele-f
b82aea611e Properly handle CQ aggregated types for counters 2019-02-06 19:17:41 +01:00
emanuele-f
ce96249702 Fix CQ error 2019-02-05 20:43:30 +01:00
emanuele-f
fde0717ac9 Fix influxdb continuos queries 2019-02-05 16:24:11 +01:00
emanuele-f
4d0f153b06 Avoid different number of points for past queries 2019-02-04 16:51:38 +01:00
emanuele-f
4f60243338 Implement timeseries data read from aggregated retention policies
Aggregation selector can be shown by setting "ntopng.prefs.influxdb.debug_aggregation" = "1"
2019-02-04 13:26:22 +01:00
emanuele-f
8e471d92fb Add first aggregation time for aggregated influxdb data 2019-02-04 13:26:22 +01:00
emanuele-f
10468d83bf Fix 1d aggregation 2019-02-01 17:58:17 +01:00
emanuele-f
e46d4ef5df Fix continuos queries creation 2019-01-31 19:09:00 +01:00
emanuele-f
229c3b13c9 Implement initial InfluxDB rollup support
Currently disabled, enable with
  redis-cli set ntopng.prefs.beta_rollup 1
2019-01-31 12:02:40 +01:00
emanuele-f
d48eb6def0 Stop running HTTP GET requests if the client disconnects
For example, this avoids running too many queries on InfluxDB in parallel when the user clicks multiple items in the gui
2018-12-14 19:49:53 +01:00
emanuele-f
95713ddfc6 Add driver:deleteOldData and delete old RRDs 2018-12-10 17:42:39 +01:00
emanuele-f
9bae8e234a Implement InfluxDB alerts when export fails
Fixes #2193
2018-12-06 14:32:37 +01:00
emanuele-f
d6e78848ed Handle slow InfluxDB queries 2018-11-23 19:08:19 +01:00
emanuele-f
def73cfd4c Cosmetic changes to tests 2018-11-09 12:11:15 +01:00
emanuele-f
12e2e500b1 Implement InfluxDB query test 2018-11-09 12:11:15 +01:00
emanuele-f
e6643f12b1 Fix host traffic total serie issue with InfluxDB 2018-11-02 19:08:32 +01:00
emanuele-f
9efe059588 Fix InfluxDB export failed error at startup
Fix #2108
2018-10-18 15:51:41 +02:00
emanuele-f
ef0f401e51 Implement queryTotal for RRD and make it standard 2018-10-17 12:54:14 +02:00
emanuele-f
936c869c3f Move expensive string concatenations to C while inserting timeseries 2018-10-12 17:58:59 +02:00
emanuele-f
baef2d6780 Improve timeseries automatic refresh 2018-10-01 17:36:42 +02:00
emanuele-f
c5e2dabf29 Remove total for gauge metrics in InfluxDB 2018-10-01 15:34:02 +02:00
emanuele-f
f82a8e9767 Return 0 filled points instead of nil when no data is available on InfluxDB
This behaviour makes InfluxDB consistent with the RRD driver
2018-10-01 10:49:51 +02:00
emanuele-f
97a280e14f Add partial sums in timeseries topk 2018-09-25 11:56:13 +02:00
emanuele-f
b8aa23f46d Add redis option to enable slow InfluxDB queries debug
Enable with:
  redis-cli set "ntopng.prefs.debug_influxdb_queries" 1
2018-09-24 16:40:07 +02:00
emanuele-f
58a0d54be3 Fix InfluxDB statistics 2018-09-24 16:40:07 +02:00