[ 
https://issues.apache.org/jira/browse/SOLR-14837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Pugh updated SOLR-14837:
-----------------------------
    Resolution: Won't Fix
        Status: Resolved  (was: Patch Available)

We've moved away from the Prometheus Exporter in Solr 9.9/Solr 10 releases..

> prometheus-exporter: different metrics ports publishes mixed metrics
> --------------------------------------------------------------------
>
>                 Key: SOLR-14837
>                 URL: https://issues.apache.org/jira/browse/SOLR-14837
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - prometheus-exporter
>    Affects Versions: 8.6.2
>            Reporter: Fadi Mohsen
>            Priority: Minor
>         Attachments: SOLR-14837.patch
>
>
> when calling SolrExporter.main "pro-grammatically"/"same JVM" with two 
> different solr masters asking to publish the metrics on two different ports, 
> the metrics are being mixed on both metric endpoints from the two solr 
> masters.
> This was tracked down to a static variable called *defaultRegistry*:
> https://github.com/apache/lucene-solr/blob/master/solr/contrib/prometheus-exporter/src/java/org/apache/solr/prometheus/exporter/SolrExporter.java#L86
> removing the static keyword fixes the issue.



--
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