client

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSimpleClient

func NewSimpleClient(host, username, password string, opts ...Option) (*promClient, error)

Types

type Option

type Option interface {
	// contains filtered or unexported methods
}

func WithStaticLabels

func WithStaticLabels(labels map[string]interface{}) Option

func WithStreamConverter

func WithStreamConverter(converter promtail.StreamConverter) Option

func WithWriteTimeout added in v0.1.0

func WithWriteTimeout(ms int) Option

Jump to

Keyboard shortcuts

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