lintghi opened a new issue #2821: if setup ttl both core:default and 
storage:elasticsearch on application.yml then which one will effective
URL: https://github.com/apache/skywalking/issues/2821
 
 
   application.yml
   
   core:
     default:
       .....
       # Set a timeout on metric data. After the timeout has expired, the 
metric data will automatically be deleted.
       recordDataTTL: ${SW_CORE_RECORD_DATA_TTL:90} # Unit is minute
       minuteMetricsDataTTL: ${SW_CORE_MINUTE_METRIC_DATA_TTL:90} # Unit is 
minute
       hourMetricsDataTTL: ${SW_CORE_HOUR_METRIC_DATA_TTL:36} # Unit is hour
       dayMetricsDataTTL: ${SW_CORE_DAY_METRIC_DATA_TTL:45} # Unit is day
       monthMetricsDataTTL: ${SW_CORE_MONTH_METRIC_DATA_TTL:18} # Unit is month
   storage:
     elasticsearch:
       ......
       # Those data TTL settings will override the same settings in core module.
       recordDataTTL: ${SW_STORAGE_ES_RECORD_DATA_TTL:7} # Unit is day
       otherMetricsDataTTL: ${SW_STORAGE_ES_OTHER_METRIC_DATA_TTL:45} # Unit is 
day
       monthMetricsDataTTL: ${SW_STORAGE_ES_MONTH_METRIC_DATA_TTL:18} # Unit is 
month

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to