Skip to content

Commit df7d828

Browse files
committed
formatting
1 parent ae0605a commit df7d828

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • dogstatsd-http-core/src/main/java/com/datadoghq/dogstatsd

dogstatsd-http-core/src/main/java/com/datadoghq/dogstatsd/Sketch.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ public long count() {
115115
* Builds the sketch from the given values.
116116
*
117117
* @param observations the observations to include in the sketch
118-
* @param sampleRate the sampling rate used to collect {@code observations}, in {@code (0, 1]}. Each
119-
* observation is weighted by {@code 1 / sampleRate} when accumulating counts and sums.
118+
* @param sampleRate the sampling rate used to collect {@code observations}, in {@code (0, 1]}.
119+
* Each observation is weighted by {@code 1 / sampleRate} when accumulating counts and sums.
120120
* Rates below ~1.08e-19 saturate the per-observation weight; bin counts and the total
121121
* {@code count} field saturate at {@link Long#MAX_VALUE} on overflow.
122122
*/
@@ -137,8 +137,8 @@ public void build(long[] observations, double sampleRate) {
137137
* Builds the sketch from the given values.
138138
*
139139
* @param observations the observations to include in the sketch
140-
* @param sampleRate the sampling rate used to collect {@code observations}, in {@code (0, 1]}. Each
141-
* observation is weighted by {@code 1 / sampleRate} when accumulating counts and sums.
140+
* @param sampleRate the sampling rate used to collect {@code observations}, in {@code (0, 1]}.
141+
* Each observation is weighted by {@code 1 / sampleRate} when accumulating counts and sums.
142142
* Rates below ~1.08e-19 saturate the per-observation weight; bin counts and the total
143143
* {@code count} field saturate at {@link Long#MAX_VALUE} on overflow.
144144
*/

0 commit comments

Comments
 (0)