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

Gagan Deep Juneja commented on BLUR-67:
---------------------------------------

I am planning to have init functions in blur-site.properties. Following is the 
example

#Metric Reporter Details
blur.metric.metricsregistry.class=com.yammer.metrics.core.MetricsRegistry
blur.metric.metricsregistry.initMethod=function 
initMetricRegistry(com.yammer.metrics.core.MetricsRegistry metricRegistry) { 
metricRegistry = new com.yammer.metrics.core.MetricsRegistry();}
blur.metric.reporter.class=com.yammer.metrics.reporting.JmxReporter
blur.metric.reporter.initMethod=function 
initReporter(com.yammer.metrics.core.MetricsRegistry metricRegistry) { 
com.yammer.metrics.reporting.JmxReporter.startDefault(metricRegistry);}
blur.metric.reporter.shutdown=function shutdown() { 
com.yammer.metrics.reporting.JmxReporter.shutdownDefault(); }


Can we use code from Metrics.java  directly in BlurMetrics.java or is there any 
copyright issues.

Please let me know your feedback so that I can go ahead with implementations.

Regards,
Gagan
                
> 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
>
>
> 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

Reply via email to