client

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// 30 minutes
	METRICS_DAEMON_LOOP_DELAY_MS       uint32 = 30 * 60 * 1000
	METRICS_DAEMON_LOOP_DELAY_DURATION        = time.Duration(METRICS_DAEMON_LOOP_DELAY_MS)
)

Functions

func RunMetricsDaemonTaskLoop

func RunMetricsDaemonTaskLoop(
	ctx context.Context,
	logger log.Logger,
)

RunMetricsDaemonTaskLoop contains the logic to emit metrics about the application running.

func Start

func Start(
	ctx context.Context,
	logger log.Logger,
)

Start begins a job that periodically: 1) Emits metrics about app version and git commit.

Types

This section is empty.

Jump to

Keyboard shortcuts

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