snapshotprocessor

package
v1.29.1 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

README

Snapshot Processor

Supported pipelines: logs, metrics, traces

This processor saves OTLP payloads into snapshots that can be reported to BindPlane OP.

Configuration

The following options may be configured:

  • enabled (default: true): When true signals that snapshots are being taken of data passing through this processor. If false this processor acts as a no-op.
Example configuration
processors:
  snapshot:
    enabled: true

Documentation

Overview

Package snapshotprocessor collects metrics, traces, and logs for

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() processor.Factory

NewFactory creates a new ProcessorFactory with default configuration

Types

type Config

type Config struct {
	// Enable controls whether snapshots are collected
	Enabled bool `mapstructure:"enabled"`
}

Config is the configuration for the processor

func (Config) Validate

func (cfg Config) Validate() error

Validate validates the processor configuration

Jump to

Keyboard shortcuts

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