lsmintervalprocessor

package module
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2025 License: Apache-2.0 Imports: 22 Imported by: 1

README

LSM interval processor

Interval processor rewrite with db-backed persistence.

See https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33949 for discussion on implementing persistence for upstream interval processor.

Documentation

Overview

package lsmintervalprocessor implements a processor which aggregates metrics over time, backed by db for persistence, and periodically exports the latest values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() processor.Factory

NewFactory returns a new factory for the Metrics Generation processor.

Types

type Processor

type Processor struct {
	// contains filtered or unexported fields
}

func (*Processor) Capabilities

func (p *Processor) Capabilities() consumer.Capabilities

func (*Processor) ConsumeMetrics

func (p *Processor) ConsumeMetrics(ctx context.Context, md pmetric.Metrics) error

func (*Processor) Shutdown

func (p *Processor) Shutdown(ctx context.Context) error

func (*Processor) Start

func (p *Processor) Start(ctx context.Context, host component.Host) error

Directories

Path Synopsis
internal
data/expo
Package expo implements various operations on exponential histograms and their bucket counts
Package expo implements various operations on exponential histograms and their bucket counts
identity
identity types for metrics and sample streams.
identity types for metrics and sample streams.

Jump to

Keyboard shortcuts

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