-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat(dev/logs/metrics): Add sentry.timestamp.sequence definition to the logs and metrics specs
#16492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
feat(dev/logs/metrics): Add sentry.timestamp.sequence definition to the logs and metrics specs
#16492
Changes from all commits
55360da
2689a7f
c32061b
101230f
3db724f
578eb4d
28e1e47
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -2,14 +2,17 @@ | |||||
| title: Metrics | ||||||
| description: Counter, gauge, and distribution metrics sent as batched trace_metric envelope items. | ||||||
| spec_id: sdk/telemetry/metrics | ||||||
| spec_version: 2.5.0 | ||||||
| spec_version: 2.6.0 | ||||||
| spec_status: stable | ||||||
| spec_depends_on: | ||||||
| - id: sdk/foundations/transport/envelopes | ||||||
| version: ">=1.0.0" | ||||||
| - id: sdk/foundations/state-management/scopes/attributes | ||||||
| version: ">=1.0.0" | ||||||
| spec_changelog: | ||||||
| - version: 2.6.0 | ||||||
| date: 2026-02-06 | ||||||
|
||||||
| date: 2026-02-06 | |
| date: 2026-02-19 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| When sent, the sequence number **MUST**: | |
| When sent, the sequence integer **MUST**: |
Copilot
AI
Feb 25, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this full envelope example, the first metric item includes sentry.environment and sentry.release, but this item omits them even though they’re listed as default attributes (when defined) and would normally be consistent across metrics from the same SDK instance. Consider adding them here too, or removing them from the earlier item, so the example matches the spec rules.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would do this, or change them both to 'number', just so we are consistent.