Integration Server 11.1 | Integration Server Administrator's Guide | Simulating Metering in Integration Server | The Metering Log
 
The Metering Log
The metering simulator writes transaction data for each service invocation that would be metered by IBM webMethods Metering Agent to the metering log. You can use the metering log to view and analyze service metering data. The metering log is a comma-separated values file named metering.csv and is located at: Integration Server_directory\instances\instanceName\logs.
Following is a sample of a metering.csv log metered service for an Integration Server where the TxnTimer value in the license key is set to 3, meaning the transaction duration is 3 seconds (3000 ms):
timestamp,svcName,tenant,user,duration(ms),trans_count
2023-08-30 16:25:26 EDT,services.myService:startup,,Administrator,16000,6
2023-08-30 16:25:26 EDT,services:scheduled_service,,myUser,27000,9
2023-08-30 16:27:47 EDT,services:addAccount,,userA,127,1
2023-08-30 16:38:51 EDT,services:orderFlow,,userB,1000,1
2023-08-30 16:39:04 EDT,services:processDocument,,userA,2000,1
The following table identifies and describes the fields written to the metering log.
CSV Field Name
Description
timestamp
Timestamp at which the metering simulator wrote the log entry to the metering log.
svcName
Name of the top-level service for which the metering simulator is generating metrics
tenant
The tenantID. If the tenant is null, such as in a self-hosted runtime, the metering simulator inserts a blank space in the tenant field.
user
Name of the user that initiated the transaction.
duration
Duration of the service, measured in millisecond
trans_count
Number of transactions counted for this single service invocation.
The value of the watt.server.statsLogRotateInterval server configuration parameter determines the frequency with which the metering log rotates. Integration Server names the rotated log meteringyyyyMMdd_HHmmssSSSZ.csv.