{"id":28503551,"url":"https://github.com/faisaltheparttimecoder/tanzu-certificate-exporter","last_synced_at":"2025-07-05T14:31:18.159Z","repository":{"id":55458951,"uuid":"260716318","full_name":"faisaltheparttimecoder/tanzu-certificate-exporter","owner":"faisaltheparttimecoder","description":"A Prometheus exporter that publishes cert expirations available from the opsman API from all foundatiion","archived":false,"fork":false,"pushed_at":"2020-12-29T12:51:08.000Z","size":2287,"stargazers_count":3,"open_issues_count":1,"forks_count":3,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-06-08T17:08:36.466Z","etag":null,"topics":["pivotal-ops-manager","prometheus-exporter","tanzu-application-service","tanzu-operations-manager"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/faisaltheparttimecoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-02T15:27:15.000Z","updated_at":"2024-09-06T05:21:37.000Z","dependencies_parsed_at":"2022-08-15T00:40:49.661Z","dependency_job_id":null,"html_url":"https://github.com/faisaltheparttimecoder/tanzu-certificate-exporter","commit_stats":null,"previous_names":["pivotal-gss/tanzu-certificate-exporter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/faisaltheparttimecoder/tanzu-certificate-exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faisaltheparttimecoder%2Ftanzu-certificate-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faisaltheparttimecoder%2Ftanzu-certificate-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faisaltheparttimecoder%2Ftanzu-certificate-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faisaltheparttimecoder%2Ftanzu-certificate-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/faisaltheparttimecoder","download_url":"https://codeload.github.com/faisaltheparttimecoder/tanzu-certificate-exporter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faisaltheparttimecoder%2Ftanzu-certificate-exporter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263755498,"owners_count":23506410,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pivotal-ops-manager","prometheus-exporter","tanzu-application-service","tanzu-operations-manager"],"created_at":"2025-06-08T17:08:40.790Z","updated_at":"2025-07-05T14:31:18.153Z","avatar_url":"https://github.com/faisaltheparttimecoder.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\nOn this specific exporter we take a look at visualization of certificates with respect to cloud foundry. The exporter uses the [vmware tanzu operations manager API](https://docs.pivotal.io/platform/2-8/security/pcf-infrastructure/managing-certificates.html) to get the cert information.\n\n**NOTE:** This exporter is highly inspired from [cert-exporter by joe-elliott](https://github.com/joe-elliott/cert-exporter).\n\n# Installation / Usage\n\nWe have created a dedicated doc on how to setup and install the exporter, please check out the [set of instruction provided on the doc](Install.md) that include both Cloud Foundry and Kubernetes deployments.\n\n# Dashboard\n\nAfter running vmware-tanzu-cert-exporter in your cluster it's easy to build a [custom dashboard](resources/Grafana.json) to expose information about the certs in your cluster. Follow the [guide](./Install.md) on how to set it up.\n\n##### Main Dashboard\n\n![home](resources/Dash1.png)\n\n##### Expanded Table\n\n![table](resources/Dash2.png)\n\n# Exported Metrics\n\nvmware-tanzu-cert-exporter exports the following metrics\n\n```\n# HELP vmware_tanzu_cert_exporter_cert_expires_in_seconds Number of seconds til the cert expires.\n# TYPE vmware_tanzu_cert_exporter_cert_expires_in_seconds gauge\nvmware_tanzu_cert_exporter_cert_expires_in_seconds{configurable=\"false\",env=\"env10\",is_ca=\"false\",issuer=\"\",location=\"credhub\",product_guid=\"cf-9c69d13d0df4b67292a9\",property_reference=\"\",valid_from=\"0001-01-01 00:00:00 +0000 UTC\",valid_until=\"2021-04-29 10:38:04 +0000 UTC\",variable_path=\"/p-bosh/cf-9c69d13d0df4b67292a9/diego-instance-identity-leaf-maestro\"} 3.125483989441466e+07\n# HELP vmware_tanzu_cert_exporter_error_total Cert Exporter Errors\n# TYPE vmware_tanzu_cert_exporter_error_total counter\nvmware_tanzu_cert_exporter_error_total 0\n```\n\nwhere\n\n+ **vmware_tanzu_cert_exporter_error_total**\n\n  The total number of unexpected errors encountered by vmware-tanzu-cert-exporter. A good metric to watch to feel comfortable certs are being exported properly.\n\n+ **vmware_tanzu_cert_exporter_cert_expires_in_seconds**\n\n  The number of seconds until a certificate stored in the PEM format is expired. The property reference, path and issuer label indicates the exported cert.\n\n# Customizing / Developing\n\nIf you wish to customize the code, follow the instruction as per the [doc](LocalSetup.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaisaltheparttimecoder%2Ftanzu-certificate-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaisaltheparttimecoder%2Ftanzu-certificate-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaisaltheparttimecoder%2Ftanzu-certificate-exporter/lists"}