prometheus

package
v0.0.0-...-b47f399 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: GPL-3.0 Imports: 6 Imported by: 1

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