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

[ECO-2379] Add log environment variables for PostgREST #336

Merged
merged 1 commit into from
Nov 11, 2024
Merged

Conversation

CRBl69
Copy link
Collaborator

@CRBl69 CRBl69 commented Nov 8, 2024

Description

This PR adds useful logging variables to PostgREST.

  • Timing is now returned in header.
  • You can pass Accept: application/vnd.pgrst.plan to get the query plan, to check index usage.
  • You can pass an X-Request-Id header to trace requests.
  • All requests are logged.

Testing

Run docker compose.

Checklist

  • Did you check all checkboxes from the linked Linear task?

@CRBl69 CRBl69 requested a review from xbtmatt November 8, 2024 13:56
Copy link

vercel bot commented Nov 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
emojicoin-dot-fun ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 8, 2024 1:59pm
emojicoin-dot-fun-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 8, 2024 1:59pm

@CRBl69 CRBl69 merged commit cca7732 into main Nov 11, 2024
8 checks passed
@CRBl69 CRBl69 deleted the ECO-2379 branch November 11, 2024 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size-small A small PR. This can be reviewed and merged fast. urgency-high Please check first
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants