<PackageReference Include="Azure.Monitor.OpenTelemetry.Exporter" Version="1.11.0-beta.1" />

Azure.Monitor.OpenTelemetry.Exporter.Internals.SchemaConstants

static class SchemaConstants
This class encapsulates constant values from the Azure Monitor Swagger and the Ingestion service data models . NOTE: Some of these max lengths are not defined in the Swagger. Must refer to the internal service repo.

public const int AvailabilityData_Id_MaxLength = 512

public const int AvailabilityData_Message_MaxLength = 8192

public const int AvailabilityData_Name_MaxLength = 1024

public const int DataPoint_Name_MaxLength = 1024

public const int DataPoint_Ns_MaxLength = 256

public const string Duration_MaxValue = "999.23:59:59.9999999"

public const int EventData_Measurements_MaxKeyLength = 150

public const int EventData_Name_MaxLength = 512

public const int EventData_Properties_MaxKeyLength = 150

public const int EventData_Properties_MaxValueLength = 8192

public const int ExceptionData_ProblemId_MaxLength = 1024

public const int ExceptionDetails_Message_MaxLength = 32768

public const int ExceptionDetails_Stack_MaxFrames = 100

public const int ExceptionDetails_Stack_MaxLength = 32768

public const int ExceptionDetails_TypeName_MaxLength = 1024

public const int GenAi_Messages_MaxValueLength = 4194304

Maximum value length for gen_ai.input.messages and gen_ai.output.messages (4 MiB) when the gen_ai_input_output_limit_increase experimental switch is enabled. These properties may carry multimodal content (e.g. base64-encoded images or audio).

public const int GenAi_Properties_MaxValueLength = 262144

Maximum value length for GenAI semantic convention properties (256 KiB). These properties may carry large payloads (e.g. full prompt/completion content) and are truncated to a higher limit than standard properties.

public const int KVP_MaxKeyLength = 150

public const int KVP_MaxValueLength = 8192

public const int MessageData_Message_MaxLength = 32768

public const int MessageData_Properties_MaxKeyLength = 150

public const int MessageData_Properties_MaxValueLength = 8192

public const int MetricsData_Properties_MaxKeyLength = 150

public const int MetricsData_Properties_MaxValueLength = 8192

public const int PageViewData_Duration_LessThanDays = 1000

public const int PageViewData_Id_MaxLength = 512

public const int PageViewData_Name_MaxLength = 1024

public const int PageViewData_Properties_MaxKeyLength = 150

public const int PageViewData_ReferredUri_MaxLength = 2048

public const int PageViewData_Url_MaxLength = 2048

public const int PageViewPerfData_Id_MaxLength = 512

public const int PageViewPerfData_Name_MaxLength = 1024

public const int PageViewPerfData_Url_MaxLength = 2048

public const int RemoteDependencyData_Data_MaxLength = 8192

public const int RemoteDependencyData_Id_MaxLength = 512

public const int RemoteDependencyData_Name_MaxLength = 1024

public const int RemoteDependencyData_Target_MaxLength = 1024

public const int RemoteDependencyData_Type_MaxLength = 1024

public const int RequestData_Id_MaxLength = 512

public const int RequestData_Name_MaxLength = 1024

public const int RequestData_Properties_MaxKeyLength = 150

public const int RequestData_Properties_MaxValueLength = 8192

public const int RequestData_ResponseCode_MaxLength = 1024

public const int RequestData_Source_MaxLength = 1024

public const int RequestData_Url_MaxLength = 2048

public const int StackFrame_Assembly_MaxLength = 1024

public const int StackFrame_FileName_MaxLength = 1024

public const int StackFrame_Method_MaxLength = 1024

public const int Tags_AiApplicationVer_MaxLength = 1024

public const int Tags_AiCloudRole_MaxLength = 256

public const int Tags_AiCloudRoleInstance_MaxLength = 256

public const int Tags_AiDeviceId_MaxLength = 1024

public const int Tags_AiDeviceModel_MaxLength = 256

public const int Tags_AiDeviceOsVersion_MaxLength = 256

public const int Tags_AiDeviceType_MaxLength = 64

public const int Tags_AiOperationId_MaxLength = 128

public const int Tags_AiOperationName_MaxLength = 1024

public const int Tags_AiOperationParentId_MaxLength = 512

public const int Tags_AiSessionId_MaxLength = 64

public const int Tags_AiUserAccountId_MaxLength = 1024

public const int Tags_AiUserAuthUserId_MaxLength = 1024

public const int Tags_AiUserId_MaxLength = 1024

public const int TelemetryEnvelope_Name_MaxLength = 1024

public const int TelemetryEnvelope_Seq_MaxLength = 64

public const int TelemetryEnvelope_Time_MaxLength = 64