prometheus

package
v1.0.0-dev.145 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAnyErrorMiddlewareWithOptions

func NewAnyErrorMiddlewareWithOptions(options *Options) middleware.AnyErrorMiddleware[[]publisher.PublishOutput]

Types

type Options

type Options struct {
	PushGateway struct {
		Enabled bool
		URL     string `config:"url"`
		Async   bool
	}
}

func NewOptions

func NewOptions() (*Options, error)

type Prometheus

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

func NewPrometheus

func NewPrometheus() (*Prometheus, error)

func NewPrometheusWithOptions

func NewPrometheusWithOptions(options *Options) *Prometheus

Jump to

Keyboard shortcuts

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