Skip to content

Time-bucket chart history downsampling - #108

Merged
KMX415 merged 1 commit into
feat/v0.7.8from
feat/pluck-chart-downsample
Jul 22, 2026
Merged

Time-bucket chart history downsampling#108
KMX415 merged 1 commit into
feat/v0.7.8from
feat/pluck-chart-downsample

Conversation

@KMX415

@KMX415 KMX415 commented Jul 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • time_bucket.bucket_seconds sizes windows from real data span
  • TelemetryRepository.get_history and PacketRepository.get_signal_history AVG into buckets when hours is set

Rewritten from javastraat/meshpoint (b10610a). Co-authored by Albert Einstein.

Test plan

  • pytest tests/test_time_bucket.py tests/test_node_metrics_history.py

Keeps node charts bounded by limit without silently dropping the newest samples. From javastraat/meshpoint.

Co-Authored-By: Albert Einstein <javastraat@hotmail.com>
@KMX415
KMX415 merged commit c97f20b into feat/v0.7.8 Jul 22, 2026
@KMX415
KMX415 deleted the feat/pluck-chart-downsample branch July 22, 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.

1 participant