promtail

package
v1.3.7 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_TIMEOUT_MS = 500

Variables

This section is empty.

Functions

func WithZerolog

func WithZerolog(params *WithPromtailParams) error

Types

type Config added in v1.0.2

type Config struct {
	App      string
	Host     string
	Username string
	Labels   string
	Enabled  bool
	Timeout  int
}

type WithPromtailParams

type WithPromtailParams struct {
	App               string
	Environment       string
	PromtailHost      string
	PromtailUsername  string
	PromtailPassword  string
	PromtailLabels    string
	PromtailEnabled   bool
	PromtailTimeoutMS int
}

func (WithPromtailParams) Validate

func (p WithPromtailParams) Validate() error

Jump to

Keyboard shortcuts

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