From 0a49253c1a10ca141f1d78c00ef525fde788b430 Mon Sep 17 00:00:00 2001 From: Lukasz Jagiello Date: Wed, 9 Nov 2016 07:34:56 +0000 Subject: [PATCH] an example output of the metrics gathered --- README.md | 1 - plugins/inputs/solr/README.md | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0a144884b..2e64ca962 100644 --- a/README.md +++ b/README.md @@ -263,7 +263,6 @@ Currently implemented sources: * [sensors](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/sensors) * [snmp](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/snmp) * [snmp_legacy](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/snmp_legacy) -* [solr](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/solr) * [sql server](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/sqlserver) (microsoft) * [twemproxy](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/twemproxy) * [varnish](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/varnish) diff --git a/plugins/inputs/solr/README.md b/plugins/inputs/solr/README.md index f10e20c5c..59f64f1ea 100644 --- a/plugins/inputs/solr/README.md +++ b/plugins/inputs/solr/README.md @@ -15,3 +15,17 @@ More about [performance statistics](https://cwiki.apache.org/confluence/display/ ## specify a list of one or more Solr cores (default - all) # cores = ["main"] ``` + +### Example output of gathered metrics: + +``` +➜ ~ telegraf -config telegraf.conf -input-filter solr -test +* Plugin: solr, Collection 1 +> solr_core,core=main,handler=searcher,host=testhost class_name="org.apache.solr.search.SolrIndexSearcher",deleted_docs=17616645i,max_docs=261848363i,num_docs=244231718i 1478214949000000000 +> solr_core,core=main,handler=core,host=testhost class_name="main",deleted_docs=0i,max_docs=0i,num_docs=0i 1478214949000000000 +> solr_queryhandler,core=main,handler=/replication,host=testhost 15min_rate_reqs_per_second=0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000444659081257,5min_rate_reqs_per_second=0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014821969375,75th_pc_request_time=16.484211,95th_pc_request_time=16.484211,999th_pc_request_time=16.484211,99th_pc_request_time=16.484211,avg_requests_per_second=0.0000008443809966322143,avg_time_per_request=12.984811,class_name="org.apache.solr.handler.ReplicationHandler",errors=0i,handler_start=1474662050865i,median_request_time=11.352427,requests=3i,timeouts=0i,total_time=38.954433 1478214949000000000 +> solr_queryhandler,core=main,handler=/update/extract,host=testhost 15min_rate_reqs_per_second=0,5min_rate_reqs_per_second=0,75th_pc_request_time=0,95th_pc_request_time=0,999th_pc_request_time=0,99th_pc_request_time=0,avg_requests_per_second=0,avg_time_per_request=0,class_name="Lazy[solr.extraction.ExtractingRequestHandler]",errors=0i,handler_start=0i,median_request_time=0,requests=0i,timeouts=0i,total_time=0 1478214949000000000 +> solr_queryhandler,core=main,handler=org.apache.solr.handler.component.SearchHandler,host=testhost 15min_rate_reqs_per_second=0,5min_rate_reqs_per_second=0,75th_pc_request_time=0,95th_pc_request_time=0,999th_pc_request_time=0,99th_pc_request_time=0,avg_requests_per_second=0,avg_time_per_request=0,class_name="org.apache.solr.handler.component.SearchHandler",errors=0i,handler_start=1474662050861i,median_request_time=0,requests=0i,timeouts=0i,total_time=0 1478214949000000000 +> solr_queryhandler,core=main,handler=/tvrh,host=testhost 15min_rate_reqs_per_second=0,5min_rate_reqs_per_second=0,75th_pc_request_time=0,95th_pc_request_time=0,999th_pc_request_time=0,99th_pc_request_time=0,avg_requests_per_second=0,avg_time_per_request=0,class_name="Lazy[solr.SearchHandler]",errors=0i,handler_start=0i,median_request_time=0,requests=0i,timeouts=0i,total_time=0 1478214949000000000 +[…] +```