API analytics properties

Certain properties control the behavior of API analytics.

Table 1.
Property Description
com.glide.api.stats.enabled When true, enables the collection of API usage statistics. When false, no analytics are collected even for whitelisted domains.
  • Type: true | false
  • Default value: true
  • Location: Add to the System Properties [sys_properties] table
com.glide.api.stats.max_bytes_nursery_size

The maximum amount of memory, in bytes, used to store transaction data before it is written to the log. Transaction data is written to the log regularly based on the value of com.glide.api.stats.persist_interval.

If a large volume of transactions exceeds this memory limit before the log is written, some transactions may not be logged. The event api.stats.cache.size.reached is fired if this limit is reached.

This property value must be between 1 and 3 megabytes.
  • Type: integer
  • Default value: 3145728
  • Location: Add to the System Properties [sys_properties] table
com.glide.api.stats.persist_interval The frequency, in seconds, for writing transactions stored in memory to the log. This property value must be between 30 and 120 seconds.
  • Type: integer
  • Default value: 60
  • Location: Add to the System Properties [sys_properties] table
com.glide.api.stats.daily_ limit The daily limit of requestor stats records per instance node. As soon is the value is reached, data is no longer aggregated and stored for that day. The event api.stats.requestor.daily.limit.reached is fired if this limit is reached.
  • Type: integer
  • Default value: 20000
  • Location: Add to the System Properties [sys_properties] table
glide.api.stats.debug When true, enables debug logging for API stats.
  • Type: true | false
  • Default value: false
  • Location: Add to the System Properties [sys_properties] table