You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sub_cmd.add_argument('--b', type=int, help="Number to subtract")
179
+
180
+
if __name__ == '__main__':
181
+
Calc().start()
182
+
```
183
+
Run
184
+
```bash
185
+
$ python3 calc.py add --b 4
186
+
14
187
+
$ python3 calc.py sub --b 4
188
+
6
189
+
```
190
+
151
191
### Metric-Grouping
152
192
When writing a `Metric` using `self.log`, you can specify `type=metric`. If this is done, a background thread will automatically group multiple metrics into one by averaging values (to prevent writing too many log lines).
0 commit comments