Counting total API calls for your Analytics service
Count the API calls for the IBM® API Connect Analytics subsystem and see the total categorized by response status.
You can see the total API calls over time for each analytics service in the consumption dashboard. To see the consumption dashboard, navigate to the Cloud Manager UI analytics view: Cloud Manager analytics view.
- Use the following CLI command to retrieve a count of all Analytics events recorded by the
apic -m analytics events:cloudCount --server <management server platform api endpoint> --analytics-service <analytics service name> --format json
<management server platform api endpoint>is the Management server platform api endpoint.
<analytics service name>is the name of Analytics service as configured in the Cloud Manager.
- If required, additional filters can be applied to the results. For example,
--timeframe last12hours. See the
apic -m analytics events:cloudCount -hfor more details.