How to export Prometheus metrics to an external system over HTTPS?
Issue:
Configuring RemoteWrite as per:
https://docs.uipath.com/automation-suite/automation-suite/2023.10/installation-guide/external-monitoring-tools#exporting-prometheus-metrics-to-an-external-system
prometheusSpec:
remoteWrite:
- url: https://reciver-uipath:443/api/v1/receive
Error received on the Prometheus pod:
ts=2025-03-10T09:28:12.628Z caller=dedupe.go:112 component=remote level=warn remote_name=578c0a url=https://reciver-uipath:443/api/v1/receive msg="Failed to send batch, retrying" err="Post \"https://reciver-uipath:443/api/v1/receive\": tls: failed to verify certificate: x509: certificate signed by unknown authority"
Resolution:
TLS certificate skipping can be configured using the following settings:
prometheusSpec:
remoteWrite:
- url: https://reciver-uipath:443/api/v1/receive
tlsConfig:
insecureSkipVerify: true
If obtaining the certificate is not feasible, the workaround outlined below can be utilized:
-
Create a secret in cattle-monitoring-system namespace containing the CA certificate:


