Skip to content

Commit 812b8e4

Browse files
committed
Update expected p90 values
1 parent cbf9ede commit 812b8e4

File tree

2 files changed

+3
-19
lines changed

2 files changed

+3
-19
lines changed

test/histograms/histograms_to_cw_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ func (t *OtlpHistogramTestRunner) validateHistogramMetric(metricName string) []s
167167
},
168168
{
169169
stat: "p90",
170-
value: 5,
170+
value: 2.0,
171171
},
172172
},
173173
"my.cumulative.histogram": {
@@ -193,7 +193,7 @@ func (t *OtlpHistogramTestRunner) validateHistogramMetric(metricName string) []s
193193
},
194194
{
195195
stat: "p90",
196-
value: 5,
196+
value: 2.0,
197197
},
198198
},
199199
"my.delta.exponential.histogram": {
@@ -245,7 +245,7 @@ func (t *OtlpHistogramTestRunner) validateHistogramMetric(metricName string) []s
245245
},
246246
{
247247
stat: "p90",
248-
value: 5,
248+
value: 5.95,
249249
},
250250
},
251251
}

test/histograms/histograms_to_emf_test.go

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,6 @@ func TestOTLPMetrics(t *testing.T) {
7878
stat: types.StatisticSampleCount,
7979
value: 12, // we send Count=2 six times in one minute
8080
},
81-
{
82-
stat: "p90",
83-
value: 5,
84-
},
8581
},
8682
},
8783
{
@@ -124,10 +120,6 @@ func TestOTLPMetrics(t *testing.T) {
124120
stat: types.StatisticSampleCount,
125121
value: 12, // we send Count=2 six times in one minute
126122
},
127-
{
128-
stat: "p90",
129-
value: 5,
130-
},
131123
},
132124
},
133125
{
@@ -170,10 +162,6 @@ func TestOTLPMetrics(t *testing.T) {
170162
stat: types.StatisticSampleCount,
171163
value: 18, // we send Count=3 six times in one minute
172164
},
173-
{
174-
stat: "p90",
175-
value: 5,
176-
},
177165
},
178166
},
179167
{
@@ -216,10 +204,6 @@ func TestOTLPMetrics(t *testing.T) {
216204
stat: types.StatisticSampleCount,
217205
value: 12, // we send Count=2 six times in one minute
218206
},
219-
{
220-
stat: "p90",
221-
value: 5,
222-
},
223207
},
224208
},
225209
}

0 commit comments

Comments
 (0)