Skip to content

Commit

Permalink
fix prometheus port on dataset monitor (#420)
Browse files Browse the repository at this point in the history
* fix prometheus port on dataset monitor

* <bot> update requirements-docs.txt

* <bot> update requirements-tests.txt

* <bot> update requirements.txt

---------

Co-authored-by: github-actions <[email protected]>
  • Loading branch information
dsschult and github-actions authored Feb 5, 2025
1 parent bfe0ca7 commit a772ddb
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 20 deletions.
5 changes: 3 additions & 2 deletions iceprod/scheduled_tasks/dataset_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,9 @@ def main():

rest_client = create_rest_client(args)

logging.info("starting prometheus on {}", args.prometheus_port)
start_http_server(args.prometheus_port)
if args.prometheus_port:
logging.info("starting prometheus on {}", args.prometheus_port)
start_http_server(int(args.prometheus_port))
i = Info('iceprod', 'IceProd information')
i.info({
'version': version_string,
Expand Down
12 changes: 6 additions & 6 deletions requirements-docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ attrs==25.1.0
# via
# jsonschema
# referencing
babel==2.16.0
babel==2.17.0
# via sphinx
boto3==1.36.8
boto3==1.36.14
# via iceprod (setup.py)
botocore==1.36.8
botocore==1.36.14
# via
# boto3
# s3transfer
Expand All @@ -27,7 +27,7 @@ cachetools==5.5.1
# asyncache
# iceprod (setup.py)
# wipac-rest-tools
certifi==2024.12.14
certifi==2025.1.31
# via
# httpcore
# httpx
Expand Down Expand Up @@ -77,7 +77,7 @@ ldap3==2.9.1
# via iceprod (setup.py)
markupsafe==3.0.2
# via jinja2
motor==3.6.1
motor==3.7.0
# via iceprod (setup.py)
packaging==24.2
# via sphinx
Expand All @@ -93,7 +93,7 @@ pygments==2.19.1
# via sphinx
pyjwt[crypto]==2.10.1
# via wipac-rest-tools
pymongo==4.9.2
pymongo==4.11
# via
# iceprod (setup.py)
# motor
Expand Down
15 changes: 8 additions & 7 deletions requirements-tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ attrs==25.1.0
# via
# jsonschema
# referencing
beautifulsoup4==4.12.3
beautifulsoup4==4.13.3
# via iceprod (setup.py)
boto3==1.36.8
boto3==1.36.14
# via
# iceprod (setup.py)
# moto
botocore==1.36.8
botocore==1.36.14
# via
# boto3
# moto
Expand All @@ -28,7 +28,7 @@ cachetools==5.5.1
# asyncache
# iceprod (setup.py)
# wipac-rest-tools
certifi==2024.12.14
certifi==2025.1.31
# via
# httpcore
# httpx
Expand Down Expand Up @@ -95,9 +95,9 @@ mccabe==0.7.0
# via flake8
mock==5.1.0
# via iceprod (setup.py)
moto[s3]==5.0.27
moto[s3]==5.0.28
# via iceprod (setup.py)
motor==3.6.1
motor==3.7.0
# via iceprod (setup.py)
packaging==24.2
# via pytest
Expand All @@ -119,7 +119,7 @@ pyflakes==3.2.0
# via flake8
pyjwt[crypto]==2.10.1
# via wipac-rest-tools
pymongo==4.9.2
pymongo==4.11
# via
# iceprod (setup.py)
# motor
Expand Down Expand Up @@ -204,6 +204,7 @@ types-requests==2.32.0.20241016
typing-extensions==4.12.2
# via
# anyio
# beautifulsoup4
# pyopenssl
# referencing
# wipac-dev-tools
Expand Down
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ attrs==25.1.0
# via
# jsonschema
# referencing
boto3==1.36.8
boto3==1.36.14
# via iceprod (setup.py)
botocore==1.36.8
botocore==1.36.14
# via
# boto3
# s3transfer
Expand All @@ -23,7 +23,7 @@ cachetools==5.5.1
# asyncache
# iceprod (setup.py)
# wipac-rest-tools
certifi==2024.12.14
certifi==2025.1.31
# via
# httpcore
# httpx
Expand Down Expand Up @@ -65,7 +65,7 @@ jsonschema-specifications==2024.10.1
# via jsonschema
ldap3==2.9.1
# via iceprod (setup.py)
motor==3.6.1
motor==3.7.0
# via iceprod (setup.py)
prometheus-client==0.21.1
# via iceprod (setup.py)
Expand All @@ -77,7 +77,7 @@ pycparser==2.22
# via cffi
pyjwt[crypto]==2.10.1
# via wipac-rest-tools
pymongo==4.9.2
pymongo==4.11
# via
# iceprod (setup.py)
# motor
Expand Down

0 comments on commit a772ddb

Please sign in to comment.