You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Almost all certificates we have are managed by cert-manager and I want to build a Grafana dashboard using the Prometheus data source to list all ingresses that aren't managed by cert-manager.
Describe alternatives you've considered
List all ingresses using the kube_state_metrics kube_ingress_annotations metric that don't have a cert-manager annotation.
Describe the solution you'd like
Since the Certificate CRD resources are managed by cert-manager, I think a good way to provide more useful information for this type of monitoring would be to expose some new data about the Certificate CRD's (dnsNames, issuerRefName, secretName, etc) either by:
Exporting a new metric (something like certmanager_certificate_info) with this data
Adding this data into already existing metrics certmanager_certificate_expiration_timestamp_seconds, certmanager_certificate_renewal_timestamp_seconds, certmanager_certificate_ready_status
Additional context
If I had the secret name of the Certificate CRD into the cert-manager metrics, I could compare the kube_state_metrics kube_ingress_tls metric with the cert-manager metric and find out all the secrets that are referenced by a ingress and are NOT referenced by cert-manager (thus finding out all certificates that aren't managed by cert-manager).
I think exposing this data would be a great addition to the metrics exported by cert-manager and would be very useful to a lot of people.
Environment details (remove if not applicable):
Kubernetes version: v1.27.10
Cloud-provider/provisioner: Bare Metal
cert-manager version: v1.13.3
Install method: e.g. helm/static manifests: idk
/kind feature
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Almost all certificates we have are managed by cert-manager and I want to build a Grafana dashboard using the Prometheus data source to list all ingresses that aren't managed by cert-manager.
Describe alternatives you've considered
List all ingresses using the kube_state_metrics kube_ingress_annotations metric that don't have a cert-manager annotation.
Describe the solution you'd like
Since the Certificate CRD resources are managed by cert-manager, I think a good way to provide more useful information for this type of monitoring would be to expose some new data about the Certificate CRD's (dnsNames, issuerRefName, secretName, etc) either by:
certmanager_certificate_info
) with this datacertmanager_certificate_expiration_timestamp_seconds
,certmanager_certificate_renewal_timestamp_seconds
,certmanager_certificate_ready_status
Additional context
If I had the secret name of the Certificate CRD into the cert-manager metrics, I could compare the kube_state_metrics kube_ingress_tls metric with the cert-manager metric and find out all the secrets that are referenced by a ingress and are NOT referenced by cert-manager (thus finding out all certificates that aren't managed by cert-manager).
I think exposing this data would be a great addition to the metrics exported by cert-manager and would be very useful to a lot of people.
Environment details (remove if not applicable):
/kind feature
The text was updated successfully, but these errors were encountered: