collectors

package
v2.24.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustRegisterAddonCollector

func MustRegisterAddonCollector(registry prometheus.Registerer, client ctrlruntimeclient.Reader)

MustRegisterAddonCollector registers the addon collector at the given prometheus registry.

func MustRegisterClusterBackupCollector added in v2.21.0

func MustRegisterClusterBackupCollector(
	registry prometheus.Registerer,
	client ctrlruntimeclient.Reader,
	logger *zap.SugaredLogger,
	caBundle *certificates.CABundle,
	seedGetter provider.SeedGetter,
)

MustRegisterClusterBackupCollector registers the cluster backup collector.

func MustRegisterClusterCollector

func MustRegisterClusterCollector(registry prometheus.Registerer, client ctrlruntimeclient.Reader)

MustRegisterClusterCollector registers the cluster collector at the given prometheus registry.

func MustRegisterExternalClusterCollector added in v2.21.0

func MustRegisterExternalClusterCollector(registry prometheus.Registerer, client ctrlruntimeclient.Reader)

MustRegisterExternalClusterCollector registers the cluster collector at the given prometheus registry.

func MustRegisterProjectCollector added in v2.21.0

func MustRegisterProjectCollector(registry prometheus.Registerer, client ctrlruntimeclient.Reader)

MustRegisterProjectCollector registers the project collector at the given prometheus registry.

func MustRegisterS3Collector added in v2.21.0

func MustRegisterS3Collector(minioClient *minio.Client, client ctrlruntimeclient.Reader, bucket string, logger *zap.SugaredLogger)

MustRegisterS3Collector registers the S3 collector.

func MustRegisterSeedCollector added in v2.23.0

func MustRegisterSeedCollector(registry prometheus.Registerer, client ctrlruntimeclient.Reader)

MustRegisterSeedCollector registers the seed collector at the given prometheus registry.

Types

type AddonCollector

type AddonCollector struct {
	// contains filtered or unexported fields
}

AddonCollector exports metrics for addon resources.

func (AddonCollector) Collect

func (cc AddonCollector) Collect(ch chan<- prometheus.Metric)

Collect gets called by prometheus to collect the metrics.

func (AddonCollector) Describe

func (cc AddonCollector) Describe(ch chan<- *prometheus.Desc)

Describe returns the metrics descriptors.

type ClusterCollector

type ClusterCollector struct {
	// contains filtered or unexported fields
}

ClusterCollector exports metrics for cluster resources.

func (ClusterCollector) Collect

func (cc ClusterCollector) Collect(ch chan<- prometheus.Metric)

Collect gets called by prometheus to collect the metrics.

func (ClusterCollector) Describe

func (cc ClusterCollector) Describe(ch chan<- *prometheus.Desc)

Describe returns the metrics descriptors.

type ExternalClusterCollector added in v2.21.0

type ExternalClusterCollector struct {
	// contains filtered or unexported fields
}

ExternalClusterCollector exports metrics for external cluster resources.

func (ExternalClusterCollector) Collect added in v2.21.0

func (cc ExternalClusterCollector) Collect(ch chan<- prometheus.Metric)

Collect gets called by prometheus to collect the metrics.

func (ExternalClusterCollector) Describe added in v2.21.0

func (cc ExternalClusterCollector) Describe(ch chan<- *prometheus.Desc)

Describe returns the metrics descriptors.

type ProjectCollector added in v2.21.0

type ProjectCollector struct {
	// contains filtered or unexported fields
}

ProjectCollector exports metrics for project resources.

func (ProjectCollector) Collect added in v2.21.0

func (cc ProjectCollector) Collect(ch chan<- prometheus.Metric)

Collect gets called by prometheus to collect the metrics.

func (ProjectCollector) Describe added in v2.21.0

func (cc ProjectCollector) Describe(ch chan<- *prometheus.Desc)

Describe returns the metrics descriptors.

type SeedCollector added in v2.23.0

type SeedCollector struct {
	// contains filtered or unexported fields
}

SeedCollector exports metrics for seed resources.

func (SeedCollector) Collect added in v2.23.0

func (cc SeedCollector) Collect(ch chan<- prometheus.Metric)

Collect gets called by prometheus to collect the metrics.

func (SeedCollector) Describe added in v2.23.0

func (cc SeedCollector) Describe(ch chan<- *prometheus.Desc)

Describe returns the metrics descriptors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL