You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If running multiple Agents (with Environment Labels), having access to the label setting for the Agent that kicked off execution would be useful.
Example
A Flow that monitors a k8s/Dask cluster could include the environment label in its alerts, e.g. "Found 100 nodes running in the staging environment" where staging was the label the Agent was started with.
The text was updated successfully, but these errors were encountered:
Current behavior
From within a task, basic info about an Agent is available via
prefect.context.config
:Proposed behavior
If running multiple Agents (with Environment Labels), having access to the label setting for the Agent that kicked off execution would be useful.
Example
A Flow that monitors a k8s/Dask cluster could include the environment label in its alerts, e.g. "Found 100 nodes running in the staging environment" where
staging
was the label the Agent was started with.The text was updated successfully, but these errors were encountered: