prometheus

package
v0.0.99 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmptyPrometheusExporterBuilderOption

type EmptyPrometheusExporterBuilderOption struct{}

EmptyPrometheusExporterBuilderOption does not alter the configuration. It can be embedded in another structure to build custom options.

This API is EXPERIMENTAL.

type PrometheusExporterBuilder

type PrometheusExporterBuilder struct {
	// contains filtered or unexported fields
}

func (*PrometheusExporterBuilder) ApplyOptions

func (*PrometheusExporterBuilder) Build

type PrometheusExporterBuilderOption

type PrometheusExporterBuilderOption interface {
	// contains filtered or unexported methods
}

A PrometheusExporterBuilderOption sets options.

func WithMetricUrlPath

func WithMetricUrlPath(url string) PrometheusExporterBuilderOption

type PrometheusExporterBuilderOptionFunc

type PrometheusExporterBuilderOptionFunc func(*PrometheusExporterBuilder)

PrometheusExporterBuilderOptionFunc wraps a function that modifies Client into an implementation of the PrometheusExporterBuilderOption interface.

type PrometheusExporterBuilderOptions

type PrometheusExporterBuilderOptions struct {
	Url string
}

Jump to

Keyboard shortcuts

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