https://github.com/av/tracequest
Find out exactly what your backend is doing
https://github.com/av/tracequest
nodejs tracing
Last synced: 3 months ago
JSON representation
Find out exactly what your backend is doing
- Host: GitHub
- URL: https://github.com/av/tracequest
- Owner: av
- Created: 2020-10-31T22:40:33.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-01T10:00:31.000Z (over 5 years ago)
- Last Synced: 2026-04-03T13:52:31.521Z (3 months ago)
- Topics: nodejs, tracing
- Language: TypeScript
- Homepage:
- Size: 119 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tracequest
Find out exactly what your backend is doing.
```typescript
import tracequest from "tracequest";
const app = express();
app.use(tracequest);
...
app.get("/", async (req, res) => {
// Ah, I wish all these external
// calls would always be just as easy to find...
await Promise.all([
queryDb(),
enrichWithCRMData(),
sendTelemetryToAThirdParty(),
maybeGetFromCache(),
setAnUnexpectedDeadlock(),
overfetchFromARateLimitedAPI(),
maybeFailBecauseOfDownstreamError(),
queryDataWhichIsAlreadyAvailable(),
doSomethingUseful(),
]);
res.send({ ok: true });
});
```