-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
docs(spans): Create a dedicated attributes page #15557
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?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
| 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` |
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 will it default to milliseconds / byte /ratio? can relay infer what type of unit it is if none is provided?
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.
Relay will default to none if no unit was provided. SDKs will not send it though, so you just omit the unit property.
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.
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.
| - `integer[]` | ||
| - `double[]` |
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.
Reminder that we still have to figure out what should happen with mixed number arrays (integers and doubles). Not a blocker though.
Co-authored-by: Lukas Stracke <[email protected]>
|
I can add the API docs, but we have scopes, logs and metrics 😬 |
No description provided.