[ 
https://issues.apache.org/jira/browse/SOLR-17806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18029844#comment-18029844
 ] 

ASF subversion and git services commented on SOLR-17806:
--------------------------------------------------------

Commit c022d6bb42730a0dd412820d12e783be2478aa94 in solr's branch 
refs/heads/main from Sanjay Dutt
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=c022d6bb427 ]

SOLR-17806: Migrate SolrIndexSearcher metrics to OTEL (#3482)

* Migrate SolrIndexSearcher metrics to OTEL

* renaming metrics

* metric renaming, adding descriptions

* removing comment and renaming metric

* switch to OTEL for statsCache

* recording string metric is not required

* Metrics cleanup

* Fix broken searcher tests

* Change solr_searcher_live_docs_cache to a counter

* Feedback changes

* Remove sort metric

* Remove caching enabled metric

---------

Co-authored-by: Matthew Biscocho <[email protected]>
Co-authored-by: Matthew Biscocho <[email protected]>

> Migrate Dropwizard metric initializations to OTEL instruments
> -------------------------------------------------------------
>
>                 Key: SOLR-17806
>                 URL: https://issues.apache.org/jira/browse/SOLR-17806
>             Project: Solr
>          Issue Type: Sub-task
>          Components: metrics
>            Reporter: Matthew Biscocho
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: main (10.0)
>
>          Time Spent: 34h
>  Remaining Estimate: 0h
>
> This subtask is to track migrations of Dropwizard instruments to OTEL. Many 
> places that initialize these metrics implement SolrMetricProducer. Doing this 
> usually involves finding the initialization of these metric, remove 
> Dropwizard and replace with the OTEL equivalent instruments using an one of 
> the OTEL attributed metric wrappers.
> From dropwizard to OTEL:
> Gauge -> Gauge
> Counter -> Counter
> Histogram -> Histogram
> Meter -> Counter (May also need Histogram or gauges for rates)
> Timer -> Histogram (Use AttributedLongTimer)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to