globalmetrics

package
v0.0.0-...-a70aae3 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package globalmetrics reports metrics that are computationally heavy. There must be a single replica of globalmetrics server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitServer

func InitServer(srv *server.Server, opts Options)

InitServer initializes a backend server.

Types

type Options

type Options struct {
	// UpdateInterval is how often to update metrics.
	UpdateInterval time.Duration
}

Options is global metrics server configuration.

Jump to

Keyboard shortcuts

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