passing environment variable in the header.
Opened this issue · 1 comments
nilesh2501 commented
Hi all,
I would like to know the flow for configuration.py with respect to scheduler.py as in how the configuration.py gets loaded. I would also like to know as to where the configuration is stored? How can I make DD-API-KEY' and 'DD-APPLICATION-KEY' as environment variables that can be called into monitor.yaml under header section for URL monitoring? PS : DD-API-KEY' and 'DD-APPLICATION-KEY' are the environment variables I am trying to create and call in the YAML file.
mtakaki commented
Unfortunately it currently doesn't support setting headers through environment variables. It would require a refactoring to get this working. I'll see what I can do about it, but some help would be appreciated.