1. 04 Feb, 2019 2 commits
  2. 01 Feb, 2019 1 commit
    • Alessio Netti's avatar
      On-demand units cache · 83c38fc1
      Alessio Netti authored
      - Analyzers in on-demand mode now cache units that have been queried
      and resolved recently, to speed up response times and reduce overhead
      - Once the cache reaches its maximum size, the oldest entry is removed
      upon every insertion
      83c38fc1
  3. 31 Jan, 2019 1 commit
  4. 30 Jan, 2019 2 commits
    • Alessio Netti's avatar
      Auto-publish changes · 626c6c7c
      Alessio Netti authored
      - Auto-publish has been split in two parts: construction of the
      sensor names is performed within the Configurators, whereas the MQTT
      messages are sent from the MQTTPusher
      - This way, sensors always have the correct names upon plugin reloads
      - Will make switching to textual MQTT topics easier
      626c6c7c
    • Alessio Netti's avatar
      On-demand data analytics · 68a61f34
      Alessio Netti authored
      - By setting the "streaming" attribute to false, users
      can instantiate analyzers that are available only on-demand for requests
      on the REST API
      - The input/output config will be used to instantiate an unit on the fly
      starting from the node queried by the user
      - Computation is performed and the result is returned, no data is pushed
      on MQTT or to the database
      68a61f34
  5. 28 Jan, 2019 4 commits
  6. 27 Jan, 2019 2 commits
  7. 25 Jan, 2019 3 commits
  8. 23 Jan, 2019 3 commits
    • Alessio Netti's avatar
      Minor changes · ad6d7139
      Alessio Netti authored
      - Fixed a minor bug in QueryEngine that broke thread safety
      - The all and all-recursive clauses for unit input sensors do not
      replace all existing sensors anymore, but only add the remaining ones
      ad6d7139
    • Alessio Netti's avatar
      Bugfixes · 89cc1f57
      Alessio Netti authored
      - Fixed a bug in the QueryEngine that caused wrong cache
      sections to be selected for sensor data
      - Now AverageAnalyzer actually computes sensor averages
      89cc1f57
    • Alessio Netti's avatar
      Changes and Fixes · 94cf7193
      Alessio Netti authored
      - Unit instantiation logic moved to UnitGenerator
      - Regex-based filtering system to configure units was added
      - Thread safety in QueryEngine access addressed
      - Tons of bugfixes
      94cf7193
  9. 19 Jan, 2019 3 commits
  10. 18 Jan, 2019 6 commits
  11. 17 Jan, 2019 1 commit
    • Alessio Netti's avatar
      Data Analytics Working Prototype · c6498a8b
      Alessio Netti authored
      - First working version of Data Analytics Framework
      - A test plugin that performs the sum and max of its input sensors was
      implemented
      c6498a8b
  12. 14 Jan, 2019 2 commits
    • Alessio Netti's avatar
      Minor fixes and changes · 18f03ef4
      Alessio Netti authored
      - Subsampling behavior with delta fixed: the deltas that
      are sent over MQTT are coherent with the subsampling frequency, and are
      computed separately from the local high-frequency deltas
      - Added exception handling when writing to sensor file sinks
      - Fixed odd ProcFS behavior that led to reading constant values from
      certain files by closing and re-opening every time. Overhead seems to
      be negligible
      18f03ef4
    • Alessio Netti's avatar
      WIP: Data Analytics Framework · a1fc4e26
      Alessio Netti authored
      - Basic framework structure to perform streaming data analytics
      on dcdbpusher
      - Code currently compiles, but is not tested and integration with
      dcdbpusher is still in progress
      - Do not attempt to use this code yet :)
      a1fc4e26
  13. 11 Jan, 2019 3 commits
  14. 10 Jan, 2019 4 commits
  15. 09 Jan, 2019 1 commit
    • Alessio Netti's avatar
      Sensor subsampling and file output features · d76931a3
      Alessio Netti authored
      - Now sensors can be configured to be automatically written to files
      (sink param)
      - A per-sensor subsampling feature has also been added, allowing to
      decimate the frequency of readings sent to MQTT compared to those that
      have been sampled
      - Also fixed a bug in MQTTpusher that caused reduced message rates
      d76931a3
  16. 08 Jan, 2019 2 commits