tiimbz commented on issue #483: URL: https://github.com/apache/solr-operator/issues/483#issuecomment-1361389034
Looking at the code, it looks like the `prometheus.io/port` value is set from `ExtSolrMetricsPort`, not `SolrMetricsPort` which would have fixed the problem. Any attempts to overwrite this by using custom `serviceAnnotations` is not working, as custom annotations can only supplement the default ones, not overwrite them: https://github.com/apache/solr-operator/blob/main/controllers/util/prometheus_exporter_util.go#L400 -- 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: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org