mlbiscoc commented on issue #705:
URL: https://github.com/apache/solr-operator/issues/705#issuecomment-2151008756
Did a bit of digging and I think the cause is because of the metrics api in
Solr being different from 8->9.
Solr 8:
` "ADMIN./admin/ping.totalTime":4869095628,
"ADMIN./admin/ping.distrib.totalTime":2035581611,
"ADMIN./admin/ping.local.totalTime":0,`
Solr 9:
`"ADMIN./admin/ping.totalTime":3739370399,
"ADMIN./admin/ping.totalTime":3994744966,`
I think the prometheus exporter is scraping Solr 8's api but didn't append
the correct labels of `distrib`. Solr 9 had a
[change](https://issues.apache.org/jira/browse/SOLR-14401) that removed
`distrib` and that kind of fixed the problem in Solr 9. I haven't actually
tested this and just did digging but the config in needs to be changed for Solr
8's prometheus exporter to probably remove the duplicate metric. I'd give it a
shot if I were you or maybe delete the `<str
name="expr">solr\.core\..*:ADMIN\..*</str>` line to remove that metric from
being output from the prometheus exporter
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]