In Developer Portal 3.5 CR7, menu /dashboard/analytics/*, user have metrics on the last 90 days.
But, the interface allows us to select 365 days. And results dashboard return a graph with metric for the last 90 days...
What is limit of historical depth metrics on Developer Portal ?
Does the developer portal maintain consumption data for a full year? Is he able to display them ?
Is there a configuration to do? What is the purge mechanism?
1. <Property name="PURGER_NUM_DAYS">60</Property> should go in the <Properties> node.
2. A restart of the Portal is required after editing lrsgateway-conf.xml
3. 60 is the correct default value.
If the metrics purge is functioning properly you should see the following log entries at 00:15 each day.
05/15 00:15:00.007 INFO (SimpleThreadPoolWorker-8:) - Purging data with resolution=1 that is 60 day(s) older than Tue May 15 00:15:00 JST 2018 (period start less than or equal to 1521126900001) in batches of 100.
05/15 00:15:00.008 INFO (SimpleThreadPoolWorker-8:) - Finished purging data.
You can invoke the purge manually using http://site/internal/purgeDailyBins as an administrator.
If you see "Failed to purge data. See xtreme output for trace.", you can add the following line to /opt/Deployments/lrs/server/webapps/ROOT/WEB-INF/classes/log4j.properties to get a detailed stack trace. There is no portal restart required.