Back to

Package globalmetrics

Latest Go to latest

The latest major version is .

Published: Aug 13, 2020 | License: Apache-2.0 | Module:


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


func InitServer

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

InitServer initializes a backend server.

type Options

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

Options is global metrics server configuration.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier