We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey, dd-trace version 5.25.0 removed MANUAL_KEEP, and now we are missing a lot of traces.
This seems to be a bug, because the feature still exists in the docs: https://docs.datadoghq.com/tracing/trace_pipeline/ingestion_mechanisms/?tab=java&code-lang=nodejs#force-keep-and-drop
Is this supposed to be deprecated?
The text was updated successfully, but these errors were encountered:
Maybe it's not clear enough what I mean? We use it like this:
import tracer from "./../utils/tracer"; import { Span } from "dd-trace"; import { MANUAL_KEEP } from "dd-trace/ext/tags"; private keepApmSpan(): void { const scope = tracer.scope(); if (scope) { const span = scope.active(); if (span) { const rootSpan = (span.context() as any)._trace.started[0] as Span; if (rootSpan) { const tags: Record<string, unknown> = {}; tags[MANUAL_KEEP] = true; rootSpan.addTags(tags); } } } }
But the spans are not actually kept, Datadog shows no more ingress of these spans.
Sorry, something went wrong.
No branches or pull requests
Hey, dd-trace version 5.25.0 removed MANUAL_KEEP, and now we are missing a lot of traces.
This seems to be a bug, because the feature still exists in the docs: https://docs.datadoghq.com/tracing/trace_pipeline/ingestion_mechanisms/?tab=java&code-lang=nodejs#force-keep-and-drop
Is this supposed to be deprecated?
The text was updated successfully, but these errors were encountered: