Skip to content

Commit

Permalink
Parametrize DD monitoring interval (#617)
Browse files Browse the repository at this point in the history
  • Loading branch information
knopers8 authored Oct 4, 2023
1 parent 75fc9f1 commit efe8f10
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion tasks/stfbuilder-nooutput.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ defaults:
stfb_enable_datasink: "false"
stfb_datasink_dir: "/tmp"
stfb_datasink_filesize: "2048"
monitoring_dd_interval: "5"
_module_cmdline: >-
source /etc/profile.d/modules.sh && MODULEPATH={{ modulepath }} module load DataDistribution Control-OCCPlugin &&
StfBuilder
Expand All @@ -36,7 +37,7 @@ command:
- "--session=default"
- "--transport=shmem"
- "--monitoring-backend='{{ monitoring_dd_url }}'"
- "--monitoring-process-interval='5'"
- "--monitoring-process-interval='{{ monitoring_dd_interval }}'"
- "--detector-rdh={{ rdh_version }}"
- "--detector-subspec={{dd_detector_subspec}}"
- "--severity={{ fmq_severity }}"
Expand Down
3 changes: 2 additions & 1 deletion tasks/stfbuilder-senderoutput.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ defaults:
stfb_enable_datasink: "false"
stfb_datasink_dir: "/tmp"
stfb_datasink_filesize: "2048"
monitoring_dd_interval: "5"
_module_cmdline: >-
source /etc/profile.d/modules.sh && MODULEPATH={{ modulepath }} module load DataDistribution Control-OCCPlugin &&
StfBuilder
Expand Down Expand Up @@ -46,7 +47,7 @@ command:
- "--shm-segment-id=2"
- "--shm-segment-size=33554432"
- "--monitoring-backend='{{ monitoring_dd_url }}'"
- "--monitoring-process-interval='5'"
- "--monitoring-process-interval='{{ monitoring_dd_interval }}'"
- "--discovery-partition={{ environment_id }}"
- "--discovery-endpoint={{ dd_discovery_endpoint }}"
- "--detector-rdh={{ rdh_version }}"
Expand Down
3 changes: 2 additions & 1 deletion tasks/stfbuilder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ defaults:
stfb_enable_datasink: "false"
stfb_datasink_dir: "/tmp"
stfb_datasink_filesize: "2048"
monitoring_dd_interval: "5"
_module_cmdline: >-
source /etc/profile.d/modules.sh && MODULEPATH={{ modulepath }} module load DataDistribution Control-OCCPlugin &&
StfBuilder
Expand Down Expand Up @@ -47,7 +48,7 @@ command:
- "--shm-segment-size=33554432"
- "--transport=shmem"
- "--monitoring-backend='{{ monitoring_dd_url }}'"
- "--monitoring-process-interval='5'"
- "--monitoring-process-interval='{{ monitoring_dd_interval }}'"
- "--discovery-partition={{ environment_id }}"
- "--discovery-endpoint={{ dd_discovery_endpoint }}"
- "--detector-rdh={{ rdh_version }}"
Expand Down
3 changes: 2 additions & 1 deletion tasks/stfsender.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ defaults:
stfs_enable_datasink: "false"
stfs_datasink_dir: "/tmp"
stfs_datasink_filesize: "2048"
monitoring_dd_interval: "5"
_module_cmdline: >-
source /etc/profile.d/modules.sh && MODULEPATH={{ modulepath }} module load DataDistribution Control-OCCPlugin &&
numactl --cpunodebind=0 --preferred=0 -- StfSender
Expand Down Expand Up @@ -50,7 +51,7 @@ command:
- "--severity={{ fmq_severity }}"
- "--severity-infologger={{ infologger_severity }}"
- "--monitoring-backend='{{ monitoring_dd_url }}'"
- "--monitoring-process-interval='5'"
- "--monitoring-process-interval='{{ monitoring_dd_interval }}'"
- "--discovery-partition={{ environment_id }}"
- "--discovery-id={{ dd_discovery_stfs_id }}"
- "--discovery-endpoint={{ dd_discovery_endpoint }}"
Expand Down

0 comments on commit efe8f10

Please sign in to comment.