Vostok.Tracing.Hercules 0.1.9

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
.NET 6.0 .NET Standard 2.0
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Vostok.Tracing.Hercules --version 0.1.9
NuGet\Install-Package Vostok.Tracing.Hercules -Version 0.1.9
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Vostok.Tracing.Hercules" Version="0.1.9" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vostok.Tracing.Hercules --version 0.1.9
#r "nuget: Vostok.Tracing.Hercules, 0.1.9"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Vostok.Tracing.Hercules as a Cake Addin
#addin nuget:?package=Vostok.Tracing.Hercules&version=0.1.9

// Install Vostok.Tracing.Hercules as a Cake Tool
#tool nuget:?package=Vostok.Tracing.Hercules&version=0.1.9

Vostok.Tracing.Hercules

Build & Test & Publish NuGet

An implementation of trace span sender based on Hercules client. Also provides mapping from Hercules events back to spans.

Here's how ISpan instances are mapped into Hercules events (according to schema):

  • TraceId (mandatory) ---> traceId tag of UUID type.

  • SpanId (mandatory) ---> spanId tag of UUID type.

  • ParentSpanId (optional) ---> parentSpanId tag of UUID type.

  • BeginTimestamp (mandatory) corresponds to 2 tags:

    • beginTimestampUtc — a long tag that contains the UTC timestamp in 100-ns ticks from Unix epoch.
    • beginTimestampUtcOffset — a long tag with offset from UTC expressed in 100-ns ticks.
  • EndTimestamp (optional) also corresponds to 2 tags, both of which can be absent for 'endless' spans:

    • endTimestampUtc — a long tag that contains the UTC timestamp in 100-ns ticks from Unix epoch.
    • endTimestampUtcOffset — a long tag with offset from UTC expressed in 100-ns ticks.
  • Annotations dictionary corresponds to a container with name annotations. This container contains a tag for each pair. Keys are translated as-is, and the values are handled according to following conventions:

    • If the value is a primitive scalar or a vector of primitive scalars natively supported by Hercules (such as int, long, guid, string, etc), it's mapped as-is.
    • Otherwise the value gets converted to string: either stringified directly (if it properly overrides ToString()) or serialized to JSON. No further container-like structure is allowed, all values end up being 'flat'.

Hercules event's built-in timestamp is chosen equal to EndTimestampUtc or BeginTimestampUtc if former is missing.

Unix epoch used as a reference point for timestamp is 1970-01-01 00:00:00.000Z.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Vostok.Tracing.Hercules:

Package Downloads
Vostok.Hosting The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

The entry point to create and launch Vostok-compatible services.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.1.10-pre000045 35 3/22/2023
0.1.10-pre000044 83 3/16/2023
0.1.10-pre000043 72 3/16/2023
0.1.10-pre000042 35 3/16/2023
0.1.10-pre000040 38 3/16/2023
0.1.10-pre000039 1,596 9/28/2022
0.1.10-pre000038 305 9/14/2022
0.1.10-pre000031 301 7/28/2022
0.1.10-pre000030 203 6/2/2022
0.1.10-pre000026 133 12/24/2021
0.1.9 11,365 12/24/2021
0.1.9-pre000024 93 12/24/2021
0.1.8 187 12/24/2021
0.1.8-pre000022 99 12/20/2021
0.1.8-pre000021 348 12/8/2021
0.1.7 2,748 12/8/2021
0.1.7-pre000019 107 12/7/2021
0.1.6 345 12/6/2021
0.1.6-pre000017 110 12/4/2021
0.1.6-pre000016 105 12/3/2021
0.1.6-pre000015 110 12/3/2021
0.1.6-pre000014 108 11/27/2021
0.1.6-pre000013 102 11/27/2021
0.1.6-pre000012 1,473 11/26/2021
0.1.6-pre000011 6,115 11/24/2021
0.1.6-pre000010 5,812 11/23/2021
0.1.6-pre000008 108 11/23/2021
0.1.6-pre000007 141 11/18/2021
0.1.5 4,512 11/18/2021
0.1.5-pre000091 718 5/27/2021
0.1.5-pre000087 380 2/28/2021
0.1.5-pre000084 229 2/28/2021
0.1.5-pre000083 232 2/26/2021
0.1.5-pre000080 279 1/20/2021
0.1.4 42,259 1/20/2021
0.1.4-pre000045 1,798 8/12/2020
0.1.3 73,104 8/12/2020
0.1.3-pre000043 373 6/23/2020
0.1.2 45,554 6/23/2020
0.1.1-pre000028 855 3/20/2020
0.1.0 126,902 3/23/2019
0.0.1-pre000015 475 1/16/2019
0.0.1-pre000014 503 1/16/2019
0.0.1-pre000009 475 12/10/2018
0.0.1-pre000008 468 12/10/2018
0.0.1-pre000007 462 12/8/2018
0.0.1-pre000006 457 12/8/2018
0.0.1-pre000005 500 12/8/2018
0.0.1-pre000004 489 12/8/2018
0.0.1-pre000003 485 12/8/2018
0.0.1-pre000002 478 12/8/2018
0.0.1-pre000001 440 12/8/2018