1. 13 Jun, 2019 1 commit
  2. 12 Jun, 2019 1 commit
    • Alessio Netti's avatar
      Analytics: Aggregator plugin re-worked · 6d2b07a0
      Alessio Netti authored
      - Now supports also standard deviation and percentile computation
      - Multiple output sensors per analyzer can be defined, each performing
      a different aggregation task
      - QueryEngine has been slightly modified so as not to clear the input
      sensor reading buffer (if any), thus allowing to accumulate sensor
      values with subsequent calls
      6d2b07a0
  3. 04 Jun, 2019 1 commit
  4. 31 May, 2019 1 commit
  5. 28 May, 2019 2 commits
    • Alessio Netti's avatar
      Documentation and fixes · 69739f0a
      Alessio Netti authored
      - Added documentation to the new SensorID implementation
      - NOTE: virtual sensors will likely require some modifications due to
      how topics are handled now ('/' separator clashing with divide symbol)
      69739f0a
    • Alessio Netti's avatar
      Fully-operational string MQTT topics · b45ce395
      Alessio Netti authored
      - String topics are now used across all of DCDB, up to Cassandra
      - As of now, sensor names ALWAYS match MQTT topics
      - Users can still define sensor "aliases" via dcdbconfig that point
      to the same topics
      b45ce395
  6. 24 May, 2019 2 commits
  7. 23 May, 2019 1 commit
  8. 22 May, 2019 1 commit
    • Alessio Netti's avatar
      Minor changes · 8810a787
      Alessio Netti authored
      - Fixed name of log files for collectagent
      - Fixed a few compilation warnings under gcc 7
      - README for dcdbpusher now correctly refers to dcdbpusher.conf files
      - SensorNavigator is rebuilt after plugin reloads only if data analytics
      are currently running
      8810a787
  9. 14 May, 2019 1 commit
  10. 09 May, 2019 1 commit
  11. 02 May, 2019 1 commit
    • Alessio Netti's avatar
      REST API fixes for topics · 1ee72f08
      Alessio Netti authored
      - By convention, users should supply '.' characters instead of '/' when
      querying sensor topics over the REST API to avoid conflicts with URL
      parsing; the characters are then replaced automatically in the server
      1ee72f08
  12. 30 Apr, 2019 1 commit
  13. 29 Apr, 2019 1 commit
    • Alessio Netti's avatar
      DA: filter for SensorNavigator and binary search fixes · f2970bda
      Alessio Netti authored
      - a "filter" configuration parameter has been added, which is used
      to discard sensor names when building the sensor navigator
      - Can be used to e.g. build a sensor navigator in a collectagent
      using only the sensors that are directly collected by it
      - Implemented a switch to select leftmost/rightmost binary search
      in CacheEntry, used for the QueryEngine
      f2970bda
  14. 24 Apr, 2019 2 commits
    • Alessio Netti's avatar
      Configuration tweaks · 8b4b1738
      Alessio Netti authored
      - Parsing of host:port network addresses is handled by GlobalConfiguration
      - -p dcdbpusher command line parameter (broker port) removed and integrated
      into the -b argument
      8b4b1738
    • Alessio Netti's avatar
      Unified configuration backend · 0b344fc2
      Alessio Netti authored
      - The GlobalConfiguration class includes all shared logic to read and
      parse configuration attributes for the collectagent and dcdbpusher
      - The class is further expanded to add application-specific
      configuration parameters and blocks
      0b344fc2
  15. 23 Apr, 2019 1 commit
    • Alessio Netti's avatar
      DA: search-based sensor queries · eb186235
      Alessio Netti authored
      - When performing sensor queries with absolute timestamps (rel=false) a
      binary search algorithm is used to compute the bounds of the required
      sensor cache view
      - This is more accurate than the fuzzy method employed with relative
      timestamps (rel=true)
      eb186235
  16. 18 Apr, 2019 1 commit
    • Alessio Netti's avatar
      DA: REST API in collectagent · 0466b434
      Alessio Netti authored
      - The REST API of the data analytics framework is now functional in
      the collectagent as well
      - This implementation is temporary and should be replaced with a generic
      REST API server whenever possible
      0466b434
  17. 15 Apr, 2019 2 commits
    • Alessio Netti's avatar
      DA: data staleness checks · e19fd249
      Alessio Netti authored
      - Batch size in the collectagent now taken into account to determine if
      a specific sensor cache is stale or not
      e19fd249
    • Alessio Netti's avatar
      DA: bugfixes and documentation · 35cfab1b
      Alessio Netti authored
      - Integration of data analytics framework in collectagent complete
      - REST API integration still pending
      - Added some documentation to the code
      35cfab1b
  18. 12 Apr, 2019 2 commits
    • Alessio Netti's avatar
      DA: integration of analytics in collectagent · 30c355d3
      Alessio Netti authored
      - QueryEngine integration done (but not functional yet, debugging required)
      - Changed behavior on exceptional conditions: if SensorNavigator or
      AnalyticsManager initialization fails, termination follows
      - Now the QueryEngine can also access output sensors of other Analyzers
      - Minor bugfixes
      30c355d3
    • Alessio Netti's avatar
      DA: integration in CollectAgent (WIP) · 0f77d784
      Alessio Netti authored
      - First step for integration of the analytics framework in the collectagent
      - QueryEngine and REST API integration still missing
      - Proper testing still to be done
      - Added a probe function: the global config file is scanned before
      initialization, and if no data analytics plugins are requested, no
      sensor navigator is built
      0f77d784
  19. 13 Mar, 2019 2 commits
    • Alessio Netti's avatar
      eb38c300
    • Alessio Netti's avatar
      Minor refinements · abf6af19
      Alessio Netti authored
      - Boolean configuration options now all accept "true" and "on" keywords
      - Cache interval and thread count parameters removed from the command-line
      interface for consistency; these can still be set in the config files
      like all other parameters
      - global.conf file renamed to dcdbpusher.conf for consistency
      abf6af19
  20. 11 Mar, 2019 1 commit
    • Alessio Netti's avatar
      Sensor cache changes · 06155b53
      Alessio Netti authored
      - Sensor caches across DCDB are now managed by the CacheEntry
      implementation under "common"
      - Provides utility methods to perform averages, checks, get views etc.
      - SensorCache class in collectagent kept due to its libdcdb dependencies
      06155b53
  21. 07 Mar, 2019 1 commit
    • Alessio Netti's avatar
      Code refactoring (make clean required) · d35348f7
      Alessio Netti authored
      - Added a 'common' directory where all shared code has been placed
      - Analytics package has been moved out of dcdbpusher, now has its own makefile
      - Some renaming here and there for uniformity
      d35348f7
  22. 01 Mar, 2019 1 commit
    • Alessio Netti's avatar
      Minor changes · 2cf6acc5
      Alessio Netti authored
      - Fixed a minor issue that caused text corruption when using the -h
      option on certain shells
      - Collectagent now exits gracefully also when receiving a SIGTERM signal
      2cf6acc5
  23. 26 Feb, 2019 1 commit
    • Alessio Netti's avatar
      Configurable Cassandra Driver · a7f9b57c
      Alessio Netti authored
      - Added configuration options to tune the Cassandra driver for
      optimal performance
      - Added a "debugLog" configuration switch that enables logging of
      errors in asynchronous inserts in the Cassandra driver
      a7f9b57c
  24. 25 Feb, 2019 1 commit
    • Alessio Netti's avatar
      Automatic cache cleanup · 05e98971
      Alessio Netti authored
      - The CollectAgent sensor cache is automatically purged each X seconds
      (X is configurable through the cleaningInterval parameter), deleting
      all entries than have not been updated in the last X seconds
      - Fixed some minor bugs related to index management in sensor caches
      05e98971
  25. 19 Dec, 2018 1 commit
  26. 18 Dec, 2018 3 commits
  27. 11 Dec, 2018 1 commit
  28. 07 Dec, 2018 1 commit
    • Alessio Netti's avatar
      Logging · 878a63bc
      Alessio Netti authored
      - Added BOOST logging in the style of dcdbpusher
      - All logging-related functionality is in logging.h
      878a63bc
  29. 04 Dec, 2018 1 commit
    • Alessio Netti's avatar
      Configuration support for CollectAgent · 31cd6276
      Alessio Netti authored
      - The collectagent is now configurable, like dcdbpusher
      - Available config options can be seen in the sample collectagent.conf file
      - Supplying a path containing config files is mandatory, like dcdbpusher;
      this may change in the future
      - Please do a make all && make install from the root of the repo to update
      scripts and directories that were modified to add config support
      31cd6276
  30. 22 Nov, 2018 1 commit
    • Alessio Netti's avatar
      Sensor name auto-publish support · 0848af2f
      Alessio Netti authored
      - MQTT publish messages that have a topic preceded by the /DCDB_MAP/
      keyword will be interpreted as sensor name auto-publish messages
      - The payload of such messages is a string defining a sensor name, that
      is used together with the MQTT topic to perform a "sensor publish"
      action on the Cassandra db, like dcdbconfig does
      0848af2f
  31. 19 Oct, 2018 1 commit
  32. 23 Mar, 2018 1 commit