FakeXRay

class FakeXRay(traces: Storage<StoredTrace> = Storage.InMemory(), region: Region = Region.of("ldn-north-1"), clock: Clock = Clock.systemUTC()) : ChaoticHttpHandler(source)

The FILTER subset is the only filter expression evaluated: anything else is refused rather than answered with every trace in the window.

Constructors

Link copied to clipboard
constructor(traces: Storage<StoredTrace> = Storage.InMemory(), region: Region = Region.of("ldn-north-1"), clock: Clock = Clock.systemUTC())

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard
fun client(): XRay
Link copied to clipboard
open operator override fun invoke(request: Request): Response
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun trace(traceId: TraceId): StoredTrace?