falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Praveen Adlakha (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FALCON-2020) Changes in Graphite Notification Plugin
Date Wed, 08 Jun 2016 13:16:20 GMT
Praveen Adlakha created FALCON-2020:
---------------------------------------

             Summary: 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


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)

Mime
View raw message