Title: feat: Add feature_service label to Feature Server RED metrics · Issue #6639 · feast-dev/feast · GitHub
Open Graph Title: feat: Add feature_service label to Feature Server RED metrics · Issue #6639 · feast-dev/feast
X Title: feat: Add feature_service label to Feature Server RED metrics · Issue #6639 · feast-dev/feast
Description: Follow-up from #5920 (Improve Feature Server Observability). Problem sdk/python/feast/metrics.py currently breaks out online-feature metrics by feature_view (see online_features_status_total's feature_view label in track_feature_statuses...
Open Graph Description: Follow-up from #5920 (Improve Feature Server Observability). Problem sdk/python/feast/metrics.py currently breaks out online-feature metrics by feature_view (see online_features_status_total's feat...
X Description: Follow-up from #5920 (Improve Feature Server Observability). Problem sdk/python/feast/metrics.py currently breaks out online-feature metrics by feature_view (see online_features_status_total's ...
Opengraph URL: https://github.com/feast-dev/feast/issues/6639
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat: Add feature_service label to Feature Server RED metrics","articleBody":"Follow-up from #5920 (Improve Feature Server Observability). \n\n**Problem**\n\n`sdk/python/feast/metrics.py` currently breaks out online-feature metrics by `feature_view` (see `online_features_status_total`'s `feature_view` label in `track_feature_statuses`), but there is no equivalent `feature_service` label anywhere in the metrics, even though requests to `/get-online-features` are frequently made via a named Feature Service.\n\n**Proposed solution**\n\n- Add a `feature_service` label to the relevant RED metrics (at minimum `request_latency`/`request_count` in the `track_request_latency` context, and consider `online_features_status_total`).\n- Resolve the feature service name in the `/get-online-features` handler in `sdk/python/feast/feature_server.py` (available from the parsed request body) and pass it through via `RequestMetricsContext`, following the existing pattern used for `feature_count`/`feature_view_count`.\n- Add cardinality safeguards per the original issue: make this label **opt-in** (config flag, default off) and/or support an allowlist of feature service names, since unbounded feature-service cardinality could blow up metric storage in large deployments.\n- Wire the new config flag into `MetricsConfig` / `_MetricsFlags` alongside the existing per-category toggles.\n\n\ncc: @jyejare @ntkathole ","author":{"url":"https://github.com/anshishrivastava","@type":"Person","name":"anshishrivastava"},"datePublished":"2026-07-23T22:19:14Z","url":"https://github.com/feast-dev/feast/issues/6639"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fe46073f-8b2b-357f-4e17-1b4144882cb2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E7BE:132CCD:E52D22:13B8A14:6AFE981D |
| html-safe-nonce | d0ee4dcbcd6e674aca53c2bbfafd5b76cb248e0aed4b34524df9a4aafff82d68 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0JFOjEzMkNDRDpFNTJEMjI6MTNCOEExNDo2QUZFOTgxRCIsInZpc2l0b3JfaWQiOiIyMTI5MDA5MTE4NTU0MjY1NjI5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 73d9ca6db84ca7939b98e73001165d1c31182e8b1ee125b9ae83bde2e0228b58 |
| hovercard-subject-tag | issue:4963358892 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast/6639/issue_layout |
| twitter:image | https://opengraph.githubassets.com/139b4048719b7749ff24486ab4a17afddff9d545fe74b774d9ae15b7e0b70e77/feast-dev/feast/issues/6639 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/139b4048719b7749ff24486ab4a17afddff9d545fe74b774d9ae15b7e0b70e77/feast-dev/feast/issues/6639 |
| og:image:alt | Follow-up from #5920 (Improve Feature Server Observability). Problem sdk/python/feast/metrics.py currently breaks out online-feature metrics by feature_view (see online_features_status_total's feat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anshishrivastava |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| turbo-cache-control | no-preview |
| go-import | github.com/feast-dev/feast git https://github.com/feast-dev/feast.git |
| octolytics-dimension-user_id | 57027613 |
| octolytics-dimension-user_login | feast-dev |
| octolytics-dimension-repository_id | 161133770 |
| octolytics-dimension-repository_nwo | feast-dev/feast |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 161133770 |
| octolytics-dimension-repository_network_root_nwo | feast-dev/feast |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4a10310af51a1bfffbedc4fd81cb582acf0cb0ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width