statsprocessor

package module
v0.74.1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 License: Apache-2.0 Imports: 1 Imported by: 3

Documentation

Overview

Package statsprocessor contains interfaces to process OTel traces and output stats

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OtelStatsWriter added in v0.56.0

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

OtelStatsWriter implements the trace-agent's `stats.Writer` interface via an `out` channel This provides backwards compatibility for otel components that do not yet use the latest agent version where these channels have been dropped

func NewOtelStatsWriter added in v0.56.0

func NewOtelStatsWriter(out chan *pb.StatsPayload) *OtelStatsWriter

NewOtelStatsWriter makes an OtelStatsWriter that writes to the given `out` chan

func (*OtelStatsWriter) Write added in v0.56.0

func (a *OtelStatsWriter) Write(payload *pb.StatsPayload)

Write this payload to the `out` channel

Jump to

Keyboard shortcuts

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