Title: Add support for enabling metrics in Feast Operator · Issue #5317 · feast-dev/feast · GitHub
Open Graph Title: Add support for enabling metrics in Feast Operator · Issue #5317 · feast-dev/feast
X Title: Add support for enabling metrics in Feast Operator · Issue #5317 · feast-dev/feast
Description: Is your feature request related to a problem? Please describe. I'm trying to enable metrics in my Feast deployment using the Feast Operator, but there's no clear way to pass the --metrics flag to the online container. The documentation p...
Open Graph Description: Is your feature request related to a problem? Please describe. I'm trying to enable metrics in my Feast deployment using the Feast Operator, but there's no clear way to pass the --metrics flag to t...
X Description: Is your feature request related to a problem? Please describe. I'm trying to enable metrics in my Feast deployment using the Feast Operator, but there's no clear way to pass the --metrics f...
Opengraph URL: https://github.com/feast-dev/feast/issues/5317
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add support for enabling metrics in Feast Operator","articleBody":"**Is your feature request related to a problem? Please describe.**\nI'm trying to enable metrics in my Feast deployment using the Feast Operator, but there's no clear way to pass the `--metrics` flag to the online container. The documentation provides examples for Helm chart deployment but not for Operator-based deployments. When attempting to use a custom image with an entrypoint that includes the `--metrics` flag, I found that the Operator doesn't respect this entrypoint configuration.\n\n**Describe the solution you'd like**\nAdd a configuration option in the Feast Operator specification to enable metrics for the online server. Ideally, this would be a simple boolean flag in the CustomResource definition that, when set to true, would add the `--metrics` flag to the command arguments of the online container.\n\n**Describe alternatives you've considered**\nI've tried creating a custom Docker image with an ENTRYPOINT that includes the `--metrics` flag, but the Operator seems to override this with its own command. Here's my Dockerfile:\n```\nFROM quay.io/feastdev/feature-server:0.49.0\n\n# Install ddtrace with OpenTelemetry support\nRUN pip install 'ddtrace[opentelemetry]\u003e=1.0.0'\n\n# Add environmental configurations\nENV DD_TRACE_ENABLED=true\nENV DD_LOGS_INJECTION=true\nENV DD_RUNTIME_METRICS_ENABLED=true\n\n# Use feast command directly as the entrypoint with metrics flag\nENTRYPOINT [\"feast\", \"serve\", \"-h\", \"0.0.0.0\", \"-p\", \"6566\", \"--metrics\"]\n```\n\nAdditional context\n\n\nWhen examining the pods created by the Operator, I can see that my custom entrypoint is being ignored. The Operator is setting its own command:\n```\nContainers:\n online:\n Container ID: containerd://f6c09abfd39d85a60bba9bc5290eca07a0c8b5120ab2e6fc16ee2676cd59d18f\n Image: us-central1-docker.pkg.dev/artifacts/vertex-services-docker/feast-staging:sha-41c10\n Image ID: us-central1-docker.pkg.dev/artifacts/vertex-services-docker/feast-staging@sha256:0956b2af3fc7bc6cca143f3a886466989d8bb0827fb2a0f1e60d26990fe4d744\n Port: 6566/TCP\n Host Port: 0/TCP\n Command:\n feast\n --log-level\n DEBUG\n serve\n -h\n 0.0.0.0\n -p\n 6566\n```\nThe Helm chart deployment supports metrics through --set metric=true, but there doesn't seem to be an equivalent option for the Operator. Clear documentation on how to enable metrics with the Feast Operator would also be helpful.","author":{"url":"https://github.com/ronniequinonez-qz","@type":"Person","name":"ronniequinonez-qz"},"datePublished":"2025-05-01T15:57:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/5317/feast/issues/5317"}
| 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:efbe3625-4f56-58ce-ccd4-c6eed3b2aec0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DC3E:CFFA:3C1451:4D929A:696EE57A |
| html-safe-nonce | 3035bf5217b21a82d96f38552b752de8cdb1000ba8091d2b9d2a963c79f02c89 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzNFOkNGRkE6M0MxNDUxOjREOTI5QTo2OTZFRTU3QSIsInZpc2l0b3JfaWQiOiI3NzU0OTU5NTA2NTE2MTQxNDM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 950f498f171ca97214feef36877a10a7a263528bb5889717b4c2b622feca9308 |
| hovercard-subject-tag | issue:3034160924 |
| 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/5317/issue_layout |
| twitter:image | https://opengraph.githubassets.com/74dfd5fef507bd166d31382329b8120aa27db87676dfd69da53e2f090c123f54/feast-dev/feast/issues/5317 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/74dfd5fef507bd166d31382329b8120aa27db87676dfd69da53e2f090c123f54/feast-dev/feast/issues/5317 |
| og:image:alt | Is your feature request related to a problem? Please describe. I'm trying to enable metrics in my Feast deployment using the Feast Operator, but there's no clear way to pass the --metrics flag to t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ronniequinonez-qz |
| hostname | github.com |
| expected-hostname | github.com |
| None | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| 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 | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width