Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 834 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 834 Bytes

NuGet

OpenTracing-SemanticConventions

Extensions on top of the OpenTracing APIs, following the OpenTracing Semantic Conventions spec.

Usage

After importing the library, see intellisense on ISpan primarily.

Tags

SetXYZTags extensions that use the KnownTagNames but strongly-typed. E.g. SetHttpTags(new Http(method: "Post", url: "example.com", statusCode: "500"))

Logs

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.