pusher

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectAndEncode

func CollectAndEncode(logger log.Logger, jobLabel string, labels map[string]string) []byte

func Push

func Push(client *remote.Client, data []byte) error

Push metric to a remote write url

Types

type Pusher

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

func Setup

func Setup() (p *Pusher)

func (*Pusher) Run

func (p *Pusher) Run()

Jump to

Keyboard shortcuts

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