opentracing-c
OpenTracing C API
|
inject() carrier for a custom format. More...
#include <opentracing-c/propagation.h>
Data Fields | |
opentracing_destructible | base |
Base class member. More... | |
opentracing_propagation_error_code(* | inject )(struct opentracing_custom_carrier_writer *writer, const struct opentracing_tracer *tracer, const opentracing_span_context *span_context) OPENTRACINGC_NONNULL_ALL |
Inject a span context into a custom format. More... | |
![]() | |
void(* | destroy )(struct opentracing_destructible *destructible) OPENTRACINGC_NONNULL_ALL |
Destructor to clean up any resources allocated to the instance. More... | |
inject() carrier for a custom format.
With it, the caller can encode an opentracing_span_context for propagation as entries in a custom protocol.
opentracing_destructible opentracing_custom_carrier_writer::base |
Base class member.
opentracing_propagation_error_code(* opentracing_custom_carrier_writer::inject) (struct opentracing_custom_carrier_writer *writer, const struct opentracing_tracer *tracer, const opentracing_span_context *span_context) OPENTRACINGC_NONNULL_ALL |
Inject a span context into a custom format.
writer | Writer instance. |
tracer | Tracer instance. |
span_context | Span context to encode. |