nestjs-otel icon indicating copy to clipboard operation
nestjs-otel copied to clipboard

Create a CatchAll ExceptionsFilter

Open pragmaticivan opened this issue 4 years ago • 2 comments

Register a Counter:

name: 'http_exceptions',
labels : ['method', 'status', 'path'],

Support config: withExceptionFilter

It should conditionally replace provide: APP_FILTER, if enabled.

pragmaticivan avatar Jun 25 '21 22:06 pragmaticivan

Thanks for the great work! might be nice to support GraphQL from the beginning: https://github.com/digikare/nestjs-prom/issues/47

issackr avatar Jul 20 '21 10:07 issackr

Nice! Will keep that in mind for sure. Same for supporting Fastify.

pragmaticivan avatar Jul 20 '21 13:07 pragmaticivan

This is generally introspected from opentelemetry auto instrumentation already.

pragmaticivan avatar May 26 '24 15:05 pragmaticivan