Skip to content

Extension request: Jump to pganalyze for SQL query

Created by: sqs

When viewing a SQL query in code, it would be useful to be able to jump to live stats related to that query in pganalyze. This would be similar to the LightStep, Sentry, LogDNA, etc., extensions, in that it could start out with a fairly simple regexp match implementation (e.g., for sql.*(query|exec)\(\"([^"]+)) as a quick proof of concept.

I met @lfittl tonight and we discussed this.