René's URL Explorer Experiment


Title: feat: Operational metrics for offline store and SOX metrics for both by jyejare · Pull Request #6340 · feast-dev/feast · GitHub

Open Graph Title: feat: Operational metrics for offline store and SOX metrics for both by jyejare · Pull Request #6340 · feast-dev/feast

X Title: feat: Operational metrics for offline store and SOX metrics for both by jyejare · Pull Request #6340 · feast-dev/feast

Description: What this PR does / why we need it: Adds operational metrics instrumentation for Feast's offline store and structured SOX audit logging for both online and offline feature retrieval paths. This is needed to satisfy the operational observability requirements. Changes: Offline Store RED Metrics (metrics.py, offline_store.py) New Prometheus metrics: feast_offline_store_request_total (Counter), feast_offline_store_request_latency_seconds (Histogram), feast_offline_store_row_count (Histogram) Instrumented RetrievalJob.to_arrow() as the single source of truth for offline retrieval metrics — captures request count, error rate, latency, and row count Defensive try/except in the finally block ensures instrumentation failures never mask query errors SOX Audit Logging (metrics.py, feature_server.py, offline_store.py) emit_online_audit_log(): structured JSON audit entries for online requests — captures requestor identity, entity keys, feature views, feature count, status, and latency emit_offline_audit_log(): structured JSON audit entries for offline retrievals — captures method, feature views, row count, status, start/end timestamps, and duration Logs routed to a dedicated feast.audit logger so operators can independently route audit entries to a SOX-compliant sink Only entity key names are logged (not values) to minimize PII exposure Online Audit Integration (feature_server.py) Extracted _parse_feature_info() helper to DRY up feature view name / count extraction (shared by _resolve_feature_counts and _emit_online_audit) _emit_online_audit() wraps audit emission with best-effort error handling (logs at warning level on failure, never breaks the request) Wired into /get-online-features endpoint's finally block Configuration (base_config.py) offline_features: bool = True — toggle for offline store Prometheus metrics audit_logging: bool = False — toggle for structured audit log emission (opt-in) Both flags integrated into _MetricsFlags and build_metrics_flags()

Open Graph Description: What this PR does / why we need it: Adds operational metrics instrumentation for Feast's offline store and structured SOX audit logging for both online and offline feature retrieval paths. This...

X Description: What this PR does / why we need it: Adds operational metrics instrumentation for Feast's offline store and structured SOX audit logging for both online and offline feature retrieval paths. ...

Opengraph URL: https://github.com/feast-dev/feast/pull/6340

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:37e30087-9d04-0012-c799-70762f13eb52
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE56A:A2022:2871CF7:379B6BF:6A4EFAC9
html-safe-nonceb478d3b36cab04094b6631af8d7d817643160ef20f7d9cd424c600c3b10934b8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTZBOkEyMDIyOjI4NzFDRjc6Mzc5QjZCRjo2QTRFRkFDOSIsInZpc2l0b3JfaWQiOiIxNjQxMjkyMDQxMzY2MjA3MTc3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac0d93498a18b4cb26449cb5d56c334206759bd975a775aab9dadfb19f37282613
hovercard-subject-tagpull_request:3590151006
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/feast-dev/feast/pull/6340/files
twitter:imagehttps://avatars.githubusercontent.com/u/11752425?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/11752425?s=400&v=4
og:image:altWhat this PR does / why we need it: Adds operational metrics instrumentation for Feast's offline store and structured SOX audit logging for both online and offline feature retrieval paths. This...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/feast-dev/feast git https://github.com/feast-dev/feast.git
octolytics-dimension-user_id57027613
octolytics-dimension-user_loginfeast-dev
octolytics-dimension-repository_id161133770
octolytics-dimension-repository_nwofeast-dev/feast
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id161133770
octolytics-dimension-repository_network_root_nwofeast-dev/feast
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2b8f23afb982271f1b22258a94aede67a6b77760
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/feast-dev/feast/pull/6340/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fpull%2F6340%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fpull%2F6340%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=feast-dev%2Ffeast
Reloadhttps://github.com/feast-dev/feast/pull/6340/files
Reloadhttps://github.com/feast-dev/feast/pull/6340/files
Reloadhttps://github.com/feast-dev/feast/pull/6340/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6340/files
feast-dev https://github.com/feast-dev
feasthttps://github.com/feast-dev/feast
Notifications https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Fork 1.4k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Star 7.1k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Code https://github.com/feast-dev/feast
Issues 212 https://github.com/feast-dev/feast/issues
Pull requests 171 https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security and quality 1 https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
Code https://github.com/feast-dev/feast
Issues https://github.com/feast-dev/feast/issues
Pull requests https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security and quality https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Ffeast-dev%2Ffeast%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ffeast-dev%2Ffeast%2Fissues%2Fnew%2Fchoose
ntkatholehttps://github.com/ntkathole
feast-dev:masterhttps://github.com/feast-dev/feast/tree/master
jyejare:remaining_ops_metricshttps://github.com/jyejare/feast/tree/remaining_ops_metrics
Conversation 24 https://github.com/feast-dev/feast/pull/6340
Commits 5 https://github.com/feast-dev/feast/pull/6340/commits
Checks 33 https://github.com/feast-dev/feast/pull/6340/checks
Files changed https://github.com/feast-dev/feast/pull/6340/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6340/files
feat: Operational metrics for offline store and SOX metrics for both https://github.com/feast-dev/feast/pull/6340/files#top
Show all changes 5 commits https://github.com/feast-dev/feast/pull/6340/files
4c5fb2c feat: Operational metrics for offline store and SOX metrics for both jyejare Apr 27, 2026 https://github.com/feast-dev/feast/pull/6340/commits/4c5fb2cd30fd109681e3ebcac577fbae5ecbfc62
b5d1fd0 fix: Resolve comments from review jyejare May 11, 2026 https://github.com/feast-dev/feast/pull/6340/commits/b5d1fd0e91597d9499ee86928e62162c3c85a5cc
fbcef1c feat: System metrics API requests to prometheus jyejare May 28, 2026 https://github.com/feast-dev/feast/pull/6340/commits/fbcef1c06e07239a6a8a949b9e80d5ac61e80943
8ba3d5c fix: Reviewers comment fixed jyejare May 29, 2026 https://github.com/feast-dev/feast/pull/6340/commits/8ba3d5c7457a1987d46b9636701db454d3c0c171
76a3118 chore: Removed operational metrics GET request from prometheus jyejare Jun 2, 2026 https://github.com/feast-dev/feast/pull/6340/commits/76a31180ac0fb77134905d9872f31b5d6485cf28
Clear filters https://github.com/feast-dev/feast/pull/6340/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6340/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6340/files
python-feature-server.md https://github.com/feast-dev/feast/pull/6340/files#diff-e0f08582504cb3b6776117cc7b9e3ce82f07568e1a9d831f89b3027322909bb9
v1_featurestore_serving.yaml https://github.com/feast-dev/feast/pull/6340/files#diff-52289aabac0d11c6ce9dda54ca35007332cd3cb50be30795b4f1bb1de09bd39f
feature_server.py https://github.com/feast-dev/feast/pull/6340/files#diff-47bf85967b55f577ebd4586f9a93f2cc0c9433270bd67b21ddb33e89fd464167
base_config.py https://github.com/feast-dev/feast/pull/6340/files#diff-d30cafde4bb641a4c1a28c0b30e490b13a858cd6bd35cc936b931e235fa96e37
offline_store.py https://github.com/feast-dev/feast/pull/6340/files#diff-cbbed5979161d9e73b4d7c30000ec163d9d0e334ec79c27e4b90734877e6af38
metrics.py https://github.com/feast-dev/feast/pull/6340/files#diff-e8e6fa91f6e18135b2a3d38dc06b1dc86f3dfdba4599b4c717db58666360d704
repo_operations.py https://github.com/feast-dev/feast/pull/6340/files#diff-9922445cc092f7a2f8885c771cb4d15c4c21a84bcbc0513ba76009036ddbccf5
test_metrics.py https://github.com/feast-dev/feast/pull/6340/files#diff-2ef2173e03f5713a514f045083032e2a4427222baba628f0273ff5cd1fbc19b6
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L4
docs/reference/feature-servers/python-feature-server.mdhttps://github.com/feast-dev/feast/pull/6340/files#diff-e0f08582504cb3b6776117cc7b9e3ce82f07568e1a9d831f89b3027322909bb9
View file https://github.com/jyejare/feast/blob/76a31180ac0fb77134905d9872f31b5d6485cf28/docs/reference/feature-servers/python-feature-server.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6340/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6340/files#diff-e0f08582504cb3b6776117cc7b9e3ce82f07568e1a9d831f89b3027322909bb9
https://github.com/feast-dev/feast/pull/6340/files#diff-e0f08582504cb3b6776117cc7b9e3ce82f07568e1a9d831f89b3027322909bb9
https://github.com/feast-dev/feast/pull/6340/files#diff-e0f08582504cb3b6776117cc7b9e3ce82f07568e1a9d831f89b3027322909bb9
https://github.com/feast-dev/feast/pull/6340/files#diff-e0f08582504cb3b6776117cc7b9e3ce82f07568e1a9d831f89b3027322909bb9
https://github.com/feast-dev/feast/pull/6340/files#diff-e0f08582504cb3b6776117cc7b9e3ce82f07568e1a9d831f89b3027322909bb9
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L7
infra/feast-operator/config/samples/v1_featurestore_serving.yamlhttps://github.com/feast-dev/feast/pull/6340/files#diff-52289aabac0d11c6ce9dda54ca35007332cd3cb50be30795b4f1bb1de09bd39f
View file https://github.com/jyejare/feast/blob/76a31180ac0fb77134905d9872f31b5d6485cf28/infra/feast-operator/config/samples/v1_featurestore_serving.yaml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6340/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6340/files#diff-52289aabac0d11c6ce9dda54ca35007332cd3cb50be30795b4f1bb1de09bd39f
https://github.com/feast-dev/feast/pull/6340/files#diff-52289aabac0d11c6ce9dda54ca35007332cd3cb50be30795b4f1bb1de09bd39f
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L10
sdk/python/feast/feature_server.pyhttps://github.com/feast-dev/feast/pull/6340/files#diff-47bf85967b55f577ebd4586f9a93f2cc0c9433270bd67b21ddb33e89fd464167
View file https://github.com/jyejare/feast/blob/76a31180ac0fb77134905d9872f31b5d6485cf28/sdk/python/feast/feature_server.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6340/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6340/files#diff-47bf85967b55f577ebd4586f9a93f2cc0c9433270bd67b21ddb33e89fd464167
https://github.com/feast-dev/feast/pull/6340/files#diff-47bf85967b55f577ebd4586f9a93f2cc0c9433270bd67b21ddb33e89fd464167
https://github.com/feast-dev/feast/pull/6340/files#diff-47bf85967b55f577ebd4586f9a93f2cc0c9433270bd67b21ddb33e89fd464167
https://github.com/feast-dev/feast/pull/6340/files#diff-47bf85967b55f577ebd4586f9a93f2cc0c9433270bd67b21ddb33e89fd464167
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L10
sdk/python/feast/infra/feature_servers/base_config.pyhttps://github.com/feast-dev/feast/pull/6340/files#diff-d30cafde4bb641a4c1a28c0b30e490b13a858cd6bd35cc936b931e235fa96e37
View file https://github.com/jyejare/feast/blob/76a31180ac0fb77134905d9872f31b5d6485cf28/sdk/python/feast/infra/feature_servers/base_config.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6340/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6340/files#diff-d30cafde4bb641a4c1a28c0b30e490b13a858cd6bd35cc936b931e235fa96e37
Please reload this pagehttps://github.com/feast-dev/feast/pull/6340/files
https://github.com/feast-dev/feast/pull/6340/files#diff-d30cafde4bb641a4c1a28c0b30e490b13a858cd6bd35cc936b931e235fa96e37
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L23
sdk/python/feast/infra/offline_stores/offline_store.pyhttps://github.com/feast-dev/feast/pull/6340/files#diff-cbbed5979161d9e73b4d7c30000ec163d9d0e334ec79c27e4b90734877e6af38
View file https://github.com/jyejare/feast/blob/76a31180ac0fb77134905d9872f31b5d6485cf28/sdk/python/feast/infra/offline_stores/offline_store.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/6340/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/6340/files#diff-cbbed5979161d9e73b4d7c30000ec163d9d0e334ec79c27e4b90734877e6af38
https://github.com/feast-dev/feast/pull/6340/files#diff-cbbed5979161d9e73b4d7c30000ec163d9d0e334ec79c27e4b90734877e6af38
https://github.com/feast-dev/feast/pull/6340/files#diff-cbbed5979161d9e73b4d7c30000ec163d9d0e334ec79c27e4b90734877e6af38
https://github.com/feast-dev/feast/pull/6340/files#diff-cbbed5979161d9e73b4d7c30000ec163d9d0e334ec79c27e4b90734877e6af38
https://github.com/feast-dev/feast/pull/6340/files#diff-cbbed5979161d9e73b4d7c30000ec163d9d0e334ec79c27e4b90734877e6af38
https://github.com/feast-dev/feast/pull/6340/files#diff-cbbed5979161d9e73b4d7c30000ec163d9d0e334ec79c27e4b90734877e6af38
Please reload this pagehttps://github.com/feast-dev/feast/pull/6340/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/6340/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.