feat: add configurable telemetry to ModelAsService CRD#3264
feat: add configurable telemetry to ModelAsService CRD#3264ishitasequeira wants to merge 2 commits intoopendatahub-io:mainfrom
Conversation
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
❌ E2E Update Requirement Check FailedNo e2e tests were added/updated as part of this PR. Action required from the PR author: Please either:
For more info, please refer to: workflow run details Why this check exists:
|
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip CodeRabbit can use OpenGrep to find security vulnerabilities and bugs across 17+ programming languages.OpenGrep is compatible with Semgrep configurations. Add an |
This PR can't be merged just yet 😢Please run For more info: https://github.com/opendatahub-io/opendatahub-operator/actions/runs/23003541042 |
f4e2c9a to
8ff183c
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3264 +/- ##
==========================================
- Coverage 50.82% 50.59% -0.23%
==========================================
Files 192 192
Lines 14022 14117 +95
==========================================
+ Hits 7126 7143 +17
- Misses 6155 6235 +80
+ Partials 741 739 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Description
This PR adds configurable telemetry dimension controls to the ModelsAsService CRD. Platform operators can now enable or disable specific metric labels (
user,organization,group,model) viaspec.telemetry.metrics, allowing them to balance observability needs against metric cardinality and storage costs.Key changes:
ModelsAsServiceSpecwith newTelemetryfield containingMetricsConfigTelemetryPolicytargeting the configured Gatewaysubscription,cost_center) ensure billing/chargeback worksExample Usage:
Generated TelemetryPolicy
How Has This Been Tested?
Screenshot or short clip
Merge criteria
E2E test suite update requirement
When bringing new changes to the operator code, such changes are by default required to be accompanied by extending and/or updating the E2E test suite accordingly.
To opt-out of this requirement:
E2E update requirement opt-out justificationsection belowE2E update requirement opt-out justification