-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
database_observability: attempt to parse queries truncated in a comment
The `query_sample` collector for now attempts to detect if a query is truncated in a multi-line comment (those between `/*` and `*/`). This is a best-effort attempt to avoid skipping queries that might be truncated in the middle of a trailing comment that is not closed, but the first part of the query is still valid.
- Loading branch information
1 parent
f39e143
commit cdf253c
Showing
3 changed files
with
38 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters