You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eagle.apache.org by "Edward Zhang (JIRA)" <ji...@apache.org> on 2015/12/23 20:56:46 UTC

[jira] [Commented] (EAGLE-99) policy distribution statistics to be printed in log

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

Edward Zhang commented on EAGLE-99:
-----------------------------------

Sample output
2015-12-23 11:56:17,254 INFO [pollingConfigurationSource] policy.PolicyDistroStatsLogReporter[45]: policyDistributionStats for hdfsAuditLogAlertExecutor_1, total: 1, [hostxyz]
2015-12-23 11:56:17,254 INFO [pollingConfigurationSource] policy.PolicyDistroStatsLogReporter[45]: policyDistributionStats for hdfsAuditLogAlertExecutor_1, total: 1, [hostxyz]
2015-12-23 11:56:17,255 INFO [pollingConfigurationSource] policy.PolicyDistroStatsLogReporter[45]: policyDistributionStats for hdfsAuditLogAlertExecutor_0, total: 2, [viewPrivate,testOpen]
2015-12-23 11:56:17,255 INFO [pollingConfigurationSource] policy.PolicyDistroStatsLogReporter[45]: policyDistributionStats for hdfsAuditLogAlertExecutor_0, total: 2, [viewPrivate,testOpen]


> policy distribution statistics to be printed in log
> ---------------------------------------------------
>
>                 Key: EAGLE-99
>                 URL: https://issues.apache.org/jira/browse/EAGLE-99
>             Project: Eagle
>          Issue Type: Improvement
>    Affects Versions: 0.3.0
>            Reporter: Edward Zhang
>            Assignee: Edward Zhang
>            Priority: Minor
>             Fix For: 0.3.0
>
>
> Polices are distributed into different physical processes/threads, sometimes it is very hard to know which physical AlertExecutor handles which policies.
> Each time after Eagle framework polls policy changes, the framework will calculate policy distribution statistics and print that in log.
> This stats potentially can be reported into centralized eagle service for better visualization  of the whole picture of policy distribution.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)