Extensions on top of the OpenTracing APIs, following the OpenTracing Semantic Conventions spec.
After importing the library, see intellisense on ISpan
primarily.
SetXYZTags extensions that use the KnownTagNames
but strongly-typed. E.g. SetHttpTags(new Http(method: "Post", url: "example.com", statusCode: "500"))
LogXYZ extensions that use KnownLogFieldNames
(and KnownLogFieldValues
where applicable). E.g. LogError(exception)
which sets the event
and error.kind
/error.object
logs as the Conventions specify.