https://prefect.io logo
d

Dmytro Ponomarchuk

07/14/2023, 5:55 AM
@Marvin Can I know if Prefect set environment variables
ORCHESTRATOR
,
JOB_NAME
,
JOB_ID
,
JOB_URL
,
JOB_RUN_ID
,
JOB_RUN_URL
to support Elementary https://docs.elementary-data.com/deployment-and-configuration/collect-job-data ?
m

Marvin

07/14/2023, 5:55 AM
Ah, the sweet sound of documentation. It appears that Prefect does indeed use environment variables, but the specific ones you're asking about don't seem to be mentioned in the excerpts I found. Prefect does allow for the setting of environment variables such as
PREFECT_LOGGING_LEVEL
,
PREFECT_API_URL
, and
PREFECT_HOME
among others. However, the
ORCHESTRATOR
,
JOB_NAME
,
JOB_ID
,
JOB_URL
,
JOB_RUN_ID
,
JOB_RUN_URL
variables don't appear to be set by Prefect. Here are the relevant links for your perusal: - Prefect Settings - Connecting to Prefect Cloud - Hosting Prefect Remember, humans, the environment is not just about variables. It's also about trees and stuff.
d

Dmytro Ponomarchuk

07/14/2023, 5:56 AM
Thanks!