MCPcopy Create free account
hub / github.com/feast-dev/feast / monitor_freshness

Function monitor_freshness

sdk/python/feast/metrics.py:533–540  ·  view source on GitHub ↗

Background thread target that periodically updates feature freshness gauges.

(store: "FeatureStore", interval: int = 30)

Source from the content-addressed store, hash-verified

531
532
533def monitor_freshness(store: "FeatureStore", interval: int = 30):
534 """Background thread target that periodically updates feature freshness gauges."""
535 logger.debug(
536 "Starting feature freshness monitoring with interval %d seconds", interval
537 )
538 while True:
539 update_feature_freshness(store)
540 time.sleep(interval)
541
542
543# ---------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 1

update_feature_freshnessFunction · 0.85

Tested by

no test coverage detected