KPIs for APIs
There are multiple options for measuring Key Performance Indicators with API transactions.
There are lots of things that can be measured with an API which include:
- Pass Rate
- Overall Service Quality
- Geographic Performance
The challenge is there are multiple ways to measure these and the impact they may have on your services.
Why not have a demonstration of what we can monitor?
The pass rate is the actual measured success rate for an API call from a specific location. However, it’s possible that APIs may pass at different rates from different locations. It is also important to validate the content being returned, don’t just assumed that HTTP-200 means ‘All OK’.
Effective Pass Rate
You may have a 100% pass rate, but there may be events and performance issues which cause timeouts and other problems. You need to take into account the performance including latencies and items that may affect end users.
Latency is complex for APIs which is why using a common ‘ping’ style type tool won’t tell you what you need to know. API calls include multiple steps:
- Connect Time
- DNS Look Up
- Server Side Processing Time
- Internet travel time
- Total call time
Each of these vary by geography, so careful analysis is required to take these into account.