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"