Skip to content

Commit

Permalink
Fix last feedback, allow this to be a class or not
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
  • Loading branch information
bogdandrutu committed Feb 10, 2021
1 parent c02a488 commit 7503ba7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions specification/trace/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,10 +307,10 @@ It the SDK implements the limits above it MUST provide a way to change these
limits, via a configuration to the TracerProvider, by allowing users to
configure individual limits like in the Java example bellow.

The name of the configuration class MAY be `SpanLimits`, and the
name of the properties SHOULD be `AttributeCountLimit`, `EventCountLimit` and
`LinkCountLimit`. Implementations MAY provide additional configuration such as
`AttributePerEventCountLimit` and `AttributePerLinkCountLimit`.
The name of the configuration options SHOULD be `AttributeCountLimit`,
`EventCountLimit` and `LinkCountLimit`. The options MAY be bundled in a class,
which then SHOULD be called `SpanLimits`. Implementations MAY provide additional
configuration such as `AttributePerEventCountLimit` and `AttributePerLinkCountLimit`.

```java
public final class SpanLimits {
Expand Down

0 comments on commit 7503ba7

Please sign in to comment.