package logging
Type Members
- class SlowTracesFilter extends TypeAgnostic
Logs trace ids that are slower than
percentile
of other requests.Logs trace ids that are slower than
percentile
of other requests.Note that because this only logs very slow traces that are also sampled, during normal operation you should expect (1 - percentile) * sampleRate requests to be loggged.
So if your sample rate is 1/10,000 and you're looking for p99 latency, you will expect to see 1 out of every 1,000,000 requests sampled. However, when your service is overloaded, you will see a much higher proportion of requests sampled.