-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
-
False
-
-
False
-
BIZ-629 - ELS add on for concurrent (non-pay-as-you-go) RHEL offerings
-
-
Getting creative with how we can detect these RHEL payg products with rhelemeter, since the role available on the hosts isn't unique enough to differentiate between different variants.
This change enables hosts to report a list of comma-separated engineering Ids in its "product" label. We'll detect comma-separated engineering Ids and set the swatch event.productIds field accordingly.
Adjust our promql to use a regex filter so we can tolerate arbitrary changes to the product list like: product=~"(^|,)(69|204)($|,)". These should be read from product configuration when building the query.
When we match by product IDs, the event that gets created needs to populate the product_ids field in event (rather than role).
During hourly tally, we already match events to swatch subscription definitions by using event.role or event.productIds anyway.
https://github.com/RedHatInsights/rhsm-subscriptions/pull/2747/files
- is related to
-
SWATCH-1994 Update RHEL_for_x86_els_payg with appropriate engId
- Closed
- relates to
-
HMS-2939 Capture product IDs for the product label
- Closed