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 15, 2023
1 parent 13455a7 commit 9c36dd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/telemetrygen/internal/metrics/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ func (w worker) simulateMetrics(res *resource.Resource, exporter sdkmetric.Expor
Temporality: metricdata.DeltaTemporality,
DataPoints: []metricdata.DataPoint[int64]{
{
StartTime: time.Now(),
Time: time.Now().Add(1 * time.Second),
StartTime: time.Now().Add(-1 * time.Second),
Time: time.Now(),
Value: i,
},
},
Expand Down

0 comments on commit 9c36dd8

Please sign in to comment.