Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultMetricConfig = MetricConfig{ Timestamper: DefaultMetricTimestamperConfig, } )
View Source
var ( DefaultMetricTimestamperConfig = MetricTimestamperConfig{ OneWayDelayEstimatorMinInterval: 5 * time.Second, OneWayDelayEstimatorMaxBatch: 100, } )
Functions ¶
This section is empty.
Types ¶
type MetricConfig ¶
type MetricConfig struct {
Timestamper MetricTimestamperConfig `yaml:"timestamper_config,omitempty"`
}
type MetricTimestamper ¶
type MetricTimestamper struct {
// contains filtered or unexported fields
}
func NewMetricTimestamper ¶
func NewMetricTimestamper(params MetricTimestamperParams) *MetricTimestamper
func (*MetricTimestamper) Process ¶
func (m *MetricTimestamper) Process(batch *livekit.MetricsBatch)
type MetricTimestamperConfig ¶
type MetricTimestamperParams ¶
type MetricTimestamperParams struct { Config MetricTimestamperConfig Logger logger.Logger }
Click to show internal directories.
Click to hide internal directories.