

Daniel Lockyer
7.9K posts

@DanielLockyer
• I make sites faster and cloud/LLM bills lower 🚀 • 2:43 marathoner • performance merch: https://t.co/Nsptj8AOgb




The first thing I did at @tryramp was set up distributed tracing, structured logging, and metrics for Inspect, our background coding agent. We now have full visibility in to everything the system is doing: the browser, CF workers/DOs, @modal sandboxes, database calls, etc. Most importantly, Inspect now has visibility in to itself. It can self-triage runtime errors it encounters and create PRs to fix them. Every morning, it reviews the past 24 hours of its own @datadoghq dashboard, identifies systemic issues, new errors, and long tail latencies, and has a summary + PR waiting for me at 9am.


Just found a rogue piece of serveStatic middleware coming from Swagger being mounted on the API route and enabled in production Every API request was hitting the filesystem to see if the file existed 😱 Now fixed, will be deployed with my other changes very soon


Using these tools, we found out that we were accidentally going to US-west regions too frequently in some hotpaths. The cluster at 80ms got removed when we pinned to east regions, moving the p99 baseline for these operations to 20ms.


The first thing I did at @tryramp was set up distributed tracing, structured logging, and metrics for Inspect, our background coding agent. We now have full visibility in to everything the system is doing: the browser, CF workers/DOs, @modal sandboxes, database calls, etc. Most importantly, Inspect now has visibility in to itself. It can self-triage runtime errors it encounters and create PRs to fix them. Every morning, it reviews the past 24 hours of its own @datadoghq dashboard, identifies systemic issues, new errors, and long tail latencies, and has a summary + PR waiting for me at 9am.



Composer 2 is now available in Cursor.




it's that time of the day again



