lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Otis Gospodnetic (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-9880) Add Ganglia and Graphite metrics reporters
Date Wed, 21 Dec 2016 20:55:58 GMT

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

Otis Gospodnetic commented on SOLR-9880:
----------------------------------------

May I recommend a different approach?  With the current approach you'll always have somebody
come in and ask for additional reporter and typically that won't be very high on Solr devs'
interest, plus it will require more work, additional dependencies, etc.  Moreover, if you
do this then you have to think about things like destination not being available, about possible
on-disk buffering so data is not lost, about ensuring the buffered data is purged if there
is too much of it, and so on.  Solr doesn't want to be in data shipper business.  My suggestion,
based on working with monitoring and logging for the last N years - just log metrics to a
file.  There are a number of modern tools that know how to tail files, parse their content,
ship it somewhere, have buffering, have multiple outputs, and so on.  Just make sure data
is nicely structured to make parsing easy, and done in a way that when you add more metrics
you can do it in a backwards-compatible way.

> Add Ganglia and Graphite metrics reporters
> ------------------------------------------
>
>                 Key: SOLR-9880
>                 URL: https://issues.apache.org/jira/browse/SOLR-9880
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: metrics
>            Reporter: Andrzej Bialecki 
>            Assignee: Andrzej Bialecki 
>            Priority: Minor
>             Fix For: master (7.0), 6.4
>
>
> Originally SOLR-4735 provided implementations for these reporters (wrappers for Dropwizard
components to use {{SolrMetricReporter}} API).
> However, this functionality has been split into its own issue due to the additional transitive
dependencies that these reporters bring:
> * Ganglia:
> ** metrics-ganglia, ASL, 3kB
> ** gmetric4j (Ganglia RPC implementation), BSD, 29kB
> * Graphite
> ** metrics-graphite, ASL, 10kB
> ** amqp-client (RabbitMQ Java client, marked optional in pom?), ASL/MIT/GPL2, 190kB
> IMHO these are not very large dependencies, and given the useful functionality they provide
it's worth adding them.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message