Skip to content

Commit

Permalink
Remove other deprecated usages
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitryax committed Mar 30, 2022
1 parent e289bc9 commit e52bb60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/otlp/pb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func generateBenchmarkMetrics(metricsCount int) metrics.Metrics {
for i := 0; i < metricsCount; i++ {
im := ilm.Metrics().AppendEmpty()
im.SetName("test_name")
im.SetDataType(pdata.MetricDataTypeSum)
im.SetDataType(metrics.MetricDataTypeSum)
idp := im.Sum().DataPoints().AppendEmpty()
idp.SetStartTimestamp(startTime)
idp.SetTimestamp(endTime)
Expand Down

0 comments on commit e52bb60

Please sign in to comment.