# Manage Measurement

### Overview

Measurement is a resource that implements Paigo's unique feature of **Usage Measurement and Collection** engine. Measurement can be created and managed in Paigo dashboard or by API. This chapter introduces Measurement at a high level. For complete guide on a specific kind of measurement that implements one of the support usage measurement and collection methods, see other pages in this chapter.

By official definition, measurement defines where, what and how to calculate usage data and collect back to Paigo backend. For example, a measurement could instruct Paigo to calculate the number of API calls by **subscribing to a production event bus in us-east-1** (where), polls for **the message in an API call topic named** `apiEmit` (what) **every 30 seconds** (how) with a limited **read-only access role** `billing-reader` (how). All of these things can be defined in a measurement so that Paigo can be on autopilot mode to calculate the usage.

### Manage Measurement

The easiest way to manage measurement is from Paigo dashboard. Navigate to **Measurement** tab to see a list of **Measurement** already created. Click **New Measurement** to create new measurement. Click on existing **Measurement** in the table to view the details on the measurement, then update or delete existing measurements. Measurements can be reused by different **Dimensions.**

Paigo supports the following methods for usage measurement and collection. See below pages on detailed information of setting up **Measurement** for those methods.

* [Infrastructure-based Method](/usage-metering/infrastructure-based-method.md)
* [Agent-based Method](/usage-metering/agent-based-method.md)
* [API-based Method](/usage-metering/api-based-method.md)
* [Datastore-based Method](/usage-metering/datastore-based-method.md)
* SQL-based Measurement (Coming soon).


---

# 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/manage-measurement.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.
