percona / pg_stat_monitor

Query Performance Monitoring Tool for PostgreSQL
https://docs.percona.com/pg-stat-monitor/
Other
466 stars 59 forks source link

PG -156: replace query placeholders with actual arguments for prepared statements #481

Open darkfronza opened 1 month ago

darkfronza commented 1 month ago

PG-156

Before this PR, pg_stat_monitor was unable to replace query placeholders when tracking prepared statements if pg_stat_monitor.pgsm_normalized_query is off.

With this update pg_stat_monitor now correctly store query argument values for prepared statements.

it-percona-cla commented 1 month ago

CLA assistant check
All committers have signed the CLA.

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 92.64706% with 5 lines in your changes missing coverage. Please review.

Project coverage is 85.38%. Comparing base (467394f) to head (43d5548).

Files Patch % Lines
pg_stat_monitor.c 92.64% 0 Missing and 5 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #481 +/- ## ========================================== + Coverage 84.88% 85.38% +0.50% ========================================== Files 3 3 Lines 1297 1362 +65 Branches 198 208 +10 ========================================== + Hits 1101 1163 +62 + Misses 98 97 -1 - Partials 98 102 +4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.