docker-compose.yml
. If you are using those services as part of an integration or end-to-end tests you need to add them to the ci scripts.runServer
method of the infra-nest-server
to run your Nest.js server. It is pre-configured with everything needed for telemetry and security. All you need is to provide your main app module as per the example.logging
library and not console.log
. Even better, use Nest.JS dependency injection to inject a logging instance, which can be overridden and spied in tests.logging
library provides a single place to control the log routing so if you deviate from that you might not have your log statements delivered correctly to our central storage.infra-nest-server
it is already configured to collect metrics for all your routes and export metrics to be scraped.infra-nest-server
it is already configured to provide support for tracing for HTTP/HTTPS API calls as well as support for your service to participate in tracing. We have not added support for tracing to Postgres as is but hope to take care of this soon enough. You do not need to do anything for this to work. It will start working automatically when we add this.