sv-2OP•

https://github.com/slanatech/swagger-stats

API Observability. Trace API calls and Monitor API performance, health and usage statistics in Node.js Microservices. swagger-stats traces REST API requests and responses in Node.js Microservices, and collects statistics per API Operation. You may provide Swagger (Open API) specification, and swagger-stats will match API requests with API Operations defined in swagger specification.

The time has come for swagger-states to graduate to 1.0! During past 4+ years the project evolved a lot, we received a lot of attention, contributions and feedback from many people, and hopefully helped many teams on their journey with Node.js microservices.

It's time to take swagger-stats to the next level !

Here I will summarize the key guiding principles and capabilities that will define swagger-stats 1.0.

As always, really looking forward for your feedback, suggestions and proposals !

Expand the depth and scope of monitoring swagger-stats provides. Why limit to API monitoring only ? Swagger-stats will provide insights on ingress and egress API, Databases, GRPC, and much more. The target is to cover end-to-end processing of requests in microservices and across microservices.

Embrace OpenTelemetry - https://opentelemetry.io/. Swagger-stats will leverage OpenTelemetry under the hood with all the instrumentations available. We will use OpenTelemetry Tracing to get insights into requests processing in microservices and provide meaningful and actionable metrics and dashboards.

Support collecting and processing observability data in the deployments with multiple nodes of microservice deployed (i.e. N+1 ) as well as across multiple microservices

Support micoservices developed in many different languages, not only node.js. Thanks to OpenTracing, swagger-stats will be able to collect and process data from any microservice instrumented with OpenTracing. Processing Traces will enable operational insights across entire deployment.

Support Kubernetes. Swagger-stats will provide Helm Chart and will allow easy deployment to K8s.

And of course, swagger-stats will keep enabling instant observability for Node.js microservices. Capability of requiring single package and getting metrics and dashboards instantly in your microservice is the key feature of swagger-stats, which, we believe, is essential, especially during early development stages.

Please share your thoughts, feedback and considerations !

https://github.com/slanatech/swagger-stats/discussions/135

2
raymondQADev•

This looks awesome are there any performance drawbacks of having to communicate with this service on each API request.

1