You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by GitBox <gi...@apache.org> on 2022/10/21 16:39:37 UTC

[GitHub] [solr-operator] sanjay3290 commented on issue #483: Servicemonitor for prometheus exporter is referring to cluster port instead of metrics pod port

sanjay3290 commented on issue #483:
URL: https://github.com/apache/solr-operator/issues/483#issuecomment-1287200879

   Hello @HoustonPutman, Below is the Servicemonitor yaml , i used the default provided in SolrOperator Documentation.
   
   
   apiVersion: monitoring.coreos.com/v1
   kind: ServiceMonitor
   metadata:
     name: solr-metrics
     labels:
       release: prometheus
   spec:
     selector:
       matchLabels:
         solr-prometheus-exporter: solr-dev-prom-exporter
     namespaceSelector:
       matchNames:
       - solr-dev
     endpoints:
     - port: solr-metrics
       interval: 20s


-- 
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-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org