<PackageReference Include="Serilog.Sinks.OpenTelemetry" Version="4.2.0" />

Serilog.Sinks.OpenTelemetry.SemanticConventions

static class SemanticConventions
Well-known attribute names.
public const string AttributeExceptionMessage = "exception.message"

OpenTelemetry standard exception type attribute.

public const string AttributeExceptionStacktrace = "exception.stacktrace"

OpenTelemetry standard exception type attribute.

public const string AttributeExceptionType = "exception.type"

OpenTelemetry standard exception type attribute.

public const string AttributeMessageTemplateMD5Hash = "message_template.hash.md5"

A https://messagetemplates.org template, hashed using MD5 and encoded as a 128-bit hexadecimal value.

public const string AttributeMessageTemplateRenderings = "message_template.renderings"

If any placeholders in the message template use custom format specifiers, an array containing a pre-rendered string for each such token.

public const string AttributeMessageTemplateText = "message_template.text"

A https://messagetemplates.org template, as text. For example, the string Hello {Name}!.

public const string AttributeServiceName = "service.name"

OpenTelemetry standard service name resource attribute.

public const string AttributeTelemetrySdkLanguage = "telemetry.sdk.language"

OpenTelemetry standard SDK language attribute.

public const string AttributeTelemetrySdkName = "telemetry.sdk.name"

OpenTelemetry standard SDK name attribute.

public const string AttributeTelemetrySdkVersion = "telemetry.sdk.version"

OpenTelemetry standard SDK version attribute.