From 37dbfdcb797c1999371dd1acc7b3fe706ff5c56a Mon Sep 17 00:00:00 2001 From: Mahad Zaryab Date: Sat, 21 Sep 2024 15:48:35 -0400 Subject: [PATCH] Fix Failing Unit Test Signed-off-by: Mahad Zaryab --- plugin/metrics/prometheus/factory_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/metrics/prometheus/factory_test.go b/plugin/metrics/prometheus/factory_test.go index 2c3085ba44c..8662badb54a 100644 --- a/plugin/metrics/prometheus/factory_test.go +++ b/plugin/metrics/prometheus/factory_test.go @@ -42,7 +42,7 @@ func TestWithDefaultConfiguration(t *testing.T) { assert.Equal(t, "http://localhost:9090", f.options.ServerURL) assert.Equal(t, 30*time.Second, f.options.ConnectTimeout) - assert.Empty(t, f.options.MetricNamespace) + assert.Equal(t, "traces_span_metrics", f.options.MetricNamespace) assert.Equal(t, "ms", f.options.LatencyUnit) }