Configuring resource metering