Commit graph

49 commits

Author SHA1 Message Date
emanuele-f
3bae210e71 Fix js error on undefined row_data.tags 2018-10-08 10:35:38 +02:00
emanuele-f
1b4165a376 Highlight current timeseries table protocol/category row 2018-10-01 18:02:35 +02:00
emanuele-f
baef2d6780 Improve timeseries automatic refresh 2018-10-01 17:36:42 +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
0872c162b5 Implement timeseries tabular view 2018-09-24 16:40:01 +02:00
emanuele-f
8b5e37e056 Take RRA into account to determine max zoom on RRD 2018-09-17 17:18:06 +02:00
emanuele-f
ed560652a3 Fix low resolution data used for 1d graphs with RRD 2018-09-17 16:36:33 +02:00
emanuele-f
35997ef5e3 Avoid aligning chart when specific time frame is selected 2018-09-17 16:36:33 +02:00
emanuele-f
9919e500aa Implement graph jump to previous period 2018-09-13 19:48:20 +02:00
emanuele-f
7c6e98118b Improve graphs navigation when custom period is selected 2018-09-13 12:19:36 +02:00
emanuele-f
11984747d5 Show hourly deltas as charts 2018-09-07 17:46:47 +02:00
emanuele-f
414df52325 Fix sporadic invalid number of points in binary-operators 2018-09-06 10:59:27 +02:00
emanuele-f
b1d54fc1a9 Replace current RSI with current vs past RSI 2018-09-05 15:10:45 +02:00
emanuele-f
381a126a1d Improve binary-operators visualization
Now enabled with: `redis-cli set ntopng.prefs.binary_indicators 1`
2018-09-05 12:12:27 +02:00
emanuele-f
bc597e4cd1 Add experimental binary-indicators library
Can be enabled by passing showall=true to timeseries page
2018-09-04 19:15:36 +02:00
emanuele-f
95869dcc57 Add begin/end datetime pickers in charts 2018-09-04 16:31:59 +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
8e23800f81 Localize graphs series 2018-08-17 16:06:56 +02:00
emanuele-f
e3bd674ee8 Fix custom zoom button link 2018-08-17 15:09:52 +02:00
emanuele-f
f3497eb37c Graphs improvements
- Show begin and end time in the graph info table
- Show "Custom" zoom resolution when zoom is active and make it clickable to jump to it later
- Hide past time comparison series by default if too high
2018-08-17 15:00:42 +02:00
emanuele-f
102da47f26 Add initial point to the graph to match the selected time frame 2018-08-16 17:55:31 +02:00
emanuele-f
6ba093872f Fix multiple alignment issues with timeseries 2018-08-16 17:06:38 +02:00
emanuele-f
cacbdaa9e7 Fix compatibility with ntopng 3.4 RRD format 2018-08-13 18:41:45 +02:00
emanuele-f
95a4722878 Chart improvements
- Remove trend in top senders/receivers
- Fix top senders/receivers step
- Show second axis in custom charts
- Avoid hiding series when second axis is show
2018-08-10 18:54:30 +02:00
emanuele-f
c8ea6ce76d Improve custom charts 2018-08-09 16:33:55 +02:00
emanuele-f
4f5878daec Fix influx2Series points bug with sampling 2018-08-09 15:50:04 +02:00
emanuele-f
5761f6305c Charts fixes and improvements
- Fix chart bounds on initial zoom
- Do not show zoom selection if zoom is disabled
- Improve customized charts
- Fix zoom out button position and use it as zoom reset
- Improve chart colors
- Remove charts border to prevent visualization issues
- Facilitate zoom after at the right chart bound
2018-08-08 18:46:46 +02:00
emanuele-f
c5fec0d13e Charts improvements
- Support double click to zoom out
- Fix missing upsampling call
- Improve ticks format in two days timeframe
2018-08-08 12:38:29 +02:00
emanuele-f
9ef9dc9891 Add active flows vs interface traffic chart 2018-08-07 17:45:42 +02:00
emanuele-f
43e77c7cf3 Fix second axix format 2018-08-07 17:45:42 +02:00
emanuele-f
102a458ec1 Implement active flows vs local hosts chart 2018-08-07 17:45:41 +02:00
emanuele-f
789d5734d7 Rework chart flows to use datatables 2018-08-07 11:00:14 +02:00
emanuele-f
1e241b8d23 Chart improvements
- Better position for zoom out button
- Add 30min and 5min buttons
- Fix chart y label size
2018-08-06 13:14:15 +02:00
emanuele-f
c7154c5d92 Add support for flows table 2018-08-03 13:08:38 +02:00
emanuele-f
720c7589aa Chart zoom improvements:
- Max allowed zoom
- Hide zoom button when not zoomed
- Fix zoom out range
2018-08-03 12:28:57 +02:00
emanuele-f
f43114bf2c Save chart hidden series preference 2018-08-02 17:02:26 +02:00
emanuele-f
0c602928be Improve charts data intervals 2018-08-02 16:34:52 +02:00
emanuele-f
91d27411a3 Charts animations improvements 2018-08-01 16:15:46 +02:00
emanuele-f
d7a3eedf20 Fix colors reset on chart refresh 2018-08-01 10:34:17 +02:00
emanuele-f
73452bb843 Implement "other" series 2018-08-01 10:30:30 +02:00
emanuele-f
802f48822f Improve timeseries charts visualization 2018-07-31 17:43:29 +02:00
emanuele-f
ffd6d9ac9f Add past period series for graphical comparison 2018-07-31 17:43:29 +02:00
emanuele-f
c0e6b77ba6 Always display trend line and add lines animation 2018-07-31 12:36:15 +02:00
emanuele-f
21c11396ce Remove usused code 2018-07-30 19:40:02 +02:00
emanuele-f
d3b76d2a72 Integrate ASAP smoothing for trend line 2018-07-30 18:54:52 +02:00
emanuele-f
3612c64f91 Fix nil data_type and add series consinstency check 2018-07-20 15:38:13 +02:00
emanuele-f
2485f173de Improve pro charts visualization
- Fix legend width
- Fix zoom scale not reset
- Fix dotted hover points
- Implement periodic chart refresh
2018-07-18 18:57:18 +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