# Usage Measurement Template

{% hint style="success" %}
**New Feature Announcement**

Paigo has introduced native Azure Usage Measurement support! See detailed documentation from [#virtual-machine-compute-time-on-azure-measurement-template](https://docs.paigo.tech/infrastructure-based-method#virtual-machine-compute-time-on-azure-measurement-template "mention")and [#managed-disk-on-azure-measurement-template](https://docs.paigo.tech/infrastructure-based-method#managed-disk-on-azure-measurement-template "mention")
{% endhint %}

### Overview

Usage measurement templates are predefined sets of configurations of measurements and dimensions for commonly used SaaS product usage. For example, compute time is a commonly defined product metric by many infrastructure SaaS business. Paigo has several templates for compute time measurement and dimension configurations. See below table for the supported usage measurement templates.

<table><thead><tr><th width="172">Template Name</th><th width="85">Status<select><option value="9610b3079a734d10af8fe3f613a9673d" label="GA" color="blue"></option><option value="683e537f7e6f4c3eb7cae6952943cb96" label="Preview" color="blue"></option></select></th><th width="109">Platform<select><option value="0b15c76f84134e5091e3fb56aacea774" label="Kubernetes" color="blue"></option><option value="49f1331540624cf1b7ff5bc4f7d45e7a" label="AWS" color="blue"></option><option value="ac1d667d093644a69760ce2635ff57bf" label="Azure" color="blue"></option><option value="4e0f0e0fd34742e7a5e789a7e9d29481" label="S3" color="blue"></option></select></th><th width="143">Method<select><option value="f3ffeefe098f40a2a0484c99325c6df4" label="Agent" color="blue"></option><option value="dbd3c9c7b0d9422a9d1bc03e15934cd6" label="Infrastructure" color="blue"></option><option value="123f2212fbab469e82e35b88c8df2131" label="Datastore" color="blue"></option><option value="658de6e1a0264c5c9af2f6a457d450e5" label="SQL" color="blue"></option></select></th><th>Description</th></tr></thead><tbody><tr><td><a href="../agent-based-method#kubernetes-pod-compute-time-measurement-template">Kubernetes Pod Compute Time</a></td><td><span data-option="9610b3079a734d10af8fe3f613a9673d">GA</span></td><td><span data-option="0b15c76f84134e5091e3fb56aacea774">Kubernetes</span></td><td><span data-option="f3ffeefe098f40a2a0484c99325c6df4">Agent</span></td><td>Measure pod running time in Kubernetes with minute-level precision</td></tr><tr><td><a href="../infrastructure-based-method#ec2-instance-compute-time-measurement-template">EC2 Compute Time</a></td><td><span data-option="9610b3079a734d10af8fe3f613a9673d">GA</span></td><td><span data-option="49f1331540624cf1b7ff5bc4f7d45e7a">AWS</span></td><td><span data-option="dbd3c9c7b0d9422a9d1bc03e15934cd6">Infrastructure</span></td><td>Measure EC2 instance running time with minute-level precision</td></tr><tr><td><a href="../infrastructure-based-method#ec2-egress-measurement-template">EC2 Egress</a></td><td><span data-option="9610b3079a734d10af8fe3f613a9673d">GA</span></td><td><span data-option="49f1331540624cf1b7ff5bc4f7d45e7a">AWS</span></td><td><span data-option="dbd3c9c7b0d9422a9d1bc03e15934cd6">Infrastructure</span></td><td>Measure network egress from EC2 instance with byte-level precision</td></tr><tr><td><a href="../infrastructure-based-method#ebs-volume-and-snapshot-measurement-template">EBS Volume</a></td><td><span data-option="9610b3079a734d10af8fe3f613a9673d">GA</span></td><td><span data-option="49f1331540624cf1b7ff5bc4f7d45e7a">AWS</span></td><td><span data-option="dbd3c9c7b0d9422a9d1bc03e15934cd6">Infrastructure</span></td><td>Measure EBS volume size with gigabyte-level precision</td></tr><tr><td><a href="../infrastructure-based-method#ebs-volume-and-snapshot-measurement-template">EBS Snapshot</a></td><td><span data-option="9610b3079a734d10af8fe3f613a9673d">GA</span></td><td><span data-option="49f1331540624cf1b7ff5bc4f7d45e7a">AWS</span></td><td><span data-option="dbd3c9c7b0d9422a9d1bc03e15934cd6">Infrastructure</span></td><td>Measure EBS snapshot size with gigabyte-level precision</td></tr><tr><td><mark style="color:red;">(NEW)</mark><br><a href="../infrastructure-based-method#virtual-machine-compute-time-on-azure-measurement-template">Virtual Machine Compute Time</a></td><td><span data-option="683e537f7e6f4c3eb7cae6952943cb96">Preview</span></td><td><span data-option="ac1d667d093644a69760ce2635ff57bf">Azure</span></td><td><span data-option="dbd3c9c7b0d9422a9d1bc03e15934cd6">Infrastructure</span></td><td>Measure Azure VM running time with minute-level precision</td></tr><tr><td><mark style="color:red;">(NEW)</mark><br><a href="../infrastructure-based-method#managed-disk-on-azure-measurement-template">Managed Disk</a></td><td><span data-option="683e537f7e6f4c3eb7cae6952943cb96">Preview</span></td><td><span data-option="ac1d667d093644a69760ce2635ff57bf">Azure</span></td><td><span data-option="dbd3c9c7b0d9422a9d1bc03e15934cd6">Infrastructure</span></td><td>Measure the size of Azure managed disk, with gigabyte-level precision</td></tr><tr><td><mark style="color:red;">(NEW)</mark><br><a href="../datastore-based-method#usage-data-in-s3-measurement-template">Usage Data in S3</a></td><td><span data-option="683e537f7e6f4c3eb7cae6952943cb96">Preview</span></td><td><span data-option="4e0f0e0fd34742e7a5e789a7e9d29481">S3</span></td><td><span data-option="123f2212fbab469e82e35b88c8df2131">Datastore</span></td><td>Collect usage based on data in S3 objects</td></tr></tbody></table>

### Measurement Properties and Predefined Values

Following properties are measurement properties and their values predefined for the templates:

* **Measurement Frequency** The frequency that Paigo measures the usage as the atomic usage data.
* **Precision** The precision of atomic usage data Paigo measures.

Once a measurement is used to populate usage data for a dimension, the dimension configuration is automatically decided based on the configuration of measurement. For example, if the measurement is measuring the compute time, then the dimension unit can only be time-based unit such as Hour. Any other value such as gigabyte will be rejected as invalid.

The Following properties are dimension properties and their values predefined for the templates.

* Unit
* Aggregation Method
* Aggregation Interval
* Usage Increment
* Rounding

See [product-plans](https://docs.paigo.tech/saas-pricing/pricing-basics/product-plans "mention") for information on these properties.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.paigo.tech/usage-metering/usage-measurement-template.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
