Skip to content

Commit

Permalink
Exempt resources from attribute limits
Browse files Browse the repository at this point in the history
Resources are not susceptible to scenarios where excessive attributes
can be recorded unlike Spans. Resources are also immutable and it can be
hard for some SDKs to apply the limits at source at the time the
attributes are added to a resource. Furthermore, limits and Resources
both are generally defined and passed on to a TracerProvider which
forces a TracerProvider to either mutate the resource or generate a new
one with duplicate attributes in order to apply the limits to it.
  • Loading branch information
owais committed Aug 27, 2021
1 parent 60d089d commit cb50353
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions specification/common/common.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ general limit.

#### Exempt Entities

Resource attributes are exempt from the limits described above as resources
are not susceptible to the scenarios that result in excessive attributes count or size.

Attributes, which belong to Metrics, are exempt from the limits described above
at this time, as discussed in
[Metrics Attribute Limits](../metrics/sdk.md#attribute-limits).

0 comments on commit cb50353

Please sign in to comment.