[ 
https://issues.apache.org/jira/browse/ATLAS-4297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17392987#comment-17392987
 ] 

Mayank Jain commented on ATLAS-4297:
------------------------------------

[~dharshmk] ,

This is not a bug, since by design the metrics shown on UI are maintained 
in-memory, so after restart the data gets reset. Using appropriate Sink 
implementation, we can persist it to storage like graphite, etc.

 

For reference :  

[Hadoop Metrcis Sink Implementation 
Support|[https://hadoop.apache.org/docs/r3.1.0/api/org/apache/hadoop/metrics2/sink/RollingFileSystemSink.html]]

> [Atlas: Debug Metrics] Old data is lost when the feature is re-enabled
> ----------------------------------------------------------------------
>
>                 Key: ATLAS-4297
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4297
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>            Reporter: Dharshana M Krishnamoorthy
>            Assignee: Mayank Jain
>            Priority: Major
>
> Enable the feature debug metrics by setting *atlas.debug.metrics.enabled=true*
> Data will be collected
> Now turn the feature off by setting *atlas.debug.metrics.enabled=false*
> Re-enable the feature *atlas.debug.metrics.enabled=true* 
> This will be the data collected fresh and all the old data collected will be 
> lost
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to