Code review feedback
Signed-off-by: irbekrm <irbekrm@gmail.com>
This commit is contained in:
parent
ccdb30e16b
commit
591fb3cfc9
@ -831,7 +831,7 @@ func runTest(t *testing.T, test testT) {
|
||||
|
||||
if test.fakeClient != nil {
|
||||
v.clientBuilder = func(namespace string, secretsLister corelisters.SecretLister,
|
||||
issuer cmapi.GenericIssuer, metrics *metrics.Metrics, _ logr.Logger) (client.Interface, error) {
|
||||
issuer cmapi.GenericIssuer, _ *metrics.Metrics, _ logr.Logger) (client.Interface, error) {
|
||||
return test.fakeClient, nil
|
||||
}
|
||||
}
|
||||
|
||||
@ -14,14 +14,6 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Package metrics contains global structures related to metrics collection
|
||||
// cert-manager exposes the following metrics:
|
||||
// certificate_expiration_timestamp_seconds{name, namespace}
|
||||
// certificate_renewal_timestamp_seconds{name, namespace}
|
||||
// certificate_ready_status{name, namespace, condition}
|
||||
// acme_client_request_count{"scheme", "host", "path", "method", "status"}
|
||||
// acme_client_request_duration_seconds{"scheme", "host", "path", "method", "status"}
|
||||
// controller_sync_call_count{"controller"}
|
||||
package metrics
|
||||
|
||||
import (
|
||||
|
||||
@ -14,14 +14,6 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Package metrics contains global structures related to metrics collection
|
||||
// cert-manager exposes the following metrics:
|
||||
// certificate_expiration_timestamp_seconds{name, namespace}
|
||||
// certificate_renewal_timestamp_seconds{name, namespace}
|
||||
// certificate_ready_status{name, namespace, condition}
|
||||
// acme_client_request_count{"scheme", "host", "path", "method", "status"}
|
||||
// acme_client_request_duration_seconds{"scheme", "host", "path", "method", "status"}
|
||||
// controller_sync_call_count{"controller"}
|
||||
package metrics
|
||||
|
||||
import (
|
||||
|
||||
@ -21,6 +21,7 @@ limitations under the License.
|
||||
// certificate_ready_status{name, namespace, condition}
|
||||
// acme_client_request_count{"scheme", "host", "path", "method", "status"}
|
||||
// acme_client_request_duration_seconds{"scheme", "host", "path", "method", "status"}
|
||||
// venafi_client_request_duration_seconds{"scheme", "host", "path", "method", "status"}
|
||||
// controller_sync_call_count{"controller"}
|
||||
package metrics
|
||||
|
||||
|
||||
@ -14,15 +14,6 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
// Package metrics contains global structures related to metrics collection
|
||||
// cert-manager exposes the following metrics:
|
||||
// certificate_expiration_timestamp_seconds{name, namespace}
|
||||
// certificate_renewal_timestamp_seconds{name, namespace}
|
||||
// certificate_ready_status{name, namespace, condition}
|
||||
// acme_client_request_count{"scheme", "host", "path", "method", "status"}
|
||||
// acme_client_request_duration_seconds{"scheme", "host", "path", "method", "status"}
|
||||
// venafi_client_request_duration_seconds{"scheme", "host", "path", "method", "status"}
|
||||
// controller_sync_call_count{"controller"}
|
||||
package metrics
|
||||
|
||||
import (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user