Skip to content

Commit 24ec67a

Browse files
committed
minor corrections to span metric details
1 parent d78510f commit 24ec67a

File tree

1 file changed

+2
-2
lines changed
  • docs/platforms/javascript/common/tracing/span-metrics

1 file changed

+2
-2
lines changed

docs/platforms/javascript/common/tracing/span-metrics/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ When adding metrics as span attributes:
4141

4242
- Use consistent naming conventions (for example, `category.metric_name`)
4343
- Keep attribute names concise but descriptive
44-
- Use appropriate data types (string, number, boolean, or (non-mixed) arrays of these types)
44+
- Use appropriate data types (string, number, boolean, or an array containing only one of these types)
4545

4646
## Creating Dedicated Metric Spans
4747

48-
For more detailed operations, task, or process tracking, you can create custom dedicated spans that focus on specific metrics or attributes that you want to track. This approach provides better discoverability and more precise span configurations, however it can also appear to create more noise in your trace waterfall.
48+
For more detailed operations, tasks, or process tracking, you can create custom dedicated spans that focus on specific metrics or attributes that you want to track. This approach provides better discoverability and more precise span configurations, however it can also create more noise in your trace waterfall.
4949

5050
```javascript
5151
Sentry.startSpan(

0 commit comments

Comments
 (0)