slanatech / swagger-stats

API Observability. Trace API calls and Monitor API performance, health and usage statistics in Node.js Microservices.
https://swaggerstats.io/
MIT License
906 stars 139 forks source link

how to customize metrics #267

Closed chenhuanguang closed 1 year ago

chenhuanguang commented 1 year ago

Now I want to monitor the value in a certain method, and I need a custom metrics, but I don’t know how to add it, I need to expose this metrics to the prometheus