otel-cf-workers icon indicating copy to clipboard operation
otel-cf-workers copied to clipboard

Question: Ignore certain hosts or api calls with a header

Open ShravanSunder opened this issue 10 months ago • 1 comments

I'm also using http to send otel logs out. I'd like the trace capture for these to be ignored. How should i go about doing this?

  • i have a filter in includeTraceContext but i think that's only for distributed tracing. Would be great to use the raw fetch for some of these calls but i'm unsure if i can use the unwrap function.
  • id like to filter hosturl or 'otel-ignore' header key, but unsure where to add this

thanks!

ShravanSunder avatar Apr 10 '24 13:04 ShravanSunder