This article demonstrates general troubleshooting steps when hitting an issue with App Usage Service.
App Usage Service on VMWare Tanzu Application Service (TAS) for VMs is composed of three apps, all ruby, under system Org and system Space:
- app-usage-server: API endpoint for getting data
- app-usage-worker: Worker that collects and aggregates data
- app-usage-scheduler: Scheduler for data collection
App-usage-scheduler triggers the following jobs:
- Load app usage data from ccdb and import into app_usage_service database every 5 minutes.
- Load service usage data from ccdb and import into app_usage_service database every 5 minutes.
- Update monthly usage summary at 15:00 UTC every day.
- Some other jobs to delete or roll over very older data.
App-usage-worker executes those jobs app-usage-scheduler triggers.
App-usage-server serves RESTful requests from: