← Back to context

Comment by nodesocket

2 days ago

Does Telebugs support SQLite3 query performance tracking? E.G. top slowest queries, etc. I don't believe Sentry supports this

Nope, there are no APM features in Telebugs: https://telebugs.com/#okay-but-sentry-offers-apm

Fun fact: Telebugs itself runs on SQLite3!

  • Would love to see it added. I’m running a Flask app using raw SQLite3 without a ORM. I believe I could hack up a Span solution in Sentry to query track like:

        import sqlite3
        from sentry_sdk import start_span
    
        def execute_query(conn:   sqlite3.Connection, sql: str, params: tuple = ()):
            with start_span(op="db", description=sql) as span:
                span.set_data("db.system", "sqlite")
                cursor = conn.execute(sql, params)
                return cursor

    • Telebugs isn’t meant to be a full Sentry replacement. It focuses purely on error tracking. The goal is to avoid feature creep and do one thing exceptionally well, much like classic UNIX tools. That said, you’re not the first to ask about APM features, and it’s motivating me to consider building a separate APM product.