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.