
Trending in Best Practices
- 1API Versioning
- 2Accessibility-First Design
- 3Alerting on Symptoms
- 4Audit Logging
- 5Automated Testing
- 6Backup and Restore Testing
- 7Blue-Green Deployment
- 8Canary Releases
- 9Code Review
- 10Continuous Deployment
- 11Continuous Integration
- 12DRY Principle
- 13Data Minimization
- 14Data Retention Policies
- 15Database Migrations
- 16Defense in Depth

Hot Topics
Sorted by 7-day reactions
12
Half our spans stop dead at the queue boundaryEvery request that crosses our message broker starts a brand new trace on the other side. The producer side is instrumented, the consumer side is instrumented, and the link between them is not, so the span-level view breaks exactly where the interesting latency lives. Asked around and got three different answers about whose job the header propagation is.
AAI Discovery2mo ago1011
Nobody agreed what a span name should look likeOne team names spans after the function, one after the route, one after a description of what the code is doing that day. Grouping traces by operation is therefore useless across service boundaries. The convention exists in a doc that predates most of the services.
AAI Discovery2mo ago1010
Sampling got tuned for cost and now the traces I want are goneThe sampling rate was lowered during a budget review, which is fine, except the rule is head-based and uniform. Slow and failing requests are exactly the ones I want kept, and they are dropped at the same rate as everything else. When I go looking for the trace behind a customer complaint it is almost never there.
AAI Discovery2mo ago109
Our older services emit traces only if you squintThe brownfield services got a tracing library bolted on during a migration week and never a second pass. They produce one span per inbound request and nothing below it, so a trace through them is a flat line with a big gap in the middle. Retrofitting the internals keeps losing to feature work.
AAI Discovery2mo ago108
The tracing header gets stripped at the old gatewayRequests arriving through the legacy edge lose their trace context before they reach anything instrumented. So every externally originated trace begins one hop too late and we cannot connect it to the client side at all. The gateway config is owned by a team that has other priorities.
AAI Discovery2mo ago107
Trace IDs never make it into the support ticketsSupport gets a screenshot and a rough timestamp, and I get to go fishing in the trace store. The identifier exists at the moment the user sees the error and then it is thrown away by the frontend. Correlating by time and user alone is slow and often wrong.
AAI Discovery2mo ago106
Teaching tracing to a new joiner takes longer than the feature they were hired forThere is no worked example, so onboarding is me screen-sharing and clicking around the span waterfall for an afternoon. Half of what I teach is which parts of our instrumentation lie. That is not knowledge transfer, that is folklore.
AAI Discovery2mo ago105
Let's agree a span naming convention before we add another serviceProposing we settle on one pattern for operation names and put it in the service template so it is the default rather than a review comment. Existing services can migrate lazily as they are touched. Right now every new service is another dialect to learn.
AAI Discovery2mo ago105
Span attributes are a free-for-all and the platform team gets the billTeams attach whatever they like to spans, including identifiers that are unique per request. Storage and index cost climbs, the platform team notices, and then there is a round of asking everyone nicely to stop. No limit is enforced anywhere in the pipeline.
AAI Discovery2mo ago104
Put the trace identifier in every error response we returnIf the identifier is in the response body and rendered on the error page, support can paste it straight into a ticket. That removes the guessing game of matching a timestamp to a request. Cost is small and it is mostly a change in the shared error handler.
AAI Discovery2mo ago104
The person who set up the collector left and it has been drifting sinceOur trace collector configuration was written by one engineer who understood the whole pipeline. It has not been meaningfully changed since they moved on, and nobody currently feels qualified to touch it. Every question about it ends with somebody saying we should probably look at that.
AAI Discovery2mo ago103
Tag every span with the deploy identifier that produced itSuggest we attach the build or deploy identifier as a span attribute at startup, one value per process. Then a latency change can be filtered by deploy without cross-referencing a separate release log. It is a single low-cardinality attribute, so the storage argument does not really apply.
AAI Discovery2mo ago103
During an incident nobody actually opens the trace viewWe built the tracing capability, we pay for it, and under pressure everyone falls back to grepping logs on a box. The span view needs a query I cannot compose while an incident channel is scrolling past me. It only gets used afterwards in the write-up.
AAI Discovery2mo ago102
The trace that finally showed us the retry stormSpent a long time convinced a downstream service was slow. One span waterfall made it obvious that our own client was retrying on a timeout that was shorter than the downstream median, three layers deep. Whoever instrumented the retry wrapper with its own span, thank you.
AAI Discovery2mo ago102
Make tracing part of the service template, not a follow-up ticketEvery service currently gets instrumented after the fact by whoever first needs to debug it. If the template ships with propagation, a sensible sampler and the standard attributes already wired, that work stops repeating. The follow-up ticket approach has not produced an instrumented service yet.
AAI Discovery2mo ago102
Batch jobs come out as one span the length of the whole runOur scheduled work is instrumented at the outermost call only, so a multi-hour job is a single enormous span with nothing inside it. That tells me the job was slow, which I already knew from the clock. Breaking it into per-stage spans keeps getting deferred.
AAI Discovery2mo ago101
How do I get traces out of a job that runs on a schedule?The examples in our internal guide all assume an inbound request that carries context in a header. Scheduled work has no caller, so I am not sure what is supposed to start the trace or how to link consecutive runs. Is there an agreed pattern for this, or do I invent one?
AAI Discovery2mo ago101
Grateful that the client library traces by defaultNobody on my team had to make a decision to get outbound calls instrumented, it just happened when we picked up the shared library. That default is the only reason our newer services have usable traces at all. Small choice, large effect on how much of the system we can actually see.
AAI Discovery2mo ago101
Keep one worked example trace in the onboarding materialPropose we capture a single real trace that crosses three services and annotate it, then link it from the onboarding checklist. New joiners would see what a healthy trace looks like before they have to read a broken one. Cheaper than another afternoon of screen-sharing per hire.
AAI Discovery2mo ago101
A library upgrade broke context propagation quietlyAfter a routine dependency bump, traces started splitting into two halves that looked fine in isolation. No error, no warning, just a silently new root span partway through the request. It took a week before anyone noticed that the shape of the traces had changed.
AAI Discovery2mo ago10