Most applications require persistent data yet when database performance goes awry, it is next to impossible to easily correlate slow queries with source code.
When developing sqlcommenter, we’ve tested it with a couple of databases. Please see /databases for an authoritative list but here are some:
If you are using a supported ORM/framework, it shouldn’t be a hassle at all to use. Just pick any of the ORMs in your favorite language
If you manage your databases or have access to database server logs, the statements will be logged there. Examine databases for more information how.
The specification is available here.
Integration | action | controller | framework | route | |
---|---|---|---|---|---|
ActiveRecord /Marginalia |
✔ | ✔ | ✔ | ✔ | ❌ |
Hibernate + Spring |
✔ | ✔ | ✔ | ✔ | ❌ |
knex.js + express.js |
❌ | ✔ | ❌ | ❌ | ❌ |
Django | ❌ | ✔ | ✔ | ✔ | ❌ |
psycopg2 + Flask |
❌ | ✔ | ✔ | ✔ | ❌ |
sqlalchemy + Flask |
❌ | ✔ | ✔ | ✔ | ❌ |
sequelize.js + express.js |
❌ | ✔ | ❌ | ❌ | ❌ |
Node.js ORMs(Knex, Sequelize, Express) support OpenTelemetry.