lordgamez commented on code in PR #1587:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1587#discussion_r1263819486


##########
METRICS.md:
##########
@@ -108,6 +108,15 @@ An agent identifier should also be defined to identify 
which agent the metric is
 
     nifi.metrics.publisher.agent.identifier=Agent1
 
+### Configure Prometheus metrics publisher with SSL
+
+The communication between MiNiFi and the Prometheus server can be encrypted 
using SSL. This can be achieved by adding the SSL certificate path (a single 
file containing both the certificate and the SSL key) and optionally adding the 
root CA path when using a self signed certificate to the minifi.properties 
file. Here is an example with the SSL properties:

Review Comment:
   In this scenario the MiNiFi publishes the metrics and acts as a server 
(using a CivetWeb server in the implementation) that can be scraped for the 
metrics by the Prometheus server. So in this case the MiNiFi needs a self 
signed certificate, not the Prometheus server.



-- 
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]

Reply via email to