Skip to content

Commit

Permalink
Cumulative temporality
Browse files Browse the repository at this point in the history
  • Loading branch information
shivanthzen committed Nov 13, 2024
1 parent c9f184f commit 404557c
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 @@ -91,7 +91,7 @@ func (w worker) simulateMetrics(res *resource.Resource, exporterFunc func() (sdk
metrics = append(metrics, metricdata.Metrics{
Name: w.metricName,
Data: metricdata.Histogram[int64]{
Temporality: metricdata.DeltaTemporality,
Temporality: metricdata.CumulativeTemporality,
DataPoints: []metricdata.HistogramDataPoint[int64]{
{
StartTime: time.Now().Add(-1 * time.Second),
Expand Down

0 comments on commit 404557c

Please sign in to comment.