Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ReleaseDesc *prometheus.Desc = prometheus.NewDesc( prometheus.BuildFQName(namespace, subsystem, "status"), "Metric about the status of a Release.", []string{ labelName, labelState, labelReady, labelInUse, }, nil, ) )
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type ReleaseCollector ¶
type ReleaseCollector struct {
// contains filtered or unexported fields
}
func NewReleaseCollector ¶
func NewReleaseCollector(config ReleaseCollectorConfig) (*ReleaseCollector, error)
func (*ReleaseCollector) Collect ¶
func (r *ReleaseCollector) Collect(ch chan<- prometheus.Metric) error
func (*ReleaseCollector) Describe ¶
func (r *ReleaseCollector) Describe(ch chan<- *prometheus.Desc) error
type ReleaseCollectorConfig ¶
type ReleaseCollectorConfig struct { K8sClient k8sclient.Interface Logger micrologger.Logger }
Click to show internal directories.
Click to hide internal directories.