Skip to content

Custom perf instrumentation for [airflow -> node] flow without http header? #1922

Answered by antonpirker
pepf asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @pepf !

You could create a transaction in airflow with transaction = start_transaction(...) and then you could give some information to the node script and in the node script do transaction = Transaction.continue_from_headers(...).

The information you need to give from airflow to the node script is the baggage and sentry-trace information that normally is sent via HTTP headers.

We have discussions about supporting something like you suggested, but with environment variables here: https://github.com/getsentry/rfcs/blob/main/text/0071-continue-trace-over-process-boundaries.md

Unfortunately this RFC and the links in there are the only documentation we have for this.
Does this help you …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by smeubank
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants