-
Is it possible to configure the For example, I have a healthcheck endpoint, and don't want to see the results in the telemetry (either at all, or, ideally, just health check failures). I have tried using this in my configuration: registerInstrumentations({
tracerProvider: provider,
instrumentations: [
new HttpInstrumentation(),
new ExpressInstrumentation({
ignoreLayers: ["request handler - /healthcheck"],
}),
],
}); But that doesn't seem to do what I am after. |
Beta Was this translation helpful? Give feedback.
Answered by
vmarchaud
May 7, 2021
Replies: 1 comment 1 reply
-
You should use |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Pondidum
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You should use
ignoreIncomingPaths
on the http instrumentation instead, express only create span if there is a http one.