globalmetrics

package
v0.0.0-...-4a11b79 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: Apache-2.0 Imports: 12 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