Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CustomMetricsPort int32 = 8989 OperatorMetricsAddr string = ":8443" )
Functions ¶
Types ¶
type Instrumenter ¶
Instrumenter is the interface that will collect the metrics and has ability to send/expose those metrics.
var MetricClient Instrumenter
type PromMetrics ¶
type PromMetrics struct {
// contains filtered or unexported fields
}
PromMetrics implements the instrumenter so the metrics can be managed by Prometheus.
func NewPrometheusMetrics ¶
func NewPrometheusMetrics(path string, mux *http.ServeMux, registry *prometheus.Registry) *PromMetrics
NewPrometheusMetrics returns a new PromMetrics object.
func (*PromMetrics) IncMongoReconcileError ¶
func (p *PromMetrics) IncMongoReconcileError(namespace string, name string)
Click to show internal directories.
Click to hide internal directories.