API analytics properties
- UpdatedJan 30, 2025
- 1 minute read
- Yokohama
- API implementation
Certain properties control the behavior of API analytics.
Property | Description |
---|---|
com.glide.api.stats.enabled | When true, enables the collection of API usage statistics. When false, no
analytics are collected even for domains on the inclusion list.
|
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.
|
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.
|
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.
|
glide.api.stats.debug | When true, enables debug logging for API stats.
|