Skip to content

RANGER-5535: Ranger rest API to show summary of Ranger Admin metrics - #1239

Open
RakeshGuptaDev wants to merge 6 commits into
apache:masterfrom
RakeshGuptaDev:RANGER-5535_master
Open

RakeshGuptaDev wants to merge 6 commits into
apache:masterfrom
RakeshGuptaDev:RANGER-5535_master

Conversation

@RakeshGuptaDev

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Ranger rest API to show summary of Ranger Admin metrics

How was this patch tested?

Testing Performed:
Verified timezone-aware daily bucketing across all three new REST endpoints:

GET /service/audit/days-audit-admin-metrics (RANGER-5510): Tested filtering by objectClassTypes, actions, olderThanInDays, and timezone. Verified correct grouping for admin change metrics (x_trx_log_v2).

GET /service/audit/days-audit-access-metrics (RANGER-5511): Verified Solr access audit metric retrieval over olderThanInDays with custom timezone parameters.

GET /service/audit/days-plugin-policy-sync-metrics (RANGER-5509): Tested plugin policy export/sync metrics (x_policy_export_audit) with valid/invalid olderThanInDays and timezone inputs.

Results: All endpoints returned expected JSON payloads with accurately bucketed timezones. Unit/integration tests passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant