From 89c4a3ff4c9545576758218817cb799f405f49aa Mon Sep 17 00:00:00 2001 From: Marcel Birkner Date: Wed, 13 Sep 2023 14:51:04 +0200 Subject: [PATCH] Update metrics.go --- cmd/telemetrygen/internal/metrics/metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)