incubator-blur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gagan Deep Juneja (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (BLUR-67) Add config options for metrics reporters
Date Sat, 13 Apr 2013 09:40:16 GMT

     [ https://issues.apache.org/jira/browse/BLUR-67?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gagan Deep Juneja updated BLUR-67:
----------------------------------

    Attachment: GangliaBlurMetricsReporter.java

I agree with your point that javascript function in property file looks ugly and We may go
ahead with the approach you described above. But here if we go with parent class BlurMetricsReporter
then user should be aware of all the Reporter classes that Blur supports. What you say on
this? 

Here I have created one class for Ganglia Reporter named GangliaBlurMetricsReporter. I defined
many properties for Ganglia reporter based on the constructors of Ganglia but only host name
and port are sufficient to start Ganglia reporter, for rest of the properties we can pass
default values.

We can write classed on the same line for following list of reportes.

1. JMX
2. Console
3. CSV
4. SLF4J
5. GangliaReporter
6. GraphiteReporter


And on top of these classes we will have one util class which based on the reporters (comma
separated classes in property file) list enable the respective Reporters. 

Please let me know your feedback so that we can move ahead and close this asap.
                
> Add config options for metrics reporters
> ----------------------------------------
>
>                 Key: BLUR-67
>                 URL: https://issues.apache.org/jira/browse/BLUR-67
>             Project: Apache Blur
>          Issue Type: Bug
>    Affects Versions: 0.1.5
>            Reporter: Aaron McCurry
>             Fix For: 0.1.5
>
>         Attachments: GangliaBlurMetricsReporter.java
>
>
> The default metrics reporter is JMX per JVM.  However there is no way for the metrics
to be configured with another reporter such as ganglia.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message