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] Failed scrape should not return any data points #7500

Closed
djaglowski opened this issue Jan 31, 2022 · 0 comments · Fixed by #7502
Closed

[receiver/postgresql] Failed scrape should not return any data points #7500

djaglowski opened this issue Jan 31, 2022 · 0 comments · Fixed by #7502
Assignees
Labels
bug Something isn't working

Comments

@djaglowski
Copy link
Member

The receiver currently performs some initialization of metrics at the beginning of the scrape function. If a major failure is encountered, it returns these empty metrics. Instead, it should return an empty result in this case.

@djaglowski djaglowski added the bug Something isn't working label Jan 31, 2022
@djaglowski djaglowski self-assigned this Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant