domain

package
v1.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceCollector

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

DeviceCollector implements NamedCollector and gathers device-related domain metrics.

func NewDeviceCollector

func NewDeviceCollector(ctx context.Context, store store.Store, log logrus.FieldLogger, cfg *config.Config) *DeviceCollector

NewDeviceCollector creates a DeviceCollector.

func (*DeviceCollector) Collect

func (c *DeviceCollector) Collect(ch chan<- prometheus.Metric)

func (*DeviceCollector) Describe

func (c *DeviceCollector) Describe(ch chan<- *prometheus.Desc)

type FleetCollector

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

FleetCollector implements NamedCollector and gathers fleet-related domain metrics.

func NewFleetCollector

func NewFleetCollector(ctx context.Context, store store.Store, log logrus.FieldLogger, cfg *config.Config) *FleetCollector

NewFleetCollector creates a FleetCollector.

func (*FleetCollector) Collect

func (c *FleetCollector) Collect(ch chan<- prometheus.Metric)

func (*FleetCollector) Describe

func (c *FleetCollector) Describe(ch chan<- *prometheus.Desc)

type RepositoryCollector

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

RepositoryCollector implements NamedCollector and gathers repository-related domain metrics.

func NewRepositoryCollector

func NewRepositoryCollector(ctx context.Context, store store.Store, log logrus.FieldLogger, cfg *config.Config) *RepositoryCollector

NewRepositoryCollector creates a RepositoryCollector.

func (*RepositoryCollector) Collect

func (c *RepositoryCollector) Collect(ch chan<- prometheus.Metric)

func (*RepositoryCollector) Describe

func (c *RepositoryCollector) Describe(ch chan<- *prometheus.Desc)

type ResourceSyncCollector

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

ResourceSyncCollector implements NamedCollector and gathers resourcesync-related domain metrics.

func NewResourceSyncCollector

func NewResourceSyncCollector(ctx context.Context, store store.Store, log logrus.FieldLogger, cfg *config.Config) *ResourceSyncCollector

NewResourceSyncCollector creates a ResourceSyncCollector.

func (*ResourceSyncCollector) Collect

func (c *ResourceSyncCollector) Collect(ch chan<- prometheus.Metric)

func (*ResourceSyncCollector) Describe

func (c *ResourceSyncCollector) Describe(ch chan<- *prometheus.Desc)

Jump to

Keyboard shortcuts

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