hs-opentelemetry-sdk-0.0.3.1: OpenTelemetry SDK for use in applications.
Copyright(c) Ian Duncan 2021
LicenseBSD-3
MaintainerIan Duncan
Stabilityexperimental
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

OpenTelemetry.Processor.Batch

Description

This is an implementation of the Span Processor which create batches of finished spans and passes the export-friendly span data representations to the configured Exporter.

Synopsis

Documentation

data BatchTimeoutConfig Source #

Configurable options for batch exporting frequence and size

Constructors

BatchTimeoutConfig 

Fields

batchTimeoutConfig :: BatchTimeoutConfig Source #

Default configuration values

batchProcessor :: MonadIO m => BatchTimeoutConfig -> Exporter ImmutableSpan -> m Processor Source #

The batch processor accepts spans and places them into batches. Batching helps better compress the data and reduce the number of outgoing connections required to transmit the data. This processor supports both size and time based batching.