Skip to content

Commit dd536fd

Browse files
authored
docs(metrics): fix typos in exemplars section (#4289)
1 parent 6b82113 commit dd536fd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

specification/metrics/sdk.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ api.context.with(api.trace.setSpan(api.context.active(), span), () => {
10251025
Then an exemplar output in OTLP would consist of:
10261026

10271027
- The `value` of 1.
1028-
- The `time` when the `add` method was called
1028+
- The `time` when the `add` method was called.
10291029
- The `Attributes` of `{"Z": "z-value"}`, as these are not preserved in the
10301030
resulting metric point.
10311031
- The trace/span id for the `makeRequest` span.
@@ -1072,7 +1072,7 @@ An ExemplarFilter which makes all measurements eligible for being an Exemplar.
10721072
#### AlwaysOff
10731073

10741074
An ExemplarFilter which makes no measurements eligible for being an Exemplar.
1075-
Using this ExemplarFilter is as good as disabling Exemplar feature.
1075+
Using this ExemplarFilter is as good as disabling the Exemplar feature.
10761076

10771077
#### TraceBased
10781078

@@ -1151,7 +1151,7 @@ exemplars.
11511151

11521152
#### SimpleFixedSizeExemplarReservoir
11531153

1154-
This reservoir MUST use an uniformly-weighted sampling algorithm based on the
1154+
This reservoir MUST use a uniformly-weighted sampling algorithm based on the
11551155
number of samples the reservoir has seen so far to determine if the offered
11561156
measurements should be sampled. For example, the [simple reservoir sampling
11571157
algorithm](https://en.wikipedia.org/wiki/Reservoir_sampling) can be used:
@@ -1173,7 +1173,7 @@ count is reset every time the reservoir is collected.
11731173

11741174
This Exemplar reservoir MAY take a configuration parameter for the size of the
11751175
reservoir. If no size configuration is provided, the default size MAY be
1176-
the number of possible concurrent threads (e.g. numer of CPUs) to help reduce
1176+
the number of possible concurrent threads (e.g., number of CPUs) to help reduce
11771177
contention. Otherwise, a default size of `1` SHOULD be used.
11781178

11791179
#### AlignedHistogramBucketExemplarReservoir

0 commit comments

Comments
 (0)