Extracts a span from a string-to-string map.
public ITraceSpan ExtractSpan(Func<string, string> extractKey)
parameter | description |
---|---|
extractKey | A Func that looks up a value given a string key. |
A new ITraceSpan
if one could be extracted successfully, or null
.