Skip to content

Commit c35358a

Browse files
committed
Make sentry.message.parameter singular matching otel conventions
1 parent 021d442 commit c35358a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

develop-docs/sdk/telemetry/logs.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ The internal SDK implementation is kept purposefully broad as we are still in ea
267267
By default the SDK should set the following attributes:
268268

269269
1. `sentry.message.template`: The parameterized template string
270-
2. `sentry.message.parameters.X`: The parameters to the template string, where X is the number that represent the parameters position in the template string
270+
2. `sentry.message.parameter.X`: The parameters to the template string, where X is the number that represent the parameters position in the template string
271271
3. `sentry.environment`: The environment set in the SDK
272272
4. `sentry.release`: The release set in the SDK
273273
5. `sentry.trace.parent_span_id`: The span id of the span that was active when the log was collected. This should not be set if there was no active span.
@@ -277,8 +277,8 @@ Example:
277277
```json
278278
{
279279
"sentry.message.template": "Adding item %s for user %s",
280-
"sentry.message.parameters.0": "item_id",
281-
"sentry.message.parameters.1": "user_id",
280+
"sentry.message.parameter.0": "item_id",
281+
"sentry.message.parameter.1": "user_id",
282282
"sentry.environment": "production",
283283
"sentry.release": "1.0.0",
284284
"sentry.trace.parent_span_id": "b0e6f15b45c36b12"

0 commit comments

Comments
 (0)