Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProducerStats ¶
type ProducerStats struct { MetricsBatchesProduced uint64 LogsBatchesProduced uint64 TracesBatchesProduced uint64 StreamProducersCreated uint64 StreamProducersClosed uint64 RecordBuilderStats RecordBuilderStats SchemaStatsEnabled bool }
ProducerStats is a struct that contains stats about the OTLP Arrow Producer.
func NewProducerStats ¶
func NewProducerStats() *ProducerStats
NewProducerStats creates a new ProducerStats struct.
func (*ProducerStats) GetAndReset ¶
func (s *ProducerStats) GetAndReset() ProducerStats
GetAndReset returns the current stats and resets them to zero.
func (*ProducerStats) Show ¶
func (s *ProducerStats) Show(indent string)
Show prints the stats to the console.
type RecordBuilderStats ¶
type RecordBuilderStats struct { SchemaUpdatesPerformed uint64 DictionaryIndexTypeChanged uint64 DictionaryOverflowDetected uint64 }
func (*RecordBuilderStats) Reset ¶
func (s *RecordBuilderStats) Reset()
Reset sets all stats to zero.
func (*RecordBuilderStats) Show ¶
func (s *RecordBuilderStats) Show(indent string)
Show prints the RecordBuilder stats to the console.
Click to show internal directories.
Click to hide internal directories.