collectors

package
v0.68.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package collectors provides implementations of various observability collectors for workload clusters. This package contains different collector types including metrics, logs, traces, and events collectors that integrate with the Alloy agent framework.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CollectorService

type CollectorService interface {
	ReconcileCreate(ctx context.Context, cluster *clusterv1.Cluster, observabilityBundleVersion semver.Version, caBundle string, creds credential.BackendCredentials) error
	ReconcileDelete(ctx context.Context, cluster *clusterv1.Cluster) error
}

CollectorService is the common interface implemented by all Alloy collector services (metrics, logs, events). The controller uses this interface to reconcile all collectors uniformly without knowing which signal each one handles.

Credentials are resolved once by the controller and passed in, so the render path has no credential-store I/O and no notion of readiness.

Directories

Path Synopsis
Package events provides the events collector implementation for observability.
Package events provides the events collector implementation for observability.
Package logs provides the logs collector implementation for observability.
Package logs provides the logs collector implementation for observability.
Package metrics provides the metrics agent configuration and management.
Package metrics provides the metrics agent configuration and management.

Jump to

Keyboard shortcuts

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