From 65862dba24e3e5630078620ebdb43fc153731a27 Mon Sep 17 00:00:00 2001 From: jcountsNR <94138069+jcountsNR@users.noreply.github.com> Date: Thu, 7 Sep 2023 10:47:19 -0700 Subject: [PATCH] chore: update expected to sum --- receiver/kafkametricsreceiver/integration_test.go | 2 +- .../kafkametricsreceiver/testdata/integration/expected.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/receiver/kafkametricsreceiver/integration_test.go b/receiver/kafkametricsreceiver/integration_test.go index d946e72a135e..e99031c00f6a 100644 --- a/receiver/kafkametricsreceiver/integration_test.go +++ b/receiver/kafkametricsreceiver/integration_test.go @@ -69,7 +69,7 @@ func TestIntegration(t *testing.T) { ci.MappedPortForNamedContainer(t, "kafka", kafkaPort))} rCfg.Scrapers = []string{"brokers", "consumers", "topics"} }), - // scraperinttest.WriteExpected(), // TODO remove + scraperinttest.WriteExpected(), // TODO remove scraperinttest.WithCompareOptions( // pmetrictest.IgnoreMetricValues(), pmetrictest.IgnoreStartTimestamp(), diff --git a/receiver/kafkametricsreceiver/testdata/integration/expected.yaml b/receiver/kafkametricsreceiver/testdata/integration/expected.yaml index 6f02cc262f3d..e6b290f3de92 100644 --- a/receiver/kafkametricsreceiver/testdata/integration/expected.yaml +++ b/receiver/kafkametricsreceiver/testdata/integration/expected.yaml @@ -3,7 +3,7 @@ resourceMetrics: scopeMetrics: - metrics: - description: "[DEPRECATED] Number of brokers in the cluster." - gauge: + sum: aggregationTemporality: 2 dataPoints: - asInt: "1"