prometheus

package
v0.0.0-...-370076f Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

README

prometheus plugin can send log into prometheus

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Prometheus

type Prometheus struct {
	Server *http.Server
	Tags   map[string]string
}

func NewPrometheus

func NewPrometheus(addr, path string, tags map[string]string) *Prometheus

func (*Prometheus) ListenAndServe

func (p *Prometheus) ListenAndServe() error

func (*Prometheus) Shutdown

func (p *Prometheus) Shutdown() error

func (*Prometheus) TouchBrook

func (p *Prometheus) TouchBrook()

Jump to

Keyboard shortcuts

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