Memory Usage - Heap actually Used, as returned by moryUsage() Memory Usage - Total Size of the Heap, as returned by moryUsage() Memory Usage - Resident Set Size, as returned by moryUsage() As returned by moryUsage() and process.cpuUsage(). System statistics - memory usage and CPU usage of node process. Maximum observed Content Length in sent responses Total (Sum) of Content Lengths of sent responses Maximum observed Content length in received requestsĪverage Content Length in received requests Total (Sum) of Content Lengths of received requests Sum of total processing time (from request received to response finished) apistats provides baseline stats per each API Operation.In method baseline stats are calculated per each request method.In timeline, each bucket contains baseline stats calculated for a time interval.all stats contains total values for all requests and responses.Baseline statistics are calculated in in several different contexts. Provides core metrics on request-reponse processing. Timestamp when collection of statistic started - application start timeīaseline statistics object. Depending on parameters passed to /stats API call, additional statistics properties will be included as well. It always inlcudes main properties ( startts, name, version, hostname, ip), all statistics, and `sys' statistics. path - API operation path, such as /v2/pet/.Path and method values define for which specific api operations statistics should be returned. ![]() If you specified apiop as one of the values of fields parameter, you also need to pass parameters path and method. ![]() ![]() swagger-stats will detect and monitor API operations based on express routes.ĪPI Operation parameters metrics: parameter passed count, mandatory parameter missing count (for API Operation parameters defined in swagger spec)Ĭount of responses per each error code, top "not found" resources, top "server error" resources API operation is path and method combination from the swagger spec. Request and response details for top 100 requests that took longest time to process (time to send response)ĪPI definitions froim swagger specificationīaseline Metrics per each API Operation. Request and response details for the last 100 errors (last 100 error responses) Supported values for fields parameter are: Nameīaseline Metrics collected for each 1 minute interval during last 60 minutes Multiple values can be specified for fields paramer as an array. You may pass parameter fields to /swagger-stats/stats call to specify which additional statistic fields should be returned.įields parameter passed in query string. If no parameters are specified, default statistics are returned Swagger-stats exposes all statistics via /swagger-stats/stats API operation:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |