From 61146a152eed8b7e7ea1092ba1c54484ab15bdec Mon Sep 17 00:00:00 2001 From: Sam DeHaan Date: Thu, 12 Dec 2024 14:54:01 -0500 Subject: [PATCH] update integration test output --- receiver/sqlqueryreceiver/integration_test.go | 2 -- .../testdata/integration/mysql/expected.yaml | 6 ++++-- .../testdata/integration/oracle/expected.yaml | 3 ++- .../testdata/integration/postgresql/expected.yaml | 6 ++++-- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/receiver/sqlqueryreceiver/integration_test.go b/receiver/sqlqueryreceiver/integration_test.go index 25752a819150..d1326ca7b1b3 100644 --- a/receiver/sqlqueryreceiver/integration_test.go +++ b/receiver/sqlqueryreceiver/integration_test.go @@ -1,8 +1,6 @@ // Copyright The OpenTelemetry Authors // SPDX-License-Identifier: Apache-2.0 -//go:build integration - package sqlqueryreceiver import ( diff --git a/receiver/sqlqueryreceiver/testdata/integration/mysql/expected.yaml b/receiver/sqlqueryreceiver/testdata/integration/mysql/expected.yaml index a56a336852a2..c9728f86c1ac 100644 --- a/receiver/sqlqueryreceiver/testdata/integration/mysql/expected.yaml +++ b/receiver/sqlqueryreceiver/testdata/integration/mysql/expected.yaml @@ -38,7 +38,8 @@ resourceMetrics: stringValue: Action timeUnixNano: "1684614725494431000" name: genre.imdb - scope: {} + scope: + name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sqlqueryreceiver - resource: {} scopeMetrics: - metrics: @@ -72,4 +73,5 @@ resourceMetrics: - asDouble: 3.4 timeUnixNano: "1684614725499638000" name: f - scope: {} + scope: + name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sqlqueryreceiver diff --git a/receiver/sqlqueryreceiver/testdata/integration/oracle/expected.yaml b/receiver/sqlqueryreceiver/testdata/integration/oracle/expected.yaml index 908bf87e68a8..5fcc3933a409 100644 --- a/receiver/sqlqueryreceiver/testdata/integration/oracle/expected.yaml +++ b/receiver/sqlqueryreceiver/testdata/integration/oracle/expected.yaml @@ -38,4 +38,5 @@ resourceMetrics: stringValue: Action timeUnixNano: "1684632870521947236" name: genre.imdb - scope: {} + scope: + name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sqlqueryreceiver diff --git a/receiver/sqlqueryreceiver/testdata/integration/postgresql/expected.yaml b/receiver/sqlqueryreceiver/testdata/integration/postgresql/expected.yaml index ff1ad65e577c..cae3f7b000e2 100644 --- a/receiver/sqlqueryreceiver/testdata/integration/postgresql/expected.yaml +++ b/receiver/sqlqueryreceiver/testdata/integration/postgresql/expected.yaml @@ -38,7 +38,8 @@ resourceMetrics: stringValue: SciFi timeUnixNano: "1684613308016320000" name: genre.imdb - scope: {} + scope: + name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sqlqueryreceiver - resource: {} scopeMetrics: - metrics: @@ -81,4 +82,5 @@ resourceMetrics: dataPoints: - timeUnixNano: "1684613308030553000" name: h - scope: {} + scope: + name: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sqlqueryreceiver