generateW3cTraceparent abstract method

Future<String?> generateW3cTraceparent(
  1. String? traceId,
  2. String? spanId
)

Generates a W3C traceparent header for network span forwarding, or null if this has not been enabled. For iOS, it's required to pass in the spanId and traceId of the network span that is being forwarded. For Android, these parameters are ignored.

Implementation

Future<String?> generateW3cTraceparent(String? traceId, String? spanId);