-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/75014/
-----------------------------------------------------------
(Updated Nov. 19, 2024, 3:59 p.m.)
Review request for atlas, Mandar Ambawane and Pinal Shah.
Bugs: ATLAS-4867
https://issues.apache.org/jira/browse/ATLAS-4867
Repository: atlas
Description (updated)
-------
Metrics API : http://<>/api/atlas/admin/metrics
1. There is some information in the Metrics API response, which is not been
used like Count of the typeAndSubTypes, Active, deleted, Shell
Approach:
Identify time taken by the above counts
Take reading of metric api
Take reading of metric api without the above counts
Diffs (updated)
-----
repository/src/main/java/org/apache/atlas/services/MetricsService.java
9ec2cd2cb
Diff: https://reviews.apache.org/r/75014/diff/3/
Changes: https://reviews.apache.org/r/75014/diff/2-3/
Testing (updated)
-------
With typeAndSubTypes data it took 3766ms for Active (22,994,801), Deleted
(139,768) and Shell (166,280) for Metric API
Without typeAndSubTypes data, it took 2629ms for Metric API
PC build:-
https://ci-builds.apache.org/job/Atlas/job/PreCommit-ATLAS-Build-Test/1662/console
File Attachments
----------------
AtlasGraphDetails.java
https://reviews.apache.org/media/uploaded/files/2024/07/11/3199de1d-ba43-4951-bc01-d42462c38518__AtlasGraphDetails.java
AtlasGraphDetails.java
https://reviews.apache.org/media/uploaded/files/2024/07/11/6da399ce-a9fc-47c7-9acd-32149fcef2e4__AtlasGraphDetails.java
Thanks,
Paresh Devalia