diff --git a/cmd/telemetrygen/internal/metrics/metrics.go b/cmd/telemetrygen/internal/metrics/metrics.go index 6418f7228a95..e39ceaba6e7b 100644 --- a/cmd/telemetrygen/internal/metrics/metrics.go +++ b/cmd/telemetrygen/internal/metrics/metrics.go @@ -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)