Class TelemetryValidators
java.lang.Object
org.opensearch.test.telemetry.tracing.TelemetryValidators
TelemetryValidators for running validate on all applicable span Validator classes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(List<MockSpanData> spans, int requests) calls validate of all validators and throws exception in case of error.
-
Constructor Details
-
TelemetryValidators
Base constructor.- Parameters:
validators- list of validators applicable
-
-
Method Details
-
validate
calls validate of all validators and throws exception in case of error.- Parameters:
spans- List of spans emittedrequests- Request can be indexing/search call
-