# Functions
New creates a new stage for the given type and configuration.
NewCRI creates a CRI format specific pipeline stage.
NewDocker creates a Docker json log format specific pipeline stage.
NewPipeline creates a new log entry pipeline from a configuration.
RunWith will reads from the input channel entries, mutate them with the process function and returns them via the output channel.
RunWithSkip same as RunWith, except it skip sending it to output channel, if `process` functions returns `skip` true.
RunWithSkiporSendMany same as RunWithSkip, except it can either skip sending it to output channel, if `process` functions returns `skip` true.
Sanitize a input string to convert it into a valid prometheus label TODO: switch to prometheus/prometheus/util/strutil/SanitizeFullLabelName.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Config Errors.
Config Errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Config Errors.
Config Errors.
ErrEmptyLabelAllowStageConfig error returned if config is empty.
ErrEmptyLabelDropStageConfig error returned if config is empty.
No description provided by the author
Config Errors.
Config Errors.
No description provided by the author
No description provided by the author
Config Errors.
Config Errors.
Config Errors.
Config Errors.
Config Errors.
No description provided by the author
ErrEmptyStaticLabelStageConfig error returned if config is empty.
Config Errors.
No description provided by the author
Config Errors.
Config Errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Config Errors.
Config Errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Config Errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Config Errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Max buffer size to hold partial lines.
No description provided by the author
No description provided by the author
No description provided by the author
80bytes per rate.Limiter ~ 1MiB memory.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Deprecated.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
Debug is used to wrap debug log statements, the go-kit logger won't let us introspect the current log level so this global is used for that purpose.
Inspect is used to debug promtail pipelines by showing diffs between pipeline stages.
No description provided by the author
# Structs
CriConfig contains the configuration for the cri stage.
DropConfig contains the configuration for a dropStage.
No description provided by the author
No description provided by the author
GeoIPConfig represents GeoIP stage config.
JSONConfig represents a JSON Stage configuration.
No description provided by the author
LogfmtConfig represents a logfmt Stage configuration.
MatcherConfig contains the configuration for a matcherStage.
MetricConfig is a single metrics configuration.
MultilineConfig contains the configuration for a multilineStage.
OutputConfig configures output value extraction.
PackConfig contains the configuration for a packStage.
No description provided by the author
Pipeline pass down a log entry to each stage for mutation and/or label extraction.
RegexConfig contains a regexStage configuration.
ReplaceConfig contains a regexStage configuration.
SamplingConfig contains the configuration for a samplingStage.
No description provided by the author
No description provided by the author
TemplateConfig configures template value extraction.
No description provided by the author
TimestampConfig configures timestamp extraction.
# Type aliases
No description provided by the author
labelallowConfig is a slice of labels to be included.
LabelDropConfig is a slice of labels to be dropped.
LabelsConfig is a set of labels to be extracted.
MetricsConfig is a set of configured metrics.
PipelineStage contains configuration for a single pipeline stage.
PipelineStages contains configuration for each stage within a pipeline.
StaticLabelConfig is a slice of static-labels to be included.