diff --git a/monitoring/uss_qualifier/resources/netrid/observers.py b/monitoring/uss_qualifier/resources/netrid/observers.py index 70a8737d39..bd8aa79dcb 100644 --- a/monitoring/uss_qualifier/resources/netrid/observers.py +++ b/monitoring/uss_qualifier/resources/netrid/observers.py @@ -59,7 +59,10 @@ def observe_flight_details( self, flight_id: str ) -> Tuple[Optional[observation_api.GetDetailsResponse], fetch.Query]: query = fetch.query_and_describe( - self.session, "GET", f"/display_data/{flight_id}" + self.session, + "GET", + f"/display_data/{flight_id}", + scope=self.rid_version.read_scope, ) try: result = ( diff --git a/monitoring/uss_qualifier/scenarios/astm/netrid/display_data_evaluator.py b/monitoring/uss_qualifier/scenarios/astm/netrid/display_data_evaluator.py index 7fa64aef6d..aaae178a05 100644 --- a/monitoring/uss_qualifier/scenarios/astm/netrid/display_data_evaluator.py +++ b/monitoring/uss_qualifier/scenarios/astm/netrid/display_data_evaluator.py @@ -261,6 +261,14 @@ def evaluate_system_instantaneously( query, verified_sps, ) + # We also issue queries to the flight details endpoint in order to collect + # performance statistics on the entirety of the tests + if query.status_code == 200: + for flight in observation.flights: + (details, detailQuery) = observer.observe_flight_details( + flight.id + ) + self._test_scenario.record_query(detailQuery) # TODO: If bounding rect is smaller than cluster threshold, expand slightly above cluster threshold and re-observe # TODO: If bounding rect is smaller than area-too-large threshold, expand slightly above area-too-large threshold and re-observe