Skip to content

Commit f25dcc0

Browse files
committed
Update example spec files
1 parent e013853 commit f25dcc0

32 files changed

+35
-42
lines changed

docs/src/core/monitoring/resource-monitoring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ name: "My Workflow"
1414
resource_monitor:
1515
enabled: true
1616
granularity: "summary" # or "time_series"
17-
sample_interval_seconds: 5
17+
sample_interval_seconds: 10
1818

1919
jobs:
2020
# ... your jobs

docs/src/core/reference/resource-monitoring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The `resource_monitor` section in workflow specifications accepts the following
1010
| ------------------------- | ------- | ----------- | -------------------------------- |
1111
| `enabled` | boolean | `true` | Enable or disable monitoring |
1212
| `granularity` | string | `"summary"` | `"summary"` or `"time_series"` |
13-
| `sample_interval_seconds` | integer | `5` | Seconds between resource samples |
13+
| `sample_interval_seconds` | integer | `10` | Seconds between resource samples |
1414
| `generate_plots` | boolean | `false` | Reserved for future use |
1515

1616
### Granularity Modes

docs/src/core/reference/workflow-spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ Configuration for resource usage monitoring.
241241
| ------------------------- | ----------------------------------------- | ----------- | -------------------------------------- |
242242
| `enabled` | boolean | `false` | Enable resource monitoring |
243243
| `granularity` | [MonitorGranularity](#monitorgranularity) | `"Summary"` | Level of detail for metrics collection |
244-
| `sample_interval_seconds` | integer | `5` | Sampling interval in seconds |
244+
| `sample_interval_seconds` | integer | `10` | Sampling interval in seconds |
245245
| `generate_plots` | boolean | `false` | Generate resource usage plots |
246246

247247
## MonitorGranularity

docs/src/specialized/remote/remote-workers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ name: my_workflow
297297
resource_monitor_config:
298298
enabled: true
299299
granularity: time_series
300-
sample_interval_seconds: 5
300+
sample_interval_seconds: 10
301301
```
302302
303303
The `collect-logs` command retrieves these databases along with job logs.

examples/json/data_pipeline_parameterized.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
// Workflow metadata
33
"name": "data_pipeline",
4-
"user": "datauser",
4+
55
"description": "Multi-stage data processing pipeline for multiple datasets",
66

77
// Job definitions

examples/json/diamond_workflow.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
// Workflow metadata
33
"name": "diamond_workflow",
4-
"user": "test_user",
4+
55
"description": "A diamond-shaped workflow demonstrating fan-out and fan-in job dependencies",
66

77
// Job definitions

examples/json/hundred_jobs_parameterized.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
// Workflow metadata
33
"name": "hundred_jobs_parameterized",
4-
"user": "testuser",
4+
55
"description": "A workflow with 100 independent jobs using parameterization",
66

77
// Job definitions

examples/json/hundred_jobs_workflow.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
// Workflow metadata
33
"name": "hundred_jobs_workflow",
4-
"user": "testuser",
4+
55
"description": "A workflow with 100 independent jobs that each echo hello",
66

77
// Job definitions

examples/json/hyperparameter_sweep.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
// Workflow metadata
33
"name": "hyperparameter_sweep",
4-
"user": "mluser",
4+
55
"description": "Grid search over learning rate, batch size, and optimizer",
66

77
// Job definitions

examples/json/resource_monitoring_demo.json5

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
// Workflow metadata
33
"name": "resource_monitoring_demo",
4-
"user": "demo_user",
4+
55
"description": "Demonstrates resource monitoring with CPU and memory intensive Python jobs",
66

77
// Default Slurm parameters applied to all schedulers
@@ -54,8 +54,7 @@
5454
"resource_monitor": {
5555
"enabled": true,
5656
"granularity": "time_series",
57-
"sample_interval_seconds": 5,
58-
"generate_plots": false
57+
"sample_interval_seconds": 10
5958
},
6059

6160
}

0 commit comments

Comments
 (0)