-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes to
database_observability
samples collector (#2198)
* Fixes to `database_observability` samples colllector - Skip queries with schema `mysql`, `performance_schema` and `information_schema`, so we're on par with data from mysqld_exporter - Skip truncated queries early before parsing - Do not fail the entire processing loop if a query fails to parse - Log query type - Correctly extract tables from subqueries * amend error msg * update tests * Update internal/component/database_observability/mysql/collector/query_sample_test.go Co-authored-by: MattNolf <[email protected]> * better naming --------- Co-authored-by: MattNolf <[email protected]>
- Loading branch information
1 parent
608574c
commit 1cc7861
Showing
3 changed files
with
380 additions
and
71 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
Oops, something went wrong.