You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Walter Underwood <wu...@wunderwood.org> on 2016/10/26 19:02:30 UTC

CodaHale metrics for Solr 6?

Anybody using the CodaHale metrics.jetty9.InstrumentedHandler? It looks a lot like something we built for our own use with Solr 4.

http://metrics.dropwizard.io/3.1.0/manual/jetty/ <http://metrics.dropwizard.io/3.1.0/manual/jetty/>
http://metrics.dropwizard.io/3.1.0/apidocs/com/codahale/metrics/jetty9/InstrumentedHandler.html <http://metrics.dropwizard.io/3.1.0/apidocs/com/codahale/metrics/jetty9/InstrumentedHandler.html>

wunder
Walter Underwood
wunder@wunderwood.org
http://observer.wunderwood.org/  (my blog)



Re: CodaHale metrics for Solr 6?

Posted by Jeff Wartes <jw...@whitepages.com>.
Expanding on my comment on the ticket, I’m really quite happy with using codahale/dropwizard metrics with Solr. I don’t know if I’m comfortable just sharing a screenshot of the resulting grafana dashboard, but I’ve got, per-host:

- Percentile latencies and rates for GET vs POST (which in solrcloud generally maps to top-level-query vs shard-request & update) (From the jetty-metrics plugin)
- Log rates by log level (from the logging-metrics plugin)
- GC time (from the jvm-metrics plugin)
- Thread counts (same)
- Percentile latencies and rates per query “performance class” (from my metrics-aware backup request handler - https://github.com/whitepages/SOLR-4449) 
- Backup request rates (same)

I’ve been agitating the idea of getting metrics more tightly integrated for at least a year, maybe longer. I’ve been using the jetty metrics plugin since at least Solr 4.9, and have upgraded and re-added it at least twice.


On 11/1/16, 11:56 AM, "Walter Underwood" <wu...@wunderwood.org> wrote:

    Anybody?
    
    It seems like this would be a solution for SOLR-4735, which has been open for 3.5 years.
    
    https://issues.apache.org/jira/browse/SOLR-4735 <https://issues.apache.org/jira/browse/SOLR-4735>
    
    wunder
    Walter Underwood
    wunder@wunderwood.org
    http://observer.wunderwood.org/  (my blog)
    
    
    > On Oct 26, 2016, at 12:02 PM, Walter Underwood <wu...@wunderwood.org> wrote:
    > 
    > Anybody using the CodaHale metrics.jetty9.InstrumentedHandler? It looks a lot like something we built for our own use with Solr 4.
    > 
    > http://metrics.dropwizard.io/3.1.0/manual/jetty/ <http://metrics.dropwizard.io/3.1.0/manual/jetty/>
    > http://metrics.dropwizard.io/3.1.0/apidocs/com/codahale/metrics/jetty9/InstrumentedHandler.html <http://metrics.dropwizard.io/3.1.0/apidocs/com/codahale/metrics/jetty9/InstrumentedHandler.html>
    > 
    > wunder
    > Walter Underwood
    > wunder@wunderwood.org <ma...@wunderwood.org>
    > http://observer.wunderwood.org/  (my blog)
    
    


Re: CodaHale metrics for Solr 6?

Posted by Walter Underwood <wu...@wunderwood.org>.
Anybody?

It seems like this would be a solution for SOLR-4735, which has been open for 3.5 years.

https://issues.apache.org/jira/browse/SOLR-4735 <https://issues.apache.org/jira/browse/SOLR-4735>

wunder
Walter Underwood
wunder@wunderwood.org
http://observer.wunderwood.org/  (my blog)


> On Oct 26, 2016, at 12:02 PM, Walter Underwood <wu...@wunderwood.org> wrote:
> 
> Anybody using the CodaHale metrics.jetty9.InstrumentedHandler? It looks a lot like something we built for our own use with Solr 4.
> 
> http://metrics.dropwizard.io/3.1.0/manual/jetty/ <http://metrics.dropwizard.io/3.1.0/manual/jetty/>
> http://metrics.dropwizard.io/3.1.0/apidocs/com/codahale/metrics/jetty9/InstrumentedHandler.html <http://metrics.dropwizard.io/3.1.0/apidocs/com/codahale/metrics/jetty9/InstrumentedHandler.html>
> 
> wunder
> Walter Underwood
> wunder@wunderwood.org <ma...@wunderwood.org>
> http://observer.wunderwood.org/  (my blog)