prome

package module
v0.0.0-...-38d933c Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultPushInterval = 60 * time.Second
)

Variables

View Source
var (
	PromeStdLogger stdLogger
	DefaultBuckets = []float64{5, 10, 15, 20, 30, 40, 50, 60, 70, 80, 90, 100, 120, 150, 200, 250, 300, 350, 400, 450, 500, 600, 700, 800, 1000, 1500, 2000, 2500, 3000, 4000, 5000, 6000, 7000, 8000, 10000, 20000, 30000}
)

Functions

func GetHostName

func GetHostName() string

func InitPromethues

func InitPromethues(Url string, pushInterval time.Duration, jobName string, client *http.Client, cs ...prometheus.Collector)

Types

type PushScheduler

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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