Skip to content

Commit

Permalink
add SUM_MAX_INSTANCES_FETCHED
Browse files Browse the repository at this point in the history
  • Loading branch information
annelhomme committed Sep 3, 2024
1 parent f8a8311 commit 991adae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions technologies/app/saagie-usage-monitoring/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ To deploy Saagie Usage Monitoring on your platform, you need to create a user wi
- IP_HDFS (Required if MONITORING_OPT=`SAAGIE_AND_DATALAKE`) : Namenode IP
- AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_S3_ENDPOINT and AWS_REGION_NAME (Required if MONITORING_OPT=`SAAGIE_AND_S3`)
- SAAGIE_SUM_CRON : Cron to collect Saagie informations on API (Optionnal, Default value : `0 * * * *`)
- SUM_MAX_INSTANCES_FETCHED : optionnal, number of instances recovered, for jobs and pipelines. Default value: 1000 instances

For an external Postgres database :
- SAAGIE_PG_HOST : Postgresql host (Default value : `localhost`)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@


# Workaround for platforms with too many instances
MAX_INSTANCES_FETCHED = os.environ.get("SMT_MAX_INSTANCES_FETCHED", 1000)
MAX_INSTANCES_FETCHED = os.environ.get("SUM_MAX_INSTANCES_FETCHED", 1000)


class SaagieUtils(object):
Expand Down

0 comments on commit 991adae

Please sign in to comment.