Add `is_airflow_caller` or similar to snowplow environment context
See original GitHub issuePer https://github.com/meltano/internal-general/issues/391 and related to https://github.com/meltano/files-airflow/issues/19 we should bump the environment_context schema version and include a new field called is_airflow_caller
derived from whether the env var from https://github.com/meltano/files-airflow/issues/19 is present in the environment.
The presence of this env var would signal that meltano
is being invoked from Airflow.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Adding data to your events: context and more
Using event context, you can add any details you like to your events, as long as you can describe them in a self-describing...
Read more >Understanding Snowplow Analytics Custom Contexts
In Google Analytics and Adobe Analytics, the way to add additional context to an event is to map an event property to a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tayloramurphy I’m not quite sure since I havent been able to dive into the actual process data were getting. If we can’t get it through the process ID then it will be higher priority since we’ll only be able to count airflow when its started up or added/installed.
@aaronsteers @pnadolny13 did a quick test and just injected a
ps -axf
at the head of all the meltano calls in our dag generator:So a couple of things.
airflow task runner
is in the chain when usingmeltano invoke scheduler airflow
, but no clue what that looks like if you have k8s in the mix.