Atomia Billing Server

Collecting usage data

4 views 0

Configuration description

Namespace:Atomia.Billing.Plugins.GenericWorkflowPlugin.EventHandlers.UsageDataScheduledEventHandler

When hosting virtual machines in a usage based scenario this Eventhandler will in a fixed interval collect usage data from OpenStack and transform it into billing data in Atomia.

Example configuration:

1
2
3
4
5
{
"Timestep": "1",
"VpsInstanceService": "EC2Instance",
"ChargeWhenShutDown": "true"
}
  • Timestep The time interval in hours to check for usage data, the default value of 1 will update usage in 1 hour chunks.
  • VpsInstanceService The name of the VPS instance service, the default name is EC2Instance.
  • ChargeWhenShutDown When setting to true instance usage will be counted when the virtual machine is turned off

Was this helpful?