Track tenant metrics
Prerequisites
Report tenant metrics
{
"code": "10012032",
"attributes": {
"lastLogin": "2023-10-20",
"userCount": 10,
"utilizationMetrics": {
"coursesCreated": 10,
"coursesAttended": 50
}
}
}mutation tenantMetricsUpdate ($code: String!, $attributes: TenantMetricsAttributes!){
tenantMetricsUpdate (code: $code, attributes: $attributes) {
errors
}
}res = BunnyApp::TenantMetrics.update(
code: '54681cba-8509-4c81-b170-b1debd73dbfd',
last_login: '2023-12-17',
user_count: 900,
utilization_metrics: {
coursesCreated: 25,
}
)View metrics

Last updated
Was this helpful?
