Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[receiver/splunkenterprisereceiver] update scope name for consistency #34452

Conversation

codeboten
Copy link
Contributor

Update the scope name for telemetry produced by the splunkenterprisereceiverreceiver from otelcol/splunkenterprisereceiver to github.com/open-telemetry/opentelemetry-collector-contrib/receiver/splunkenterprisereceiverreceiver

Part of open-telemetry/opentelemetry-collector#9494

@codeboten codeboten requested a review from a team August 6, 2024 23:25
Copy link
Member

@mwear mwear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

=== FAIL: . TestScraper (0.01s)
    scraper_test.go:127: 
        	Error Trace:	/home/runner/work/opentelemetry-collector-contrib/opentelemetry-collector-contrib/receiver/splunkenterprisereceiver/scraper_test.go:127
        	Error:      	Received unexpected error:
make[2]: *** [../../Makefile.Common:131: test-with-cover] Error 1
make[1]: *** [Makefile:179: receiver/splunkenterprisereceiver] Error 2
        	            	the following errors occurred:
        	            	 -  resource "map[]": missing expected scope: otelcol/splunkenterprisereceiver
        	            	 -  resource "map[]": unexpected scope: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/splunkenterprisereceiver
        	Test:       	TestScraper

=== FAIL: . TestScraper (re-run 1) (0.01s)
    scraper_test.go:127: 
        	Error Trace:	/home/runner/work/opentelemetry-collector-contrib/opentelemetry-collector-contrib/receiver/splunkenterprisereceiver/scraper_test.go:127
        	Error:      	Received unexpected error:
        	            	the following errors occurred:
        	            	 -  resource "map[]": missing expected scope: otelcol/splunkenterprisereceiver
        	            	 -  resource "map[]": unexpected scope: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/splunkenterprisereceiver
        	Test:       	TestScraper

Update the scope name for telemetry produced by the splunkenterprisereceiverreceiver from otelcol/splunkenterprisereceiver to github.com/open-telemetry/opentelemetry-collector-contrib/receiver/splunkenterprisereceiverreceiver

Part of open-telemetry/opentelemetry-collector#9494

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
@codeboten
Copy link
Contributor Author

Thanks for the review @mwear, fixed the test mentioned in your comment

@codeboten codeboten merged commit 8c8ffb4 into open-telemetry:main Aug 7, 2024
154 checks passed
@codeboten codeboten deleted the codeboten/update-scope-splunkenterprisereceiver branch August 7, 2024 16:25
@github-actions github-actions bot added this to the next release milestone Aug 7, 2024
f7o pushed a commit to f7o/opentelemetry-collector-contrib that referenced this pull request Sep 12, 2024
…open-telemetry#34452)

Update the scope name for telemetry produced by the
splunkenterprisereceiverreceiver from otelcol/splunkenterprisereceiver
to
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/splunkenterprisereceiverreceiver

Part of
open-telemetry/opentelemetry-collector#9494

---------

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants