type HealthcheckStatus … const Success … const Error … var healthcheck … var healthchecksTotal … func Register(registry k8smetrics.KubeRegistry) { … } func ResetHealthMetrics() { … } func ObserveHealthcheck(ctx context.Context, name string, healthcheckType string, status HealthcheckStatus) error { … }