[
https://issues.apache.org/jira/browse/SOLR-9857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15834693#comment-15834693
]
Andrzej Bialecki edited comment on SOLR-9857 at 1/23/17 3:20 PM:
------------------------------------------------------------------
Updated patch. In this version I use a regular UpdateRequest for reporting
metrics, so that {{SolrReporter}} component can be reused in other contexts
(eg. when reporting aggregate metrics from nodes to overseer).
There's one specific nocommit in this patch and I'd welcome any suggestions how
to address it. There are two "plugin-like" components that can be configured
via initArgs - the {{MetricsCollectorHandler}} and {{SolrReplicaReporter}}. The
first I think should be configured in {{solr.xml}} if at all.
{{SolrReplicaReporter}} is initialized as a part of {{CoreContainer.load()}}
... but I wasn't sure where the initArgs should be specified for this "plugin".
Should they go eg. to a {{/solr/metrics/replica}} section of {{solr.xml}} ? But
then they would be applied globally to every core managed by the container. Or
should they go to {{solrconfig.xml}} ? or should this be a part of the
collection config?
was (Author: ab):
Updated patch. In this version I use a regular UpdateRequest for reporting
metrics, so that {{SolrReporter}} component can be reused in other contexts
(eg. when reporting aggregate metrics from nodes to overseer).
> Collect aggregated metrics from replicas in shard leader
> --------------------------------------------------------
>
> Key: SOLR-9857
> URL: https://issues.apache.org/jira/browse/SOLR-9857
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: metrics
> Affects Versions: master (7.0)
> Reporter: Andrzej Bialecki
> Assignee: Andrzej Bialecki
> Priority: Minor
> Attachments: SOLR-9857.patch, SOLR-9857.patch
>
>
> Shard leaders can collect metrics from replicas in order to learn about their
> load and the progress of replication. These per-replica metrics need to be
> aggregated (if possible) in order to report cluster-wide per-shard metrics.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]