![]() |
VOOZH | about |
dotnet add package Vostok.Tracing.Abstractions --version 0.1.9
NuGet\Install-Package Vostok.Tracing.Abstractions -Version 0.1.9
<PackageReference Include="Vostok.Tracing.Abstractions" Version="0.1.9" />
<PackageVersion Include="Vostok.Tracing.Abstractions" Version="0.1.9" />Directory.Packages.props
<PackageReference Include="Vostok.Tracing.Abstractions" />Project file
paket add Vostok.Tracing.Abstractions --version 0.1.9
#r "nuget: Vostok.Tracing.Abstractions, 0.1.9"
#:package Vostok.Tracing.Abstractions@0.1.9
#addin nuget:?package=Vostok.Tracing.Abstractions&version=0.1.9Install as a Cake Addin
#tool nuget:?package=Vostok.Tracing.Abstractions&version=0.1.9Install as a Cake Tool
👁 Build & Test & Publish
👁 NuGet
Distributed tracing allows to reconstruct the history of the logical operation spanning many applications and machines in time as a tree of smaller actions or events called spans. Spans can represent HTTP requests, database queries or any other significant interactions or events in a distributed system. A single span always describes a local event in a single process: an HTTP request usually produces two spans (client-side and server-side). Each kind of span stores specific information about performed action.
<br/>
<br/>
Every span consists of following fields:
TraceId — unique identifier of the trace containing the span (Guid).
SpanId — unique identifier of the span itself (Guid).
ParentSpanId — identifier of the parent span in the tree (Guid).
BeginTimestamp — beginning timestamp of the event or interaction described by this span (UTC timestamp + timezone offset).
EndTimestamp — ending timestamp of the event or interaction described by this span (UTC timestamp + timezone offset).
BeginTimestamp. This allows to derive span duration as a difference between EndTimestamp and BeginTimestamp.Annotations — payload in key-value format (string --> object). Keys are case-sensitive.
<br/>
These are the annotations relevant for any span:
| Name | Description |
|---|---|
kind |
Span kind. There are a number of predefined span kinds for common use cases (e.g. http-request-server). |
operation |
Human-readable logical operation or event name (e.g. create-user). |
status |
Logical operation or event status (success, error, or warning). Might not have operation-specific values. |
application |
Name of the application the span originated from. |
environment |
Name of the environment the span originated from. |
host |
DNS name of the host the span originated from. |
component |
Name of a library or component in code responsible for producing the span. |
<br/> <br/>
Common annotations for all spans related to HTTP requests:
| Name | Description | Default value |
|---|---|---|
operation |
See common annotations. | {http.request.method} {normalized http.request.url}. Example: POST /page/{num}/process |
http.request.method |
Request method (e.g. GET, POST, PUT, etc). |
N/A |
http.request.url |
Request URL without query parameters. | N/A |
http.request.size |
Request body size in bytes. | N/A |
http.response.code |
Response code (e.g. 200 or 404). |
N/A |
http.response.size |
Response body size in bytes. | N/A |
Normalized URL is a short URL without scheme, authority and query parameters. Unique path segments (entity ids, search queries, hex values) are replaced with placeholders. Example before and after normalization: http://vm-app1/users/a534bcbd/ --> users/{id}
<br/>
Submitting an HTTP request directly to an external URL or a service replica.
| Name | Description | Default value |
|---|---|---|
kind |
See common annotations. | http-request-client |
http.request.targetService |
Name of the service to which request is sent. | N/A |
http.request.targetEnvironment |
Name of the environment to which request is sent. | N/A |
<br/>
Submitting an HTTP request to a clustered application with several replicas.
| Name | Description | Default value |
|---|---|---|
kind |
See common annotations. | http-request-cluster |
http.cluster.strategy |
Name of the strategy used to send request (e.g. sequential, parallel, ...) |
N/A |
http.cluster.status |
Status of interaction with a cluster (e.g. success, no-replicas, ...) |
N/A |
http.request.targetService |
Name of the service to which request is sent. | N/A |
http.request.targetEnvironment |
Name of the environment to which request is sent. | N/A |
<br/>
Handling an HTTP request on server.
| Name | Description | Default value |
|---|---|---|
kind |
See common annotations. | http-request-server |
http.client.name |
Name of the client application that sent the request. | N/A |
http.client.address |
Address of the client application instance (host name or IP address). | N/A |
<br/> <br/>
Common annotations for all spans related to custom requests:
| Name | Description | Default value |
|---|---|---|
operation |
See common annotations. | N/A |
status |
See common annotations. | N/A |
custom.response.status |
Custom request-specific status. | N/A |
custom.request.size |
Request size in bytes. | N/A |
custom.response.size |
Response size in bytes. | N/A |
custom.request.targetService |
Name of the service to which request is sent. | N/A |
custom.request.targetEnvironment |
Name of the environment to which request is sent. | N/A |
<br/>
Submitting custom request directly to a service replica.
| Name | Description | Default value |
|---|---|---|
kind |
See common annotations. | custom-request-client |
custom.request.replica |
Name of the replica to which request is sent. | N/A |
<br/>
Submitting custom request to a clustered application with several replicas.
| Name | Description | Default value |
|---|---|---|
kind |
See common annotations. | custom-request-cluster |
<br/> <br/>
Performing custom server operation.
| Name | Description | Default value |
|---|---|---|
kind |
See common annotations. | custom-operation |
operation |
See common annotations. | N/A |
status |
See common annotations. | N/A |
custom.operation.status |
Custom operation-specific status. | N/A |
custom.operation.size |
Processed data size in bytes. | N/A |
custom.operation.targetService |
Name of the service with which this operation is associated. | {application} |
custom.operation.targetEnvironment |
Name of the environment with which this operation is associated. | {environment} |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 is compatible. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on Vostok.Tracing.Abstractions:
| Package | Downloads |
|---|---|
|
Vostok.Tracing.Extensions
This library contains a set of extensions for common case scenarios (such as HTTP request tracing). |
|
|
Vostok.Tracing.Hercules
An implementation of trace span sender based on Hercules client. Also provides mapping from Hercules events back to spans. |
|
|
Vostok.Hosting
The entry point to create and launch Vostok-compatible services. |
|
|
Vostok.Tracing
This library contains an implementation of core tracing interface (ITracer). |
|
|
Vostok.ClusterClient.Tracing
Distributed tracing module for ClusterClient. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.9 | 148,745 | 12/9/2024 |
| 0.1.8-pre000021 | 11,235 | 9/14/2022 |
| 0.1.8-pre000020 | 23,610 | 7/28/2022 |
| 0.1.8-pre000019 | 3,150 | 3/28/2022 |
| 0.1.8-pre000018 | 377 | 12/30/2021 |
| 0.1.8-pre000017 | 375 | 12/30/2021 |
| 0.1.7 | 250,250 | 12/30/2021 |
| 0.1.7-pre000015 | 381 | 12/30/2021 |
| 0.1.7-pre000013 | 394 | 12/20/2021 |
| 0.1.7-pre000012 | 377 | 12/7/2021 |
| 0.1.6 | 132,655 | 12/7/2021 |
| 0.1.6-pre000010 | 382 | 12/6/2021 |
| 0.1.5 | 4,125 | 12/6/2021 |
| 0.1.5-pre000008 | 377 | 12/4/2021 |
| 0.1.5-pre000007 | 370 | 12/3/2021 |
| 0.1.5-pre000006 | 361 | 12/3/2021 |
| 0.1.5-pre000005 | 385 | 11/30/2021 |
| 0.1.5-pre000004 | 2,982 | 11/25/2021 |
| 0.1.5-pre000003 | 6,314 | 11/24/2021 |
| 0.1.5-pre000002 | 384 | 11/23/2021 |