ranger
ranger copied to clipboard
RANGER-4876: Plugin Analytics
Accumulate count of isAccessAllowed and log periodically
What changes were proposed in this pull request?
The new class is meant to keep running count of how many times a plugin is called by a service and logs then periodically (every 300 seconds). Count is reset after logging.
How was this patch tested?
Tested in HDFS plugin, log with analytics prints every 300 seconds.