Effect CommunityEC
Effect Community2y ago
4 replies
wewell

Disabling OpenTelemetry Traces for Specific Routes like `/healthz`

Hello, is it possible to disable opentelemetry traces for some routes like /healthz ?

  Http.router.get(
    '/healthz',
    pipe(
      Http.response.empty({ status: 200 }),
      Http.middleware.withLoggerDisabled
      // Looking for something like Http.middleware.withTracerDisabled here
    )
  ),
Was this page helpful?