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.
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.
- SQL-based Measurement (Coming soon).