Initializes the internal spans array.
An array of ReadableSpans
Filters the internal spans array according to the predicate. Returns a new SpansRepository object to allow chaining.
Returns all spans as MalabiSpan.
Returns the first span as MalabiSpan.
Returns how many spans are currently in the array.
Returns the second span as MalabiSpan.
Returns span at the given index as MalabiSpan.
The index to retrieve.
Returns a new instance of SpansRepository with AWS spans only.
Returns a new instance of SpansRepository with SQS spans only.
Returns a new instance of SpansRepository with database spans only.
Returns a new instance of SpansRepository with database spans that match a given operation.
The operation to filter by. For example: "save".
Returns a new instance of SpansRepository with the entry span only (meaning without parent span id).
Returns a new instance of SpansRepository with express spans only.
Returns a new instance of SpansRepository with only HTTP spans.
Returns a new instance of SpansRepository with only HTTP GET spans.
Returns a new instance of SpansRepository with only HTTP spans, filtered by method.
Returns a new instance of SpansRepository with only HTTP POST spans.
Returns a new instance of SpansRepository with incoming spans only.
Returns a new instance of SpansRepository with messaging spans only.
Returns a new instance of SpansRepository with only messaging spans with the following MESSAGING_OPERATION: process.
Returns a new instance of SpansRepository with only messaging spans with the following MESSAGING_OPERATION: receive.
Returns a new instance of SpansRepository with only messaging spans with the following kind: producer.
Returns a new instance of SpansRepository mongo db spans only.
Returns a new instance of SpansRepository with Neo4j spans only.
Returns a new instance of SpansRepository with outgoing spans only.
Returns a new instance of SpansRepository with only HTTP spans that have a specific path
The path to filter by.
Returns a new instance of SpansRepository with Redis spans only.
Returns a new instance of SpansRepository with only HTTP spans that have a specific route
The route to filter by.
Returns a new instance of SpansRepository with rpc spans only.
Returns a new instance of SpansRepository with sequelize spans only.
Returns a new instance of SpansRepository with TypeORM spans only.
Generated using TypeDoc
A Class that allows access of spans created in the test run. for example: HTTP GET spans. Mongo db spans, etc. Read more about OpenTelemetry Spans here