Skip to content

Commit

Permalink
add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Boten committed Jul 14, 2021
1 parent 7dfb281 commit 74be1c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/testdata/metric.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@ func GeneratMetricsAllTypesWithSampleDatapoints() pdata.Metrics {
}

func initCounterIntMetric(im pdata.Metric) {
// TODO: this is currently setting a float value, once
// Sum supports setting either Int or Double, ensure this test
// is updated to set an Int value.
initMetric(im, TestCounterIntMetricName, pdata.MetricDataTypeSum)

idps := im.Sum().DataPoints()
Expand Down

0 comments on commit 74be1c4

Please sign in to comment.