plugins

package
v0.0.0-...-30fa5d1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExcludeV1Metrics

func ExcludeV1Metrics(metrics []intake.V1Metric, exclude Filters) []intake.V1Metric

ExcludeV1Metrics drops metrics according to one or more exclusion filters for their name

Types

type Filters

type Filters []*regexp.Regexp

Filters is a slice of exclusion filters

func GetFilters

func GetFilters(regexList []string) Filters

GetFilters populate a Filters object from a slice of regex strings

type Plugin

type Plugin interface {
	Start(*intake.PubSub)
}

Plugin is the interface provided by any plugin

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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