prometheus

package
v2.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPrometheusClient

func NewPrometheusClient(opts ...ClientOption) (*prometheusClient, error)

NewPrometheusClient returns a new instance of StatsClient.

Types

type ClientOption

type ClientOption func(c *prometheusClient)

ClientOption is a functional option type for prometheusClient

func OptClientNamespace

func OptClientNamespace(namespace string) ClientOption

OptClientPrefix is a functional option on prometheusClient used to set the namespace

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL