globalmetrics

package
v0.0.0-...-51f9457 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: Apache-2.0 Imports: 8 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