prometheus

package
v3.26.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Copyright 2022 Molecula Corp. (DBA FeatureBase). SPDX-License-Identifier: Apache-2.0

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