Skip to content

feat: Add online store read and ODFV transformation duration metrics with per-ODFV opt-in#6125

Open
ntkathole wants to merge 1 commit intofeast-dev:masterfrom
ntkathole:odfv_metrics
Open

feat: Add online store read and ODFV transformation duration metrics with per-ODFV opt-in#6125
ntkathole wants to merge 1 commit intofeast-dev:masterfrom
ntkathole:odfv_metrics

Conversation

@ntkathole
Copy link
Member

@ntkathole ntkathole commented Mar 18, 2026

What this PR does / why we need it:

This PR adds three new Prometheus histogram metrics to the Feast feature server - online store reads, read-path ODFV transformations, and write-path ODFV transformations.

  • feast_feature_server_online_store_read_duration_seconds - captures the total time spent reading from the online store (covers both sync for-loop and async asyncio.gather paths across all backends)
  • feast_feature_server_transformation_duration_seconds (odfv_name, mode) - captures per-ODFV read-path transformation time during /get-online-features (Pandas, Python, Substrait modes)
  • feast_feature_server_write_transformation_duration_seconds (odfv_name, mode) - captures per-ODFV write-path transformation time during push/materialize with write_to_online_store=True
Screenshot 2026-03-18 at 1 46 01 PM
Open with Devin

@ntkathole ntkathole self-assigned this Mar 18, 2026
@ntkathole ntkathole requested review from a team as code owners March 18, 2026 08:17
@ntkathole ntkathole requested review from HaoXuAI, lokeshrangineni and robhowley and removed request for a team March 18, 2026 08:17
devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

Copy link
Collaborator

@jyejare jyejare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, few minor comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants