Skip to content

Commit

Permalink
opentelemetry-instrumentation-flask: a bit more room on metrics tests
Browse files Browse the repository at this point in the history
Fix #2883
  • Loading branch information
xrmx committed Sep 23, 2024
1 parent 6fcfbd6 commit a4389fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ def test_flask_metrics_new_semconv(self):
if isinstance(point, HistogramDataPoint):
self.assertEqual(point.count, 3)
self.assertAlmostEqual(
duration_s, point.sum, places=2
duration_s, point.sum, places=1
)
histogram_data_point_seen = True
if isinstance(point, NumberDataPoint):
Expand Down

0 comments on commit a4389fa

Please sign in to comment.