opentelemetry

package
v0.0.0-...-321caff Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0, MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MemoryRequest = "256Mi"
	CpuRequest    = "500m"
	MemoryLimit   = "2048Mi"
	CpuLimit      = "750m"
)

Variables

View Source
var Replicas int32 = 1

Functions

func Config

func Config(cr *v1alpha1.Group) (*v1.ConfigMap, error)

func ConfigMutator

func ConfigMutator(cr *v1alpha1.Group, current *v1.ConfigMap) error

func ConfigSelector

func ConfigSelector(cr *v1alpha1.Group) client.ObjectKey

func Deployment

func Deployment(cr *v1alpha1.Group) *v1.Deployment

func DeploymentMutator

func DeploymentMutator(cr *v1alpha1.Group, current *v1.Deployment) error

func DeploymentSelector

func DeploymentSelector(cr *v1alpha1.Group) client.ObjectKey

func GetOtelConfigHash

func GetOtelConfigHash(cr *v1alpha1.Group) (string, error)

func GetOtelDeploymentConfigName

func GetOtelDeploymentConfigName(cr *v1alpha1.Group) string

func GetOtelDeploymentName

func GetOtelDeploymentName(cr *v1alpha1.Group) string

func GetOtelDeploymentSelector

func GetOtelDeploymentSelector(cr *v1alpha1.Group) map[string]string

func IngressRoute

func IngressRoute(cr *v1alpha1.Group) *traefik.IngressRoute

func IngressRouteMutator

func IngressRouteMutator(cr *v1alpha1.Group, current *traefik.IngressRoute) error

func JaegerIngressRoute

func JaegerIngressRoute(cr *v1alpha1.Group) *traefik.IngressRoute

func JaegerIngressRouteMutator

func JaegerIngressRouteMutator(cr *v1alpha1.Group, current *traefik.IngressRoute) error

func NewOtelConfigDefaults

func NewOtelConfigDefaults(cr *v1alpha1.Group) []byte

Default configuration for the opentelemetry collector

func Service

func Service(cr *v1alpha1.Group) *v1.Service

func ServiceAccount

func ServiceAccount(cr *v1alpha1.Group) *v1.ServiceAccount

func ServiceAccountMutator

func ServiceAccountMutator(cr *v1alpha1.Group, current *v1.ServiceAccount)

func ServiceAccountSelector

func ServiceAccountSelector(cr *v1alpha1.Group) client.ObjectKey

func ServiceMonitor

func ServiceMonitor(cr *v1alpha1.Group) *monitoring.ServiceMonitor

func ServiceMonitorMutator

func ServiceMonitorMutator(cr *v1alpha1.Group, current *monitoring.ServiceMonitor) error

func ServiceMonitorSelector

func ServiceMonitorSelector(cr *v1alpha1.Group) client.ObjectKey

func ServiceMutator

func ServiceMutator(cr *v1alpha1.Group, current *v1.Service) error

func ServiceSelector

func ServiceSelector(cr *v1alpha1.Group) client.ObjectKey

Types

This section is empty.

Jump to

Keyboard shortcuts

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