packages consist of the cross-cutting public interfaces used for instrumentation. • SDK • The SDK is the implementation of the API provided by the OpenTelemetry project. • Within an application, the SDK is installed and managed by the application owner. • Instrumentation authors MUST NOT directly reference any SDK package of any kind, only the API.
packages consist of the cross-cutting public interfaces used for instrumentation. • SDK • The SDK is the implementation of the API provided by the OpenTelemetry project. • Within an application, the SDK is installed and managed by the application owner. • Instrumentation authors MUST NOT directly reference any SDK package of any kind, only the API. NuGet のパッケージと 対応させると分かりやすい
OpenTelemetry.Api https://www.nuget.org/packages/OpenTelemetry.Api/ • The API only surfaces necessary abstractions to instrument an application/library. • SDK : OpenTelemetry https://www.nuget.org/packages/OpenTelemetry/ • OpenTelemetry SDK is a reference implementation of the OpenTelemetry API. • It implements the Tracing API, the Metrics API, and the Context API. • This SDK also supports ILogger integration.
OpenTelemetry.Api https://www.nuget.org/packages/OpenTelemetry.Api/ • The API only surfaces necessary abstractions to instrument an application/library. • SDK : OpenTelemetry https://www.nuget.org/packages/OpenTelemetry/ • OpenTelemetry SDK is a reference implementation of the OpenTelemetry API. • It implements the Tracing API, the Metrics API, and the Context API. • This SDK also supports ILogger integration. 要するに Xxx と Xxx.Abstractions で パッケージ分けるよくある構成
immutable representation of the entity producing telemetry as Attributes. [1] [1] https://opentelemetry.io/docs/specs/otel/resource/sdk/ [2] https://opentelemetry.io/docs/specs/otel/common/#attribute
immutable representation of the entity producing telemetry as Attributes. [1] [1] https://opentelemetry.io/docs/specs/otel/resource/sdk/ [2] https://opentelemetry.io/docs/specs/otel/common/#attribute An Attribute is a key-value pair [2]
A Resource is an immutable representation of the entity producing telemetry as Attributes. [1] [1] https://opentelemetry.io/docs/specs/otel/resource/sdk/ [2] https://opentelemetry.io/docs/specs/otel/common/#attribute An Attribute is a key-value pair [2]
Span 2 Span 4 Service A Service B Service C Trace HTTP W3C Trace Context W3C Trace Context のより詳細は以下のブログで。 【C#】ASP.NET Core と W3C Trace Context とお手軽ロギング。 https://blog.neno.dev/entry/2023/07/04/181843