luci: Index | Files

package globalmetrics

import ""

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


Package Files


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 12 packages (graph) and is imported by 1 packages. Updated 2021-01-26. Refresh now. Tools for package owners.