act-now-coalition / can-scrapers

MIT License
9 stars 13 forks source link

Use PrefectSecret instead of EnvVarSecret for MonitorFailingScrapers flow #415

Closed smcclure17 closed 2 years ago

smcclure17 commented 2 years ago

This should revive the MonitorFailingScrapers.

In order to add slack notifying in #413, we had to set the slack webhook URL as a Prefect Secret (I used the ~/.prefect/config.toml method). This is the same URL used for the MonitorFailingScrapers flow, and accessing this secret instead of using an environment variable seems to work (although I'm still not sure why EnvVarSecret isn't working).