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/postgresql] Fix unit field in metadata.yaml #6469

Merged

Conversation

dmitryax
Copy link
Member

No description provided.

@bogdandrutu
Copy link
Member

@dmitryax the unittest failure is actually a real failure, see:

=== RUN   TestScraper
    scraper_test.go:45: 
        	Error Trace:	scraper_test.go:45
        	Error:      	Received unexpected error:
        	            	metric Unit does not match expected: , actual: 1
        	Test:       	TestScraper
--- FAIL: TestScraper (0.08s)
=== RUN   TestScraperNoDatabaseSingle
    scraper_test.go:63: 
        	Error Trace:	scraper_test.go:63
        	Error:      	Received unexpected error:
        	            	metric Unit does not match expected: , actual: 1
        	Test:       	TestScraperNoDatabaseSingle
--- FAIL: TestScraperNoDatabaseSingle (0.08s)
=== RUN   TestScraperNoDatabaseMultiple
    scraper_test.go:81: 
        	Error Trace:	scraper_test.go:81
        	Error:      	Received unexpected error:
        	            	metric Unit does not match expected: , actual: 1
        	Test:       	TestScraperNoDatabaseMultiple

Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

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

Thanks for clarifying @dmitryax!

@bogdandrutu bogdandrutu merged commit 2d059f2 into open-telemetry:main Dec 1, 2021
@dmitryax dmitryax deleted the postgres-fix-metadata-yaml branch December 1, 2021 02:15
jamesmoessis pushed a commit to atlassian-forks/opentelemetry-collector-contrib that referenced this pull request Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants