Files
cgrates/docs/readthedocs/misc.rst
2020-01-30 14:06:48 +01:00

49 lines
775 B
ReStructuredText

8. GetCacheStats
================
GetCacheStats returns datadb cache status. Empty params return all stats:
:Hint:
cgr> cache_stats
*Request*
::
{
"method": "APIerSv1.GetCacheStats",
"params": [{}],
"id": 0
}
*Response:*
::
{
"id": 0,
"result": {
"Destinations": 0,
"ReverseDestinations": 0,
"RatingPlans": 4,
"RatingProfiles": 0,
"Actions": 0,
"ActionPlans": 4,
"AccountActionPlans": 0,
"SharedGroups": 0,
"DerivedChargers": 0,
"LcrProfiles": 0,
"CdrStats": 6,
"Users": 3,
"ResourceProfiles": 0,
"Resources": 0,
"StatQueues": 0,
"StatQueueProfiles": 0,
"Thresholds": 0,
"ThresholdProfiles": 0,
"Filters": 0
},
"error": null
}