Closed jarvis120 closed 3 years ago
Are those logs complete? If so it's hitting this line:
https://github.com/joe-elliott/cert-exporter/blob/master/src/checkers/periodicSecretChecker.go#L111
but not this one:
https://github.com/joe-elliott/cert-exporter/blob/master/src/checkers/periodicSecretChecker.go#L128
which suggests that the secret is being dropped due to annotation filters.
Hey Thanks man, I was missing the annotation actually. Although I felt the basic doc need to get updated like how it works and what are the things the app is expecting like this annotation or labels Nice work man 👍
Hi, Hope you are doing well.
I am testing in a kubeadm k8s cluster with version 1.17.9. I have deployed the helm chart (https://github.com/joe-elliott/cert-exporter/tree/master/helm/cert-exporter) by editing the args for the container in the values.yaml as
I have prometheus operator up and running, so enabled the servicemonitor as well. Once its deployed in the prometheus I can only see the metrics of
cert_exporter_error_total
nothing else.when I hit the endpoint with /metrics I am getting like this only
I am also not able to see any metrics even though in the deployment pod logs I can see the app is reviewing every secret I have in different namespaces.
So the pods logs are like
Can you please assist me if something is wrong here, or did I missed any step, because I not able find rest of the 4 exported metrics as mentioned in the doc.