Hi, I am trying to configure remoteWrite in kube-prometheus-stack helm chart. The values.yaml file of helm chart contains this -
remoteWrite: - url: "https://prometheus-prod-10-prod-us-central-0.grafana.net/api/prom/push" basicAuth: username: XXXXXX password: "<token>"
After installing the chart I get this error in prometheus operator pod - “caller=stdlib.go:105 caller=server.go:3158 msg="http: TLS handshake error from SomeNodeIP:SomePort: remote error: tls: bad certificate” and no data is getting sent out.
I’ve tried to push metrics to my on premise cortex cluster but still getting the same error.