-
Notifications
You must be signed in to change notification settings - Fork 253
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 comme…
…nt (#2439) 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
be7d980
commit 8b0cb9e
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