Integration Server 10.15 | 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 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.
Note:
The metering log was introduced by PIE-85053 (IS_10.15_Core_Fix8). Prior to PIE-85053, the metering simulator wrote transaction information to the server log.
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 metering yyyyMMdd_HHmmssSSSZ.csv.
Note:
The fields in the metering log are similar to what the metering simulator previously wrote to the server log with the following differences:
*user information is now included
*cpu data is not included
*serviceName is now svcName
*transactions is now trans_count