( DOCUMENTATION )Developer Reference

TraceMole Docs

Introduction

TraceMole is a lightweight database query explain profiler designed specifically for engineering teams managing multiple microservices querying shared clusters.

Unlike traditional heavy Application Performance Monitoring (APM) suites that require massive agents and charge based on raw data volumes, TraceMole is built with a singular, high-performance focus: database query execution plan auditability.

TraceMole lives directly inside your application database client wrappers. It intercepts outgoing queries, measures their timing, and automatically triggers explain telemetry checks only when performance flags or latency thresholds are breached.

Core Design Constraint

Your raw database records and collection payloads never leave your servers. TraceMole only collects query patterns (keys and stages) and execution plan explain telemetry.

Why TraceMole?

Auditable SDKs

Open-source client wrappers built directly on OpenTelemetry standard APIs. Inspect every attribute before it ships.

Index Suggestions

Catches COLLSCANs and bad scan-to-return ratios instantly, auto-generating the index create statement needed to fix it.

Ready to integrate?