archivebox.progressmonitor.metrics

Infrequent, read-only telemetry. Polls return cached data without waiting.

Module Contents

Functions

system_metrics_path

Local sampler output shared with collection-side tools.

progress_metrics

Keep authorization scope in the cache key; never disclose host stats to guests.

Data

_refresh_lock

REFRESH_SECONDS

API

archivebox.progressmonitor.metrics._refresh_lock[source]

‘Lock(…)’

archivebox.progressmonitor.metrics.REFRESH_SECONDS[source]

60

archivebox.progressmonitor.metrics.system_metrics_path()[source]

Local sampler output shared with collection-side tools.

archivebox.progressmonitor.metrics.progress_metrics(user, *, crawl_id=None, snapshot_id=None)[source]

Keep authorization scope in the cache key; never disclose host stats to guests.