Commit graph

27 commits

Author SHA1 Message Date
emanuele-f
5cd7eb13a8 Add removed time_threshold 2018-10-12 18:44:44 +02:00
emanuele-f
936c869c3f Move expensive string concatenations to C while inserting timeseries 2018-10-12 17:58:59 +02:00
emanuele-f
c0cc0b895d Optimize nDPIStats::lua for timeseries 2018-10-12 15:41:07 +02:00
emanuele-f
14034d3884 Avoid iterating hosts when hosts timeseries are disabled 2018-09-26 18:24:36 +02:00
emanuele-f
c87a02d012 Implement active host contacts metrics 2018-09-07 11:58:06 +02:00
emanuele-f
a594e648c4 Generalize high resolution timeseries
In InfluxDB, 5 minutes timeseries are now written with a minimum of 1 minute resolution
2018-09-03 14:43:52 +02:00
emanuele-f
0004e08191 Add experimental support for 5sec granularity for host timeseries
To enable it (only on *InfluxDB* right now):

- uncomment HOST_NUM_TIMESERIES_POINTS in ntop_defines.h
- run `redis-cli set ntopng.prefs.30_sec_dump 1` and restart ntopng
2018-08-23 18:10:46 +02:00
emanuele-f
019665c111 Fix interface timeseries being written even if the preference is disabled 2018-08-10 18:54:30 +02:00
emanuele-f
b2107b6f36 Move influxdb data export into driver api 2018-08-10 18:54:30 +02:00
Emanuele Faranda
4cbe45a948
New pro charts features and timeseries api (#1865)
* Integrate modified nvd3 library with zoom and multicharts working support

* Fix count in RRD driver

* Initial chart ajax migration

* Update nvd3 with zoom stack support

* Fix RRD listSeries with directories

* Work in progress graphs

* Compatibility fix

* Initial support for schema based api

* Add missing script

* Fix listSeries for existance check

* Implement topk timseries api

* Implement topk queries and fix labels and formats

* Migrate interface top sender and receivers

* Migrate charts to new API

* Move timeseries list for menu inside respective scripts

* Add support for extended labels

* Fix missing fields while chaning graph resolution

Also Rename drawRRD in drawGraphs

* Fix historical tabs

* Add missing time fence in influx topk

* Add graphs support for custom statistics visualization

* Initial support for graphs statistics footer

* Implement statistics in single graphs for RRD driver

* Move sampling function into the driver and fix graph statistics

* Fix max/min value offset

* Implement influxdb sampling use built-in FILL

* Implement stats and total serie in influxdb driver

* Update nvd3 with multiChart fixes

* Update nvd3 with new multiChart fixes

* RRD driver fixes

* Move metrics type from single metric to schema

* Handle ajax errors and empty data in charts

* Fix flow device interfaces graphs

* Use timeserie label as timeseries dropdown text

* Implement topk aggregation into one data serie

* ts_utils module now provides all the schemas

* Migrate ntop.exist(rrd) to ts_utils.exist

* Fix timeseries dropdown label

* L4 protos fixes for charts

* Migrate getProtoVolume to new API

* Integrate nvd3 fix for tooltip position

* Initial community graphs migration to timseries API

* Fix community timeseries dropdown and historical tabs

* Hide total serie by default

* Remove l4 protos from topk charts
2018-07-18 15:09:19 +02:00
emanuele-f
5d50622341 Use schema name in timeseries API 2018-06-27 17:18:23 +02:00
emanuele-f
8c104817a1 Optimize timeseries schemas 2018-06-01 11:16:57 +02:00
emanuele-f
42083f1865 Rework influxdb exporter 2018-05-25 13:52:06 +02:00
emanuele-f
cb56b5d5ec Implement layer above RRD for timeseries storage 2018-05-25 10:04:18 +02:00
Simone Mainardi
af907b61af Implements hierarchical AS RRDs directory tree 2018-05-17 11:28:09 +02:00
Luca Deri
d466c8e298 Disabled lua support in mongoose
Updated RRD dump functions
2018-04-25 22:39:11 +02:00
emanuele-f
4767789b1a Implement country charts for inner, egress and ingress traffic 2018-03-15 18:35:51 +01:00
Simone Mainardi
802dabfb32 Implements AS RTT calc. 2018-02-13 11:15:29 +01:00
Simone Mainardi
3ef543fecd Implements per-AS nw latency stats rrds 2018-02-05 18:32:13 +01:00
Simone Mainardi
5ed2a1aea7 Makes interface RRD updates every minute 2017-12-01 17:02:16 +01:00
emanuele-f
1079beb244 Rename local hosts iteration function 2017-11-30 17:40:01 +01:00
Luca Deri
60b5e6c1db Script fixes, increased number of periodic threads 2017-11-30 10:59:16 +01:00
Simone Mainardi
6d4c9dc1cc Aligns max. rrd dump time with configured heartbeat 2017-11-29 15:40:58 +01:00
emanuele-f
2f7280ee67 Little fix 2017-11-24 10:16:07 +01:00
emanuele-f
83a58ad016 Rework scanAlerts to avoid iterating hosts twice 2017-11-23 14:50:09 +01:00
emanuele-f
51ea12f2aa Fix redis keys 2017-11-23 12:23:20 +01:00
emanuele-f
bf04357a8f Rework 5min and min scripts 2017-11-23 11:13:58 +01:00
Renamed from scripts/lua/modules/rrd_dump_utils.lua (Browse further)