prometheus

package
v4.0.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFileName

func GetFileName(serviceName string) string

func StopWatchingTargets

func StopWatchingTargets()

func WatchTargets

func WatchTargets(ctx context.Context, serviceName string) error

Types

type Handler

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

func NewHandler

func NewHandler() *Handler

func (*Handler) HTTPHandler

func (h *Handler) HTTPHandler() http.Handler

type PromTargets

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

func ProcessesAsTargets

func ProcessesAsTargets(ctx context.Context, reg registry.Registry) *PromTargets

func (*PromTargets) ToJson

func (p *PromTargets) ToJson() ([]byte, error)

Jump to

Keyboard shortcuts

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