PayloadChunking.EstimateValueBytes(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Estimates the serialized byte size of a single attribute value in OTLP/HTTP JSON.
public static long EstimateValueBytes(object? value);
static member EstimateValueBytes : obj -> int64
Public Shared Function EstimateValueBytes (value As Object) As Long
Parameters
- value
- Object
The attribute value to estimate.
Returns
An over-estimate of the serialized size in bytes.