<@ULVA73B9P>, For a self-hosted prefect server.. i...
# ask-community
a
@Marvin, For a self-hosted prefect server.. is there any way I can add some form of a caption or description at the top of the UI? What I'd like to do is add a description about the current environment (i.e., to differentiate PROD from DEV from a LOCAL run).. Any ideas?
m
Currently, there isn't a built-in feature in Prefect to add custom captions or descriptions directly to the UI to differentiate environments like PROD, DEV, or LOCAL. However, you can consider a workaround by using environment variables or logging configurations to include such information in your logs or flow names, which can then be visible in the Prefect UI. For example, you could set an environment variable specific to each environment and include it in your flow's name or logging messages. This way, when you view the flows in the Prefect UI, you can differentiate them based on the naming convention or log entries. For more detailed customization, you might need to delve into Prefect's open-source codebase and modify the UI components, which requires a more technical approach involving frontend development skills. For more information on Prefect's logging and environment settings, you can refer to the Prefect documentation and settings and profiles guide.