I am trying to display usage stats of API keys and do not quite understand what I’m seeing in the Tyk dashboard.
I created a test key for my developer and got the hash 94394f63 and did a few requests against the API.
Then I checked the analytics in the dashboard in two places:
Portal Management / Developers / [developer] / Subscriptions / Analytics
This graph (incorrectly) shows 0 requests for today.
The help box says:
This screen represents the activity for a single API key over time, and will display ‘Combined traffic’, ‘Errors’ and ‘Successful requests’. Errors returned by the Tyk platform are grouped in the table to the left.
API Usage Data / Activity by Key
I select my developer, even though it’s a different key hash (de62cccd) and the chart displays the correct data. If I send another request against my API, the usage count increases accordingly.
Btw: when I use the search, it always shows the same listing regardless of what I search for.
The help box says the exact same thing as the other page.
So my questions are:
- what is the difference between the two analytics?
- why doesn’t the analytics graph for the developer show any activity?
- what hash am I seeing on the “activity by key” page?