The statistics file /var/stats/DSC_RL <datestamp> generates data measurements output files for the DSC Rate Limiter, as shown in the following:

version=15.0
date,instance,Requests In,Requests Out,Answers In,Answers Out,Messages In,Messages Out,Bytes In,Bytes Out,Average Queue Time,Queue Time Sample Size,Average Queue Depth,Queue Depth Sample Size
2019-04-19-00:30,DSC RL 8 foo 12,0,0,0,0,0,0,0,0,0,0,0,0
2019-04-19-00:30,DSC_1 RL 15 RATELIMITER 3,0,0,0,0,0,0,0,0,0,0,0,17442
2019-04-19-00:30,DSC_1 RL 15 RATELIMITER 5,0,0,0,0,0,0,0,0,0,0,0,17442
2019-04-19-00:30,DSC_1 RL 15 RATELIMITER 9,0,0,0,0,0,0,0,0,0,0,0,17442
2019-04-19-00:30,DSC_1 RL 23 importance1 3,0,0,0,0,0,0,0,0,0,0,0,17442
2019-04-19-00:30,DSC RL 8 foo 3,0,0,0,0,0,0,0,0,0,0,0,0


The Rate Limiter Instance Name identifies the Rate Limiter.

The following table lists and describes the data measurements fields:

Rate Limiter Data Measurement Fields

Name

Type

Description

Requests InCountThe number of request messages submitted into a Rate Limiter.
Requests OutCountThe number of request messages exited from a Rate Limiter.
Answers InCount

The number of answer messages submitted into a Rate Limiter.

Answers OutCountThe number of answer messages exited from a Rate Limiter.
Messages InCountThe number of total messages submitted into a Rate Limiter.
Messages OutCountThe number of total messages exited from a Rate Limiter.
Bytes InCountThe total number of bytes submitted into a Rate Limiter.
Bytes OutCountThe total number of bytes exited from a Rate Limiter.
Average Queue TimeAverage

Estimates the average amount of time messages are kept in a Rate Limiter.  This uses the difference in timestamp value between the submit and exit times of messages.

Queue Time Sample SizeCountThe number of messages used in calculating the Average Queue Time.
Average Queue DepthAverageEstimates the average number of messages queued in a Rate Limiter.  Each statistics sample uses the average of the begin queue depth and ending queue depth of each exit processing iteration.
Queue Depth Sample SizeCount

The number of sample points used in the Average Queue Depth.  This should be close to 10 samples per second (rate limiter timer frequency).