Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // CLILogger is used for CLI commands (SIMPLE profile) CLILogger *logging.Logger // ServerLogger is used for HTTP server (STRUCTURED profile) ServerLogger *logging.Logger )
View Source
var ( // TelemetrySystem is the global telemetry system TelemetrySystem *telemetry.System // PrometheusExporter is the prometheus metrics exporter PrometheusExporter *exporters.PrometheusExporter )
Functions ¶
func GetMetricsPort ¶
func GetMetricsPort() int
GetMetricsPort returns the port the Prometheus exporter is listening on
func InitCLILogger ¶
InitCLILogger initializes the CLI logger with SIMPLE profile
func InitMetrics ¶
InitMetrics initializes the telemetry system with Prometheus exporter. The exporter listens on the provided port (use 0 for random assignment). Optional namespace parameter for telemetry integration.
func InitServerLogger ¶
InitServerLogger initializes the server logger with STRUCTURED profile Optional namespace parameter for telemetry integration
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.