Skip to content

Commit

Permalink
Update metrics.go
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelbirkner authored Sep 13, 2023
1 parent 407b67a commit 89c4a3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/telemetrygen/internal/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func Run(c *Config, exp sdkmetric.Exporter, logger *zap.Logger) error {
index: i,
}

go w.simulateMetrics(res, exp)
go w.simulateMetrics(res, exp, c.GetAttributes())
}
if c.TotalDuration > 0 {
time.Sleep(c.TotalDuration)
Expand Down

0 comments on commit 89c4a3f

Please sign in to comment.