Commit 411c9dabdafa687362e66e7b3358405f1431fe4c

Authored by VoBa
Committed by GitHub
1 parent eaa2c578

Added usage statistics configuration to yml file (#4097)

* Remove device from cache in case null value cached in the distributed redis

* Handle case when device was removed from db but message in the queue exists

* Code review chagnes

* Added usage statistics configuration to yml file
... ... @@ -118,6 +118,15 @@ security:
118 118 githubMapper:
119 119 emailUrl: "${SECURITY_OAUTH2_GITHUB_MAPPER_EMAIL_URL_KEY:https://api.github.com/user/emails}"
120 120
  121 +# Usage statistics parameters
  122 +usage:
  123 + stats:
  124 + report:
  125 + enabled: "${USAGE_STATS_REPORT_ENABLED:true}"
  126 + interval: "${USAGE_STATS_REPORT_INTERVAL:10}"
  127 + check:
  128 + cycle: "${USAGE_STATS_CHECK_CYCLE:60000}"
  129 +
121 130 # Dashboard parameters
122 131 dashboard:
123 132 # Maximum allowed datapoints fetched by widgets
... ...