Commit c77fd07
Recommend using a time-unbiased reservoir sampling algorithm for histograms (#4678)
Fixes
#4675
## Changes
Change the recommended algorithm for histogram reservoirs to be
time-unbiased.
I've left the previous algorithm as an option to ensure this change is
backwards-compatible.
Go prototype:
open-telemetry/opentelemetry-go#7458
* [x] Links to the prototypes (when adding or changing features)
* [x]
[`CHANGELOG.md`](https://github.com/open-telemetry/opentelemetry-specification/blob/main/CHANGELOG.md)
file updated for non-trivial changes
---------
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Carlos Alberto Cortez <calberto.cortez@gmail.com>1 parent 110aed2 commit c77fd07
2 files changed
+16
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1203 | 1203 | | |
1204 | 1204 | | |
1205 | 1205 | | |
| 1206 | + | |
1206 | 1207 | | |
1207 | 1208 | | |
1208 | 1209 | | |
| |||
1217 | 1218 | | |
1218 | 1219 | | |
1219 | 1220 | | |
1220 | | - | |
1221 | | - | |
1222 | | - | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
1223 | 1230 | | |
1224 | 1231 | | |
1225 | 1232 | | |
1226 | | - | |
| 1233 | + | |
| 1234 | + | |
1227 | 1235 | | |
1228 | 1236 | | |
| 1237 | + | |
1229 | 1238 | | |
1230 | 1239 | | |
1231 | 1240 | | |
| |||
0 commit comments