Add reflector and workqueue metrics
@@ -12,8 +12,9 @@ import (
"github.com/openshift/origin/pkg/cmd/openshift-apiserver/openshiftapiserver"
"github.com/openshift/origin/pkg/cmd/util"
- // for metrics
- _ "k8s.io/kubernetes/pkg/client/metrics/prometheus"
+ _ "k8s.io/kubernetes/pkg/client/metrics/prometheus" // for client metric registration
+ _ "k8s.io/kubernetes/pkg/util/reflector/prometheus" // for reflector metric registration
+ _ "k8s.io/kubernetes/pkg/util/workqueue/prometheus" // for workqueue metric registration
)
// default this to true so that the integration tests don't instantly break
