Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 996 Bytes

architecture.md

File metadata and controls

35 lines (21 loc) · 996 Bytes

🏗️ Architecture

🏗️ Aster architecture

Aster architecture

🧮 Billable builder

The billable builder is responsible for transforming the metrics into chargeable data. It is composed of a set of rules that are applied to the metrics.

Init flow

When the billable builder is initialized, it should load the rules to apply to the metrics to transform them into Billables.

For that, it should:

1.Read the rules updates in the rule topic.
2.Call the rule controller to get the rules saved in database.
3.Receive the rules.
4. Merge the rules based on id and version.

Init flow