Class AllSpansAreEndedProperly
java.lang.Object
org.opensearch.test.telemetry.tracing.validators.AllSpansAreEndedProperly
- All Implemented Interfaces:
TracingValidator
AllSpansAreEndedProperly validator to check if all spans are closed properly.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvalidate(List<MockSpanData> spans, int requests) validates if all spans emitted have hasEnded attribute as true.
-
Constructor Details
-
AllSpansAreEndedProperly
public AllSpansAreEndedProperly()Base Constructor
-
-
Method Details
-
validate
validates if all spans emitted have hasEnded attribute as true.- Specified by:
validatein interfaceTracingValidator- Parameters:
spans- spans emitted.requests- requests for e.g. search/index call
-