Hi @rahul1
We use the Medplum server for my healthcare implementation, where various healthcare providers subscribe to my SaaS platform for different services. Our subscription model is based on active users, and I want to better understand the platform's performance through detailed analytics.
Specifically, I need to gather data on the usage of API calls by clients, where each client has their own project, and each project can include multiple organizations. I have the following questions:
API Usage by Project: How can I count the API usage based on unique projects? Which APIs are being used the most? I am interested in obtaining statistical information about API usage at the project level.
API Usage by Organization: How can I count the API usage separately for each organization under a project? How many API requests are triggered by each organization, and what types of requests are they? Which API calls are the most frequent, and what is the response time for these API calls?
Can you please suggest the best way to gather this data? Do we have anything in Medplum for this or could you please recommend any tools that could help in obtaining such analytics? The Medplum is hosted on AWS.
Considering there could be numerous clients and organizations, performance is a crucial aspect. Could you guide us on an implementation approach that won’t negatively impact the performance of the APIs and the product?