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/sqlquery] fail on missing value for logs, collect errors #35189

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Grandys
Copy link
Contributor

@Grandys Grandys commented Sep 14, 2024

Description:

  • [breaking] Fail if for log column not found in result set (for consistency with metrics behaviour)
  • Instead of fail-fast, collect all errors that occurred when transforming row to metric or log

Link to tracking Issue: #35068

Testing: Added/updated unit tests

Documentation: n/a

Closes #35068

receiver/sqlqueryreceiver/logs_receiver.go Outdated Show resolved Hide resolved
@crobert-1 crobert-1 added the ready to merge Code review completed; ready to merge by maintainers label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal/sqlquery ready to merge Code review completed; ready to merge by maintainers receiver/sqlquery SQL query receiver
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[receiver/sqlquery] Improve error handling for missing columns in result set
3 participants