Skip to content

Conversation

@cleptric
Copy link
Member

No description provided.

@vercel
Copy link

vercel bot commented Nov 19, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
develop-docs Ready Ready Preview Comment Nov 19, 2025 3:52pm
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
sentry-docs Ignored Ignored Preview Nov 19, 2025 3:52pm

Comment on lines 55 to 90
Defaults to `millisecond`.

- `nanosecond`
- `microsecond`
- `millisecond`
- `second`
- `minute`
- `hour`
- `day`
- `week`

### Information Units

Defaults to `byte`.

- `bit`
- `byte`
- `kilobyte`
- `kibibyte`
- `megabyte`
- `mebibyte`
- `gigabyte`
- `gibibyte`
- `terabyte`
- `tebibyte`
- `petabyte`
- `pebibyte`
- `exabyte`
- `exbibyte`

### Fraction Units

Defaults to `ratio`.

- `ratio`
- `percent`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when will it default to milliseconds / byte /ratio? can relay infer what type of unit it is if none is provided?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Relay will default to none if no unit was provided. SDKs will not send it though, so you just omit the unit property.

Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to confirm: The intention of this doc is primarily to describe how storing attributes works (and by the extend of it, how SDKs should send them), correct? We'll intentionally define the APIs to set and interact with them in other pages.

Comment on lines +44 to +45
- `integer[]`
- `double[]`
Copy link
Member

@Lms24 Lms24 Nov 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reminder that we still have to figure out what should happen with mixed number arrays (integers and doubles). Not a blocker though.

@cleptric
Copy link
Member Author

I can add the API docs, but we have scopes, logs and metrics 😬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants