utils

package
v0.0.0-...-f7d0a5e Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2026 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Example of a daemon with echo service

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectMetrics

func CollectMetrics(gatherers []models.MetricsGatherer, logger logging.Logger, configuration *config.Config) *models.Metrics

func ConnectionDatabase

func ConnectionDatabase(configuration *config.Config, logger logging.Logger, DBname string) *sql.DB

func EnableEventsStatementsConsumers

func EnableEventsStatementsConsumers(configuration *config.Config, logger logging.Logger, uptime_str string)

func GetSampleCollectionStrategy

func GetSampleCollectionStrategy(configuration *config.Config, logger logging.Logger, uptime_str string)

func HandlePanic

func HandlePanic(configuration *config.Config, logger logging.Logger)

func IsPath

func IsPath(path string, logger logging.Logger) bool

func MapJoin

func MapJoin(map1, map2 models.MetricGroupValue) models.MetricGroupValue

func ProcessRepeaters

func ProcessRepeaters(metrics *models.Metrics, repeaters models.MetricsRepeater,
	configuration *config.Config, logger logging.Logger, Mode models.ModeType) interface{}

Types

This section is empty.

Jump to

Keyboard shortcuts

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