Skip to contents

Forces immediate sending of any traces buffered in an OTLP exporter.

Usage

flush_otlp(exporter)

Arguments

exporter

An OTLP exporter created by otlp_exporter().

Value

Invisible NULL.

Examples

if (FALSE) { # \dontrun{
exp <- otlp_exporter(batch_size = 50L)
# ... export some traces ...
flush_otlp(exp)
} # }