otelcolresources

package
v0.0.0-...-bd0b855 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	OtlpGrpcHostPort = 40317
	OtlpHttpHostPort = 40318
)

Variables

This section is empty.

Functions

func CollectorDaemonSetServiceComponent

func CollectorDaemonSetServiceComponent() string

exposing this const for the configuration of the target-allocator

func DaemonSetClusterRoleBindingName

func DaemonSetClusterRoleBindingName(namePrefix string) string

func DaemonSetClusterRoleName

func DaemonSetClusterRoleName(namePrefix string) string

func DaemonSetCollectorConfigConfigMapName

func DaemonSetCollectorConfigConfigMapName(namePrefix string) string

func DaemonSetName

func DaemonSetName(namePrefix string) string

func DeploymentClusterRoleBindingName

func DeploymentClusterRoleBindingName(namePrefix string) string

func DeploymentClusterRoleName

func DeploymentClusterRoleName(namePrefix string) string

func DeploymentCollectorConfigConfigMapName

func DeploymentCollectorConfigConfigMapName(namePrefix string) string

func DeploymentName

func DeploymentName(namePrefix string) string

func FilelogReceiverOffsetsConfigMapName

func FilelogReceiverOffsetsConfigMapName(namePrefix string) string

func ServiceName

func ServiceName(namePrefix string) string

func WithProbeHandler

func WithProbeHandler(probe corev1.Probe) *corev1.Probe

Types

type KubeletStatsReceiverConfig

type KubeletStatsReceiverConfig struct {
	Enabled            bool
	Endpoint           string
	AuthType           string
	InsecureSkipVerify bool
}

type NamespacedFilter

type NamespacedFilter struct {
	Namespace string
	dash0common.Filter
}

type NamespacedTransform

type NamespacedTransform struct {
	Namespace string
	Transform dash0common.NormalizedTransformSpec
}

type OTelColResourceManager

type OTelColResourceManager struct {
	client.Client
	// contains filtered or unexported fields
}

func NewOTelColResourceManager

func NewOTelColResourceManager(
	k8sClient client.Client,
	scheme *runtime.Scheme,
	operatorManagerDeployment *appsv1.Deployment,
	collectorConfig util.CollectorConfig,
) *OTelColResourceManager

func (*OTelColResourceManager) CreateOrUpdateOpenTelemetryCollectorResources

func (m *OTelColResourceManager) CreateOrUpdateOpenTelemetryCollectorResources(
	ctx context.Context,
	extraConfig util.ExtraConfig,
	operatorConfigurationResource *dash0v1alpha1.Dash0OperatorConfiguration,
	allMonitoringResources []dash0v1beta1.Dash0Monitoring,
	logger logr.Logger,
) (bool, bool, error)

func (*OTelColResourceManager) DeleteResources

func (m *OTelColResourceManager) DeleteResources(
	ctx context.Context,
	extraConfig util.ExtraConfig,
	logger logr.Logger,
) (bool, error)

type TargetAllocatorMtlsConfig

type TargetAllocatorMtlsConfig struct {
	Enabled              bool
	ClientCertSecretName string
}

Jump to

Keyboard shortcuts

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