Skip to content

Commit 7b52c89

Browse files
committed
ft-orchestration add settings explanation
1 parent e727bf1 commit 7b52c89

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

tools/ft-orchestration/src/probe/cento.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,17 @@
5656
@typed_dataclass
5757
@dataclass
5858
class CentoSettings(ABC):
59+
"""
60+
These settings can be set in the probes.yml under `connector:`\\
61+
For example with:
62+
```
63+
connector:
64+
sample_rate: "1:1"
65+
```
66+
For information on possible values see `cento --help`\\
67+
If it's not clear which setting affects which arg see `SETTINGS_TO_ARGS` dict above\\
68+
Settings not in that dict are ignored
69+
"""
5970
# general options
6071
interfaces: List[str] = required_field()
6172
active_timeout: int = 300

tools/ft-orchestration/src/probe/nprobe.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,17 @@
6060
@typed_dataclass
6161
@dataclass
6262
class NProbeSettings(ABC):
63+
"""
64+
These settings can be set in the probes.yml under `connector:`\\
65+
For example with:
66+
```
67+
connector:
68+
sample_rate: "1:1"
69+
```
70+
For information on possible values see `nprobe --help` or `nprobe -H`\\
71+
If it's not clear which setting affects which arg see `SETTINGS_TO_ARGS` dict above\\
72+
Settings not in that dict are ignored
73+
"""
6374
# general options
6475
interfaces: List[str] = required_field()
6576
active_timeout: int = 300

0 commit comments

Comments
 (0)