MCPcopy Index your code
hub / github.com/feast-dev/feast / track_write_transformation

Function track_write_transformation

sdk/python/feast/metrics.py:401–407  ·  view source on GitHub ↗

Record the duration of an on-demand feature view write-path transformation.

(odfv_name: str, mode: str, duration_seconds: float)

Source from the content-addressed store, hash-verified

399
400
401def track_write_transformation(odfv_name: str, mode: str, duration_seconds: float):
402 """Record the duration of an on-demand feature view write-path transformation."""
403 if not _config.online_features:
404 return
405 write_transformation_duration_seconds.labels(
406 odfv_name=odfv_name, mode=mode
407 ).observe(duration_seconds)
408
409
410def track_materialization(

Calls 2

observeMethod · 0.80
labelsMethod · 0.80