-
Task
-
Resolution: Done
-
Normal
-
None
-
None
-
None
-
5
-
False
-
None
-
False
-
-
We're receiving events from cost-management like:
{ "event_source": "cost-management", "event_type": "snapshot", "account_number": "123", "org_id": "456", "service_type": "RHEL System", "instance_id": "i-iiiii", "timestamp": "2024-10-05T06:00:00Z", "expiration": "2024-10-05T07:00:00Z", "measurements": [ { "value": "4", "uom": "vCPUs" } ], "cloud_provider": "AWS", "hardware_type": "Cloud", "product_ids": [ "69", "204" ], "sla": "Premium", "usage": "Production", "billing_provider": "aws", "conversion": "false", "role": "Red Hat Enterprise Linux Server", "billing_account_id": "xxxx" }
Swatch deprecated the measurements.uom property in favour of measurements.metric_id (for more context, see SWATCH-1394).
Acceptance Criteria
- Emit events using "metric_id" instead of "uom"
- blocks
-
SWATCH-3007 Remove uom usage in the EventNormalizer and EventController classes
-
- Closed
-
- is related to
-
SWATCH-1394 Deprecate and Remove UOM
-
- Closed
-