We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Collect clock_time_seconds metric from cert-manager
cert-manager v1.5+ exposes a `clock_time` metric which reports the current seconds since the Unix Epoch
See: https://github.com/jetstack/cert-manager/pull/4105

It would be useful to collect this metric in DataDog so we can alert on seconds until a given certificate expires


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `cert_manager/datadog_checks/cert_manager/metrics.py`
Content:
```
1 # (C) Datadog, Inc. 2019-present
2 # All rights reserved
3 # Licensed under a 3-clause BSD style license (see LICENSE)
4 
5 CERT_METRICS = {
6     'certmanager_certificate_ready_status': 'certificate.ready_status',
7     'certmanager_certificate_expiration_timestamp_seconds': 'certificate.expiration_timestamp',
8 }
9 
10 CONTROLLER_METRICS = {
11     'certmanager_controller_sync_call_count': 'controller.sync_call.count',
12 }
13 
14 ACME_METRICS = {
15     'certmanager_http_acme_client_request_count': 'http_acme_client.request.count',
16     'certmanager_http_acme_client_request_duration_seconds': 'http_acme_client.request.duration',
17 }
18
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/cert_manager/datadog_checks/cert_manager/metrics.py b/cert_manager/datadog_checks/cert_manager/metrics.py
--- a/cert_manager/datadog_checks/cert_manager/metrics.py
+++ b/cert_manager/datadog_checks/cert_manager/metrics.py
@@ -8,6 +8,7 @@
 }
 
 CONTROLLER_METRICS = {
+    'certmanager_clock_time_seconds': 'clock_time',
     'certmanager_controller_sync_call_count': 'controller.sync_call.count',
 }

{"golden_diff": "diff --git a/cert_manager/datadog_checks/cert_manager/metrics.py b/cert_manager/datadog_checks/cert_manager/metrics.py\n--- a/cert_manager/datadog_checks/cert_manager/metrics.py\n+++ b/cert_manager/datadog_checks/cert_manager/metrics.py\n@@ -8,6 +8,7 @@\n }\n \n CONTROLLER_METRICS = {\n+    'certmanager_clock_time_seconds': 'clock_time',\n     'certmanager_controller_sync_call_count': 'controller.sync_call.count',\n }\n", "issue": "Collect clock_time_seconds metric from cert-manager\ncert-manager v1.5+ exposes a `clock_time` metric which reports the current seconds since the Unix Epoch\r\nSee: https://github.com/jetstack/cert-manager/pull/4105\r\n\r\nIt would be useful to collect this metric in DataDog so we can alert on seconds until a given certificate expires\r\n\n", "before_files": [{"content": "# (C) Datadog, Inc. 2019-present\n# All rights reserved\n# Licensed under a 3-clause BSD style license (see LICENSE)\n\nCERT_METRICS = {\n    'certmanager_certificate_ready_status': 'certificate.ready_status',\n    'certmanager_certificate_expiration_timestamp_seconds': 'certificate.expiration_timestamp',\n}\n\nCONTROLLER_METRICS = {\n    'certmanager_controller_sync_call_count': 'controller.sync_call.count',\n}\n\nACME_METRICS = {\n    'certmanager_http_acme_client_request_count': 'http_acme_client.request.count',\n    'certmanager_http_acme_client_request_duration_seconds': 'http_acme_client.request.duration',\n}\n", "path": "cert_manager/datadog_checks/cert_manager/metrics.py"}], "after_files": [{"content": "# (C) Datadog, Inc. 2019-present\n# All rights reserved\n# Licensed under a 3-clause BSD style license (see LICENSE)\n\nCERT_METRICS = {\n    'certmanager_certificate_ready_status': 'certificate.ready_status',\n    'certmanager_certificate_expiration_timestamp_seconds': 'certificate.expiration_timestamp',\n}\n\nCONTROLLER_METRICS = {\n    'certmanager_clock_time_seconds': 'clock_time',\n    'certmanager_controller_sync_call_count': 'controller.sync_call.count',\n}\n\nACME_METRICS = {\n    'certmanager_http_acme_client_request_count': 'http_acme_client.request.count',\n    'certmanager_http_acme_client_request_duration_seconds': 'http_acme_client.request.duration',\n}\n", "path": "cert_manager/datadog_checks/cert_manager/metrics.py"}]}