We are using latest version of solr cloud and we deployed it while enabling exporter services. We have found out that it is not providing any metrics to the prometheus. Logs of the exporter pods looks fine and are as below:
/opt/solr/contrib/prometheus-exporter/bin/solr-exporter -p 9984 -z solr-intranet2-zookeeper-0.solr-intranet2-zookeeper-headless:2181 -n 7 -f /opt/solr/contrib/prometheus-exporter/conf/solr-exporter-config.xml
INFO - 2020-01-09 12:07:22.473; org.apache.solr.core.SolrResourceLoader; solr home defaulted to 'solr/' (could not find system property or JNDI)
INFO - 2020-01-09 12:07:23.443; org.apache.solr.common.cloud.SolrZkClient; Using ZkCredentialsProvider: org.apache.solr.common.cloud.VMParamsSingleSetCredentialsDigestZkCredentialsProvider
INFO - 2020-01-09 12:07:23.535; org.apache.solr.common.cloud.ConnectionManager; zkClient has connected
INFO - 2020-01-09 12:07:23.589; org.apache.solr.common.cloud.ZkStateReader; Updated live nodes from ZooKeeper... (0) -> (3)
INFO - 2020-01-09 12:07:23.650; org.apache.solr.client.solrj.impl.ZkClientClusterStateProvider; Cluster at solr-intranet2-zookeeper-0.solr-intranet2-zookeeper-headless:2181 ready
INFO - 2020-01-09 12:07:23.696; org.apache.solr.prometheus.exporter.SolrExporter; Starting Solr Prometheus Exporting
INFO - 2020-01-09 12:07:23.709; org.apache.solr.prometheus.collector.SchedulerMetricsCollector; Beginning metrics collection
INFO - 2020-01-09 12:07:23.763; org.apache.solr.prometheus.exporter.SolrExporter; Solr Prometheus Exporter is running
INFO - 2020-01-09 12:07:23.880; org.apache.solr.prometheus.collector.SchedulerMetricsCollector; Completed metrics collection
INFO - 2020-01-09 12:08:23.881; org.apache.solr.prometheus.collector.SchedulerMetricsCollector; Beginning metrics collection
INFO - 2020-01-09 12:08:23.899; org.apache.solr.prometheus.collector.SchedulerMetricsCollector; Completed metrics collection
INFO - 2020-01-09 12:09:23.899; org.apache.solr.prometheus.collector.SchedulerMetricsCollector; Beginning metrics collection
INFO - 2020-01-09
We are using latest version of solr cloud and we deployed it while enabling exporter services. We have found out that it is not providing any metrics to the prometheus. Logs of the exporter pods looks fine and are as below:
On 9983 port, Exporter pod is providing only below limited information: http://127.0.0.1:9983/solr/admin/metrics
Also, made below changes in the exporter file as it was point to .Values.port. ports:
Please let me know, if I have missed anything.