luci: go.chromium.org/luci/resultdb/internal/services/globalmetrics Index | Files

package globalmetrics

import "go.chromium.org/luci/resultdb/internal/services/globalmetrics"

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

Index

Package Files

metrics.go

func InitServer Uses

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

InitServer initializes a backend server.

type Options Uses

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

Options is global metrics server configuration.

Package globalmetrics imports 11 packages (graph) and is imported by 1 packages. Updated 2020-07-07. Refresh now. Tools for package owners.