I have this microservice written with NestJs: But now I need to implement an endpoint /metrics for Prometheus. So the question is how do I do this with NestJs microservice From this issue I get the impression that it is not possible. Is this true and if so, is there a workaround I can use? I tried to apply middleware
Tag: microservices
How to connect to mssql server synchronously in node.js
All of the examples for using the mssql client package/tedious driver are for async/callbacks/promises but I’m only developing a microservice that will see limited use and my understanding of asynchronous functions is still a bit fuzzy. Here’s what I have for trying to use async/await : Report generation class: Then called: I’m sure this is probably a pretty bad way