tango-controls-hdbpp / libhdbpp-cassandra

HDB++ library for Apache Cassandra backend. Moved to https://gitlab.com/tango-controls/hdbpp/libhdbpp-cassandra
http://www.tango-controls.org/community/projects/hdbplus
1 stars 1 forks source link

Add an option to make optional the possibility to store diagnostics timestamps #6

Open bourtemb opened 7 years ago

bourtemb commented 7 years ago

In the current version, the library is storing the event receive time and event insert time into the database. It would be useful to add an option to be able to enable this feature only on-demand. It appears that these timestamps do not seem to be very useful since the EventSubscriber is already monitoring the min and max processing time. Disabling this feature could help saving quite a lot of space.

chedburgh commented 7 years ago

This will be included in a much larger change set I will add as a branch shortly. I will outline the code that adds this change here.

chedburgh commented 7 years ago

Included in branch Refactor-Development

chedburgh commented 7 years ago

Config variable store_diag_times was added. Default is true, to maintain like behaviour with the current module. When set to false, it will stop storing diagtimes. Code can be traced with this flag.

Intention is to move this to default false in the future.