You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/12/02 18:12:00 UTC

[jira] [Commented] (ATLAS-4370) Persist Metrics for user to retrieve Metrics info at a past timestamp

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

ASF subversion and git services commented on ATLAS-4370:
--------------------------------------------------------

Commit a4ee6c05ad6e8759cf2945024684bfbd1e7af8e1 in atlas's branch refs/heads/master from JP Li
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=a4ee6c0 ]

ATLAS-4370: Persist Metrics for user to retrieve Metrics info at a past timestamp

Co-authored-by: Disha Talreja <di...@cloudera.com>

Signed-off-by: Sarath Subramanian <sa...@apache.org>


> Persist Metrics for user to retrieve Metrics info at a past timestamp
> ---------------------------------------------------------------------
>
>                 Key: ATLAS-4370
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4370
>             Project: Atlas
>          Issue Type: New Feature
>          Components: atlas-intg, atlas-webui
>    Affects Versions: 2.1.0
>            Reporter: JP
>            Assignee: Disha Talreja
>            Priority: Major
>
> # Create new typeDef of MetricsStat to persist Metrics entity.
>  # Create MetricsStat class to keep Metrics' info about collectionTime, metricsId and ttl; create MetricsStatsDTO class to transfer states between MetricsStat and AtlasEntity when it is saved or retrieved from JanusGraph.
>  # Create MetricsStatMin to represent the minimal information about persisted MetricsStat.
>  # Create job scheduler with configurable metrics.persist.schedule (default as 7 days) & metrics.ttl.hours (default as 1 hr interval) to save a metrics entity to db and to sweep through all metrics entities and clear the ones whose time-to-live (ttl) has past.
>  # Update MetricsService to implement REST APIs in AdminResource to realize api calls of:
>  ** Get all persisted metricsStats, with boolean variable to choose its return type as a list of metricsStats with specific details, or with minimal information;
>  ** Get a specific metricsStat by collectionTime
>  # Update MetricsService to include helper methods of:
>  ** Save a metricsStat to db
>  ** Get or delete a persisted metricsStat by collectionTime
>  ** Purge metricsStats whose ttl has past



--
This message was sent by Atlassian Jira
(v8.20.1#820001)