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
Click to show internal directories.
Click to hide internal directories.