andrewm4894 / anomstack

Anomstack - Painless open source anomaly detection for your metrics 📈📉🚀
https://andrewm4894.github.io/anomstack/
MIT License
83 stars 6 forks source link

Add max runtime for job in dagster #54

Closed andrewm4894 closed 7 months ago

andrewm4894 commented 7 months ago

This pull request adds a new feature to the job definitions in the dagster codebase. It introduces a new tag called MAX_RUNTIME_SECONDS_TAG that allows users to set a maximum runtime for each job. This feature is useful for monitoring and managing job execution time.

Refactor job definitions with MAX_RUNTIME_SECONDS_TAG

This pull request also includes a refactoring of the job definitions in the codebase to use the new MAX_RUNTIME_SECONDS_TAG tag. This refactoring ensures that the maximum runtime is properly set for each job.

MAX_RUNTIME_SECONDS_TAG can be set via the new ANOMSTACK_MAX_RUNTIME_SECONDS_TAG env variable.