Created
July 2, 2025 14:57
-
-
Save jsynowiec/047a80571fcf62602beeb6e86df99ea5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fastifyOtelInstrumentation = new FastifyOtelInstrumentation({ | |
servername: pkg.name, | |
}); | |
const fastifyAdapter = new FastifyAdapter(); | |
await fastifyAdapter | |
.getInstance() | |
.register(fastifyOtelInstrumentation.plugin()); | |
const app = await NestFactory.create<NestFastifyApplication>(AppModule, fastifyAdapter); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment