You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Andrzej Bialecki (Jira)" <ji...@apache.org> on 2019/09/17 15:51:00 UTC
[jira] [Commented] (SOLR-13758) Ability to create custom metrics
[ https://issues.apache.org/jira/browse/SOLR-13758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16931590#comment-16931590 ]
Andrzej Bialecki commented on SOLR-13758:
------------------------------------------
[~AceHack] Did you mean the ability to register your own metrics implementations? There are limitations in the Dropwizard API that make it difficult - even though some of its APIs use the very unspecific marker interface {{Metric}}, still in many places there are checks that only recognize the predefined sub-interfaces.
This was one of the reasons we implemented the {{MetricsMap}}, which is a generic map-like Gauge that exposes arbitrary key-value pairs.
{{QParserPlugin}} currently doesn't implement {{SolrMetricProducer}} but it would be trivial to add this. The question is what kind of metrics you would like to expose from these plugins?
> Ability to create custom metrics
> --------------------------------
>
> Key: SOLR-13758
> URL: https://issues.apache.org/jira/browse/SOLR-13758
> Project: Solr
> Issue Type: New Feature
> Security Level: Public(Default Security Level. Issues are Public)
> Components: metrics
> Affects Versions: 8.2
> Reporter: Rodney Aaron Stainback
> Priority: Major
>
> Solr currently uses Dropwizard internally to create metrics, please expose an interface into items like the QParserPlugin and all other extension points where they can plug in custom metrics.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org