prometheus

package
v1.0.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: MPL-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PromGroupsClient

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

type Updater

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

func RunPromUpdaterAsync

func RunPromUpdaterAsync(hostName string, logTrace bool) (*Updater, error)

func (*Updater) ApplyConfig

func (u *Updater) ApplyConfig(cfg *config.Config)

func (*Updater) ApplyConfigFromJournal

func (u *Updater) ApplyConfigFromJournal(configString string, version int64)

func (*Updater) HandleGetTargets

func (u *Updater) HandleGetTargets(_ context.Context, hctx *rpc.HandlerContext, args tlstatshouse.GetTargets2Bytes) (err error)

func (*Updater) UpdateGroups

func (u *Updater) UpdateGroups(m map[string][]*targetgroup.Group, sendToAll bool)

Jump to

Keyboard shortcuts

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