Skip to content
New issue

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

passing environment variable in the header. #98

Open
nilesh2501 opened this issue May 11, 2020 · 1 comment
Open

passing environment variable in the header. #98

nilesh2501 opened this issue May 11, 2020 · 1 comment

Comments

@nilesh2501
Copy link

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
Copy link
Owner

mtakaki commented May 20, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants