Documentation
¶
Index ¶
Constants ¶
View Source
const (
MetricsNamespace = "etcd_kubernetes"
)
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Etcd ¶
type Etcd struct {
// contains filtered or unexported fields
}
func NewEtcd ¶
func NewEtcd(config EtcdConfig) (*Etcd, error)
NewEtcd exposes metrics about the number of k8s resources stored in etcd.
type EtcdConfig ¶
type EtcdConfig struct { Logger micrologger.Logger EtcdClientConfig *clientv3.Config EtcdPrefix string }
Click to show internal directories.
Click to hide internal directories.