User Story
As the API Platform PM,
I want to understand how existing APIs are being used and by whom
so that I can make decisions on which services to migrate when
T324231: Add monitoring of API endpoints for API gateway
T318805: Collate various API Catalogs
T288667: Create Dashboards for AQS 2.0
T280087: HARDEN API Gateway. Establish consistent strategy for namespaces in the API gateway
T290772: Make logging adhere to common logging schema
T320537: <spike> Usage and traffic data for WMF APIs
Success Criteria
- I can see API usage metrics in a data visualization tool for the following dimensions:
- User Agent
- HTTP Method
- HTTP Status
- URI Path
- URI Query
- Content Type
- Response Size
- Any additional identifying data to determine how many individual clients/callers we have, what APIs they use, and how much they use them
References
- Product Analytics's Tips on Queries: https://phabricator.wikimedia.org/T284579#7151481