Skip to content

monitoring: Show only the latest dataset in snapshot API endpoint#320

Open
R2ZER0 wants to merge 1 commit intolivefrom
rg/monitoring-dataset-snapshot-single
Open

monitoring: Show only the latest dataset in snapshot API endpoint#320
R2ZER0 wants to merge 1 commit intolivefrom
rg/monitoring-dataset-snapshot-single

Conversation

@R2ZER0
Copy link
Contributor

@R2ZER0 R2ZER0 commented Feb 27, 2026

The dataset snapshot API currently lists all datasets ever recorded, but given a new dataset is create every day, the output of this endpoint will grow forever.

This endpoint is currently only used by the Monitoring sheet to determine if it needs to update itsself, so it's important to keep the size of the output small.

This does not affect the contents of db_dataset, so 360 internal reporting will still have access to all historical data.

This endpoint can still show past dates' headline stats by passing the data parameter to the endpoint.

The dataset snapshot API currently lists *all* datasets ever recorded,
but given a new dataset is create every day, the output of this endpoint
will grow forever.

This endpoint is currently only used by the Monitoring sheet to
determine if it needs to update itsself, so it's important to keep the
size of the output small.

This does not affect the contents of db_dataset, so 360 internal
reporting will still have access to all historical data.

This endpoint can still show past dates' headline stats by passing the
data parameter to the endpoint.
@R2ZER0 R2ZER0 force-pushed the rg/monitoring-dataset-snapshot-single branch from 2e6d0cf to aed5224 Compare February 27, 2026 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants