Closed mjstealey closed 3 months ago
Create core-api metrics endpoint(s) that provide real-time information for
[x] last_updated - when the data was last refreshed - cool down of X-minutes
last_updated
[x] projects
projects
[x] users
users
.env
# Task Timeout Interval export CAM_DESCRIPTION='Core API Metrics' export CAM_NAME='core_api_metrics' export CAM_TIMEOUT_IN_SECONDS=300
{ "results": [ { "last_updated": "2024-04-30 19:42:20.316671+00:00", "projects": { "active_cumulative": 164, "non_active_cumulative": 0 }, "users": { "active_cumulative": 1392, "active_within_180_days": 959, "active_within_24_hours": 95, "active_within_30_days": 374, "active_within_7_days": 218, "active_within_90_days": 640, "non_active_cumulative": 31 } } ], "size": 1, "status": 200, "type": "core_api_metrics.overview" }
Overview
Create core-api metrics endpoint(s) that provide real-time information for
[x]
last_updated
- when the data was last refreshed - cool down of X-minutes[x]
projects
[x]
users
refresh timeout interval based on
.env
settingsExample output: