Back to godoc.org

Package globalmetrics

v0.0.0-...-1557bcf
Latest Go to latest

The latest major version is .

Published: Aug 13, 2020 | License: Apache-2.0 | Module: github.com/luci/luci-go

Overview

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

Index

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