Open clintonb opened 1 month ago
We could dxpose zapcore.EncoderConfig. You can override messageKey then.
Ultimately the collectors telemetry will follow OpenTelemetry Semantic conversions. Those haven't yet been decided for the collector, but the conversation has started.
Is your feature request related to a problem? Please describe.
Datadog and Google use the
message
attribute as the main body of the log message. This value is used for basic search and log tailing.Usage of the
msg
attribute by the collector makes log spelunking a bit tedious.Describe the solution you'd like
There are a few options:
message
attribute.message
andmsg
attributes.