[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to