*20 July, 2020 - 24 July, 2020* *PRs open for review:*
- [feature] Add Monitoring Checks section in Device Admin <https://github.com/openwisp/openwisp-monitoring/pull/148> - [fix] Create new models Chart, AlertSettings, fixes migrations <https://github.com/openwisp/openwisp-monitoring/pull/148> - [feature] Add an Alert Settings section in device admin (blocked by above PR) <https://github.com/openwisp/openwisp-monitoring/pull/148> - [docs] Document metrics stored in influxdb (images need to be updated) <https://github.com/openwisp/openwisp-monitoring/pull/148> *Currently working on:* - [timeseries] Add initial support for elasticsearch <https://github.com/openwisp/openwisp-monitoring/pull/164> Besides *tests *the elasticsearch client is now fully ready with abstraction complete (optimizations needed). * *Aggregations* have been used prominently to generate chart data. * Support for *top_fields* has been added, had to modify existing structure to make it abstract enough. * Tests on travis is currently taking around *80s* (corresponding tests on influxdb take place in *25s, *so improvement needed). *Optimizations* we can do: 1) disable *_source* and *_all* as we are primarily using aggregations so might not actually need it. Benefits include lesser space being used thus lesser resources consumption as mentioned here ( https://www.elastic.co/blog/elasticsearch-as-a-time-series-data-store) 2) Refresh indices after every write (by default index is refreshed every second, works well in practical case but not during tests.) 3) Don't delete indices between tests but rather only the data (might save time taken in creation of indexes, putting mappings and templates) I did find few more optimizations but we might not be able to use it. Maybe we can create a separate issue for this to keep things simple and easier to review :) Also, as I put it up yesterday on IM, if mentors are free then we can have a meet sometime early next week, so I can explain the structure better (Queries, Mappings, Settings, Aggregations, etc. used) and display the prototype (fully integrated now ;) ) Best Regards, Hardik Jain :) -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/ddd933dd-4d44-43a9-b9f3-2034ab570d4fn%40googlegroups.com.
