Files
richandClaude Opus 5.5 2da26f899b Import the Repeater's stored history
On first start the plugin now imports everything the Repeater has
stored (initial_backfill_hours, default "all"):

- packets from /api/bulk_packets, paged by timestamp with no row cap
- every advert received, noise-floor samples and CRC error events,
  which then keep flowing every snapshot interval
- RRD aggregates for up to a year, fetched per archive tier

Each source resumes from its own cursor and advances it only after a
whole window has shipped. Re-imports are idempotent and can be started
with --backfill [HOURS|all] or by changing backfill_request_id in the
plugin settings. RRD import is retried after transient errors, and its
resolution tag comes from the step the Repeater actually returned.

Also adds a History row to the dashboard, stored history to the dev
fake Repeater, and tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-02 10:30:41 -04:00

36 lines
936 B
JSON

{
"repeater_url": "http://127.0.0.1:8000",
"repeater_api_token": "",
"repeater_verify_tls": true,
"repeater_tag": "",
"influx_url": "",
"influx_version": "v2",
"influx_token": "",
"influx_org": "",
"influx_bucket": "openhop",
"influx_database": "openhop",
"influx_retention_policy": "",
"influx_username": "",
"influx_password": "",
"influx_create_database": true,
"influx_verify_tls": true,
"stream_metrics": true,
"stream_packets": true,
"stream_logs": true,
"stream_snapshots": true,
"stream_history": true,
"metrics_interval_seconds": 30,
"snapshot_interval_seconds": 300,
"request_timeout_seconds": 10,
"initial_backfill_hours": "all",
"backfill_hours": "all",
"backfill_request_id": "",
"log_min_level": "INFO",
"include_payload": false,
"include_raw_packet": false,
"include_locations": true,
"batch_size": 5000,
"flush_interval_seconds": 5,
"spool_max_mb": 50
}