monitoring

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDockerLoggingConfig

func GetDockerLoggingConfig(monitoringConfig *types.MonitoringConfig) *dockerTypes.LogConfig

GetDockerLoggingConfig returns Docker logging driver configuration for monitoring

func GetInstrumentationEnv

func GetInstrumentationEnv(serviceName string, monitoringConfig *types.MonitoringConfig) map[string]string

GetInstrumentationEnv returns environment variables for monitoring instrumentation These will be automatically injected into all services

func GetMonitoringInfo

func GetMonitoringInfo(monitoringConfig *types.MonitoringConfig) string

GetMonitoringInfo returns a human-readable string about monitoring status

func GetServiceLabels

func GetServiceLabels(serviceName string, monitoringConfig *types.MonitoringConfig) map[string]string

GetServiceLabels returns Docker labels for monitoring

func IsMonitoringEnabled

func IsMonitoringEnabled(monitoringConfig *types.MonitoringConfig) bool

IsMonitoringEnabled checks if monitoring is enabled in config

Types

This section is empty.

Jump to

Keyboard shortcuts

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