Viewing Usage Summary for Compartments
Compartments in Oracle Cloud Infrastructure (OCI) help you organize and control access to your resources. A compartment is a collection of related resources such as cloud networks, compute instances, or block volumes.
If you're using the Infrastructure Console, then you can view your service usage costs from the Account Management page. See Checking Your Balance and Usage in Oracle Cloud Infrastructure documentation.
If you’ve applied tags for your OCI compartments using the OCI console, then you can view their usage summary in Infrastructure Classic Console. For example, if you have a compartment called Sandbox for your test instances in OCI, then your tag should be: key=OCIcompartment, value=Sandbox. And, you can view its usage summary by selecting the appropriate tag in Infrastructure Classic Console.