1. 06 Feb, 2019 1 commit
    • Alessio Netti's avatar
      DA: changed unit instantiation syntax · 4da0788a
      Alessio Netti authored
      - When instantiating analyzer units, the sensor tree can be navigated
      vertically through the "topdown N" and "bottomup N" keywords, which
      respectively mean "N levels down from the top" or "N levels up from the
      bottom" of the sensor tree
      - This renders the "unit - X" syntax obsolete
  2. 05 Feb, 2019 2 commits
  3. 04 Feb, 2019 3 commits
    • Alessio Netti's avatar
      More warning fixes · 0523cf25
      Alessio Netti authored
      - Mainly fixes to unsigned-signed comparison warnings
    • Alessio Netti's avatar
      Tiny fixes · 1a79c40c
      Alessio Netti authored
      - Small fixes to prevent compilation warnings
    • Alessio Netti's avatar
      Initialization changes · a59764f7
      Alessio Netti authored
      - If no analyzerPlugins block is present in global.conf, initialization
      of the data analytics framework will be skipped without terminating the
  4. 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
  5. 31 Jan, 2019 1 commit
  6. 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
    • 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
  7. 28 Jan, 2019 4 commits
  8. 27 Jan, 2019 1 commit
  9. 25 Jan, 2019 3 commits
  10. 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
    • 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
    • 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
  11. 18 Jan, 2019 6 commits
  12. 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
  13. 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
    • 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 :)
  14. 11 Jan, 2019 1 commit
  15. 10 Jan, 2019 4 commits
  16. 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
  17. 08 Jan, 2019 4 commits