Skip to content

Commit

Permalink
Update cmd/telemetrygen/internal/metrics/worker.go
Browse files Browse the repository at this point in the history
Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com>
  • Loading branch information
marcelbirkner and mx-psi committed Sep 18, 2023
1 parent 5681037 commit 4e73213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/telemetrygen/internal/metrics/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (w worker) simulateMetrics(res *resource.Resource, exporter sdkmetric.Expor
Name: "gen",
Data: metricdata.Sum[int64]{
IsMonotonic: true,
Temporality: metricdata.DeltaTemporality,
Temporality: metricdata.CumulativeTemporality,
DataPoints: []metricdata.DataPoint[int64]{
{
StartTime: time.Now().Add(-1 * time.Second),
Expand Down

0 comments on commit 4e73213

Please sign in to comment.