R/api.R
extract_http_context.RdThe return value can be used as the parent option when starting
a span.
extract_http_context(headers)And otel_span_context object.
hdr <- otel::pack_http_context()
ctx <- otel::extract_http_context()
ctx$is_valid()
#> [1] FALSE