Commit graph

101 commits

Author SHA1 Message Date
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
5a1aa773c2 Fix missing L7 charts after string.split migration
Fix #2311
2019-01-14 19:19:58 +01:00
emanuele-f
fccb39f676 Add check for possibly nil value 2019-01-11 10:41:44 +01:00
emanuele-f
40d8c36656 Fix split call in second.lua (without lua_utils) 2019-01-10 19:20:08 +01:00
emanuele-f
45769a1fbe Fix RRD default name for non wildcard tags 2019-01-04 12:45:55 +01:00
emanuele-f
66f2555d94 Fix tracker error aborting data delete on nEdge 2019-01-02 16:33:31 +01:00
emanuele-f
11a99722e0 Implement network data delete
IPv4 network masks /24 to /32 are now supported.

Fix #2257
2019-01-02 13:09:48 +01:00
emanuele-f
657084e7d0 Properly handle L4 protocols charts 2018-12-20 12:16:46 +01:00
emanuele-f
57f8f6f54e RRD error handling 2018-12-18 18:53:19 +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
fd2b5c385b Add support for SNMP timeseries delete 2018-12-10 18:03:05 +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
Simone Mainardi
12d4f54c9e Lua 5.3+ compat fixes 2018-11-26 14:57:58 +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
Simone Mainardi
f1d578dd9d Fixes ICMP protocol shown twice in charts 2018-10-17 11:35:57 +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
134bc7e373 Fix RRD total with sampled series 2018-09-24 18:26:30 +02:00
emanuele-f
b604288c9b Avoid returning topk items with zero bytes 2018-09-24 16:40:07 +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
emanuele-f
e64c2c8fd7 Fix RRD totals 2018-09-24 16:25:21 +02:00
emanuele-f
38ebfc3fc3 Fix InfluxDB top talkers computation 2018-09-24 16:25:00 +02:00
Simone Mainardi
bf43aceb9c Refactors data delete_data_utils for the use with nEdge 2018-09-20 10:47:41 +02:00
Simone Mainardi
409c8f50ab Checks return value upon RRD directory deletion 2018-09-20 08:54:08 +02:00
emanuele-f
254a0fe5ce Optimize some InfluxDB queries 2018-09-18 17:20:20 +02:00
emanuele-f
f5b4181e08 Fix wrong InfluxDB export ID causing getLatestTimestamp issues 2018-09-18 17:20:20 +02:00
emanuele-f
6ef85d8998 Implement InfluxDB query timing 2018-09-17 18:52:07 +02:00
emanuele-f
1c7234e18f Optimize InfluxDB query by avoiding group-by on high cardinality iface:traffic 2018-09-17 18:52:07 +02:00
emanuele-f
129e824eea Add InfluxDB information in runtime status and about page
Closes #2010
2018-09-12 18:05:20 +02:00
emanuele-f
cd9941a205 Fix occasional "attempt to concatenate local 'label' (a nil value)" 2018-09-11 18:06:15 +02:00