You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm observing similar issue and found this thread gets closed. Is there any suggestion except from explicitly setting the CustomFields? We don't want to expand our custom dimensions into a lot of columns in Geneva, so we'd prefer leveraging env_properties to collect them together into 1 column. However, We found that DateTime could not be serialized properly in the same fashion as this issue has described.
Issue with OpenTelemetry.Exporter.Geneva
List of all OpenTelemetry NuGet
packages and version that you are
using (e.g.
OpenTelemetry 1.3.2
):Runtime version (e.g.
net462
,net48
,net6.0
,net7.0
etc. You canfind this information from the
*.csproj
file):Is this a feature request or a bug?
What is the expected behavior?
Proper serialization of DateTime if not in custom fields. (part of env_properties)
What is the actual behavior?
Output is
EXT(type:-1,size:12)
Additional Context
DateTime serialization works as expected if using custom columns but doesn't work if using env_properties.
Consider
logger.LogInformation("Test {body}", DateTime.UtcNow);
This works if using
But doesn't if using
The text was updated successfully, but these errors were encountered: