Cloud Based AppCat Services

This page explains how cloud based services handle usage reporting.

Data Flow Overview

Cloud

The usage reporting process involves two main steps, where data is gathered, processed, and transferred to Odoo:

  1. The Billing Collector for Cloud Services is an application that gathers, processes, and transfers data.

  2. Data is then transferred to Odoo.

Billing Collector for Cloud Services

The billing collector for cloud services collects data from Cloudscale and Exoscale providers. It gathers Object Storage and DBaaS usage data from the respective cloud providers.

From Cloudscale, we collect Object Storage usage data. From Exoscale, we collect Object Storage and DBaaS usage data.

The default parameters for how often data is collected or transferred depend on the specific cloud provider.

Exoscale

The following default configuration applies to Exoscale:

billing:
  exoscale:
    enabled: false
    dbaas:
      enabled: false
      collectIntervalMinutes: 15 (1)
    objectStorage:
      enabled: false
      collectIntervalHours: 23 (2)
      billingHour: 6 (3)
1 The DBaaS instances are checked every 15 minutes to see if they still exist.
2 The Object Storage is checked daily for existence and general usage metrics.
3 The time of day when Object Storage usage data is collected.

Cloudscale

The following default configuration applies to Cloudscale:

billing:
  cloudscale:
    enabled: false
    collectIntervalHours: 23 (1)
    billingHour: 6 (2)
    days: 1 (3)
1 The Object Storage is checked daily for existence.
2 The time of day when Object Storage usage data is collected.
3 The number of days of historical usage data to collect.
The complete configuration for both providers can be accessed in our component-appcat.

Odoo Integration

Data is processed in Odoo via a Job Queue. Each job corresponds to a CronJob, and messages are either accepted or rejected. If accepted, the data becomes accessible and filterable on the Sales webpage.

Some links may require permissions and might not be accessible if you do not have the necessary rights.

Data Model and Flow

Refer to the Data Model and Flow for a generic overview of how data flows into Odoo.