[ https://issues.apache.org/jira/browse/FALCON-2020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15324007#comment-15324007 ]
ASF GitHub Bot commented on FALCON-2020: ---------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/falcon/pull/180 > Changes in Graphite Notification Plugin > ---------------------------------------- > > Key: FALCON-2020 > URL: https://issues.apache.org/jira/browse/FALCON-2020 > Project: Falcon > Issue Type: Improvement > Reporter: Praveen Adlakha > Assignee: Praveen Adlakha > Fix For: trunk, 0.10 > > > Hi All , > Need to add couple of changes in GraphiteNotificationPlugin : > 1. (entityType.equals(EntityType.PROCESS.name()) should be replaced with > entityType.equalsIgnoreCase(EntityType.PROCESS.name()) > 2. Better logging > 3.String entityType = > StringUtils.isNotBlank(message.getDimensions().get("entityType")) ? > message.getDimensions().get("entityType") > :message.getDimensions().get("entity-type") ; > String entityName = > StringUtils.isNotBlank(message.getDimensions().get("entityName")) ? > message.getDimensions().get("entityName") > :message.getDimensions().get("entity-name") ; > String prefix = > StartupProperties.get().getProperty("falcon.graphite.prefix"); > As we are getting two types of messages. > Thanks > Praveen -- This message was sent by Atlassian JIRA (v6.3.4#6332)