Skip to content

Only call raw_measurement when the JSON is expanded #1110

@hellais

Description

@hellais

Currently on first load of a measurement page a raw_measurement request is triggered. As we have seen in the logs this is a quite expensive call and it has been leading to OOMs.

Since the release of OONI Probe 6.0.0, given that we don't have in-app support for viewing measurements, these requests are more than they used to be.

This task is about replacing the raw measurement calls to happen only when a raw measurement is requested and make use of the observations endpoints instead to retrieve the relevant data to display in the measurement pages.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions