sbillet commented on a change in pull request #662: SOLR-12584: Describe 
getting Prometheus metrics from a secure Solr
URL: https://github.com/apache/lucene-solr/pull/662#discussion_r283150593
 
 

 ##########
 File path: 
solr/solr-ref-guide/src/monitoring-solr-with-prometheus-and-grafana.adoc
 ##########
 @@ -108,6 +108,38 @@ The number of seconds between collecting metrics from 
Solr. The `solr-exporter`
 
 The Solr's metrics exposed by `solr-exporter` can be seen at: 
`\http://localhost:9983/solr/admin/metrics`.
 
+=== Getting metrics from a secure Solr(Cloud)
+
+Your Solr(Cloud) might be secured by measures described in 
<<securing-solr.adoc#securing-solr,Securing Solr>>. The security configuration 
can be injected into `solr-exporter` using environment variables in a fashion 
similar to other clients using <<using-solrj.adoc#using-solrj,SolrJ>>. This is 
possible because the main script picks up two external environment variables 
and passes them on to the Java process:
+
+* `JAVA_OPTS` allows to add extra JVM options
+* `CLASSPATH_PREFIX` allows to add extra libraries
+
+Example for a SolrCloud instance secured by
+
+* <<basic-authentication-plugin.adoc#basic-authentication-plugin,Basic 
Authentication>>
 
 Review comment:
   fixed

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to