Documentation
¶
Overview ¶
Package livedebuggingconsumer implements an OpenTelemetry Collector consumer which can be used to send live debugging data to Alloy UI.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTextLogsMarshaler ¶
NewTextLogsMarshaler returns a plog.Marshaler to encode to OTLP text bytes.
func NewTextMetricsMarshaler ¶
NewTextMetricsMarshaler returns a pmetric.Marshaler to encode to OTLP text bytes.
func NewTextTracesMarshaler ¶
NewTextTracesMarshaler returns a ptrace.Marshaler to encode to OTLP text bytes.
Types ¶
type Consumer ¶
type Consumer struct {
// contains filtered or unexported fields
}
func New ¶
func New(debugDataPublisher livedebugging.DebugDataPublisher, componentID string) *Consumer
func (*Consumer) Capabilities ¶
func (c *Consumer) Capabilities() otelconsumer.Capabilities
Capabilities implements otelcol.Consumer.
func (*Consumer) ConsumeLogs ¶
ConsumeLogs implements otelcol.ConsumeLogs.
func (*Consumer) ConsumeMetrics ¶
ConsumeMetrics implements otelcol.ConsumeMetrics.
Click to show internal directories.
Click to hide internal directories.