Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Spanmetrics] - Add exemplars to Sum metrics #28671

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
use assert.greater
  • Loading branch information
aishyandapalli committed Oct 31, 2023
commit 8969b1d3f8b103356dd44d3e80ff104d3f2babb9
2 changes: 1 addition & 1 deletion connector/spanmetricsconnector/connector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1342,7 +1342,7 @@ func TestExemplarsForSumMetrics(t *testing.T) {
dps := metric.Sum().DataPoints()
for dpi := 0; dpi < dps.Len(); dpi++ {
dp := dps.At(dpi)
assert.True(t, dp.Exemplars().Len() > 0)
assert.Greater(t, dp.Exemplars().Len(), 0)
}
}
}
Expand Down