weblog

package
v0.57.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: GPL-3.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chart

type Chart = module.Chart

type Charts

type Charts = module.Charts

type Config added in v0.11.0

type Config struct {
	Parser              logs.ParserConfig    `yaml:",inline"`
	Path                string               `yaml:"path"`
	ExcludePath         string               `yaml:"exclude_path"`
	URLPatterns         []userPattern        `yaml:"url_patterns"`
	CustomFields        []customField        `yaml:"custom_fields"`
	CustomTimeFields    []customTimeField    `yaml:"custom_time_fields"`
	CustomNumericFields []customNumericField `yaml:"custom_numeric_fields"`
	Histogram           []float64            `yaml:"histogram"`
	GroupRespCodes      bool                 `yaml:"group_response_codes"`
}

type Dim

type Dim = module.Dim

type Dims

type Dims = module.Dims

type WebLog

type WebLog struct {
	module.Base
	Config `yaml:",inline"`
	// contains filtered or unexported fields
}

func New

func New() *WebLog

func (*WebLog) Charts

func (w *WebLog) Charts() *module.Charts

func (*WebLog) Check

func (w *WebLog) Check() bool

func (*WebLog) Cleanup

func (w *WebLog) Cleanup()

func (*WebLog) Collect

func (w *WebLog) Collect() map[string]int64

func (*WebLog) Init

func (w *WebLog) Init() bool

Jump to

Keyboard shortcuts

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