Skip to content

Make sure the JavaScript SDKs only set sentry.message.template on logs if sentry.message.parameter values are also defined #17479

@AbhiPrasad

Description

@AbhiPrasad

ref getsentry/sentry-docs#14759

If there are no sentry.message.parameter.X attributes included in the log, then the SDK MUST NOT attach a sentry.message.template attribute. This is important because it reduces duplicate content in the log and makes PII processing in Sentry much easier as only we don’t have to duplicate processing between the log message and the sentry.message.template attribute.

Metadata

Metadata

Assignees

Labels

javascriptPull requests that update javascript code

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions