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

feat: auto-explain slow postgres queries(default 10s) #5259

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Sidddddarth
Copy link
Member

@Sidddddarth Sidddddarth commented Nov 4, 2024

Description

use postgres auto-explain to log execution plans of slow queries automatically.

Can wait till we upgrade postgres

Linear Ticket

Security

  • The code changed/added as part of this pull request won't create any security issues with how the software is being used.

Copy link

codecov bot commented Nov 4, 2024

Codecov Report

Attention: Patch coverage is 63.33333% with 11 lines in your changes missing coverage. Please review.

Project coverage is 73.19%. Comparing base (2aae3ec) to head (f509eb9).

Files with missing lines Patch % Lines
utils/misc/dbutils.go 63.33% 7 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5259      +/-   ##
==========================================
- Coverage   73.20%   73.19%   -0.01%     
==========================================
  Files         424      424              
  Lines       59967    59997      +30     
==========================================
+ Hits        43898    43917      +19     
- Misses      13606    13612       +6     
- Partials     2463     2468       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Sidddddarth Sidddddarth marked this pull request as draft November 4, 2024 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant