pepe-http 0.55.1 → 0.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/completions/_pepe CHANGED
@@ -39,6 +39,7 @@ _pepe() {
39
39
  '--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
40
40
  '*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
41
41
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
42
+ '--events=[Write the run as it goes to FILE (- for stdout), a JSON line at a time\: start, progress a second, anomalies, steering, and the report last]:FILE:_files' \
42
43
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
43
44
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
44
45
  '--max-rate=[Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers]:PER_SECOND:_default' \
@@ -63,6 +64,7 @@ _pepe() {
63
64
  '--disable-keepalive[Disable HTTP keepalive, e.g. Connection\: close]' \
64
65
  '--disable-redirects[Prevent http redirects]' \
65
66
  '--json[Output results in JSON format]' \
67
+ '--histogram[The report keeps the latency'\''s histogram whole (\`summary.latency.histogram_us\`), for a server to add workers'\'' reports up exactly]' \
66
68
  '--dry-run[Say what would be sent, to where and how much, and send nothing; as JSON with --json]' \
67
69
  '-i[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
68
70
  '--setup[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
@@ -119,6 +121,7 @@ fail\:"A failure"))' \
119
121
  '--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
120
122
  '*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
121
123
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
124
+ '--events=[Write the run as it goes to FILE (- for stdout), a JSON line at a time\: start, progress a second, anomalies, steering, and the report last]:FILE:_files' \
122
125
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
123
126
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
124
127
  '--max-rate=[Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers]:PER_SECOND:_default' \
@@ -156,6 +159,7 @@ fail\:"A failure"))' \
156
159
  '--disable-keepalive[Disable HTTP keepalive, e.g. Connection\: close]' \
157
160
  '--disable-redirects[Prevent http redirects]' \
158
161
  '--json[Output results in JSON format]' \
162
+ '--histogram[The report keeps the latency'\''s histogram whole (\`summary.latency.histogram_us\`), for a server to add workers'\'' reports up exactly]' \
159
163
  '--dry-run[Say what would be sent, to where and how much, and send nothing; as JSON with --json]' \
160
164
  '-i[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
161
165
  '--setup[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
@@ -194,6 +198,7 @@ _arguments "${_arguments_options[@]}" : \
194
198
  '--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
195
199
  '*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
196
200
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
201
+ '--events=[Write the run as it goes to FILE (- for stdout), a JSON line at a time\: start, progress a second, anomalies, steering, and the report last]:FILE:_files' \
197
202
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
198
203
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
199
204
  '--max-rate=[Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers]:PER_SECOND:_default' \
@@ -216,6 +221,7 @@ _arguments "${_arguments_options[@]}" : \
216
221
  '--disable-keepalive[Disable HTTP keepalive, e.g. Connection\: close]' \
217
222
  '--disable-redirects[Prevent http redirects]' \
218
223
  '--json[Output results in JSON format]' \
224
+ '--histogram[The report keeps the latency'\''s histogram whole (\`summary.latency.histogram_us\`), for a server to add workers'\'' reports up exactly]' \
219
225
  '--dry-run[Say what would be sent, to where and how much, and send nothing; as JSON with --json]' \
220
226
  '-i[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
221
227
  '--setup[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
@@ -250,6 +256,7 @@ _arguments "${_arguments_options[@]}" : \
250
256
  '--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
251
257
  '*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
252
258
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
259
+ '--events=[Write the run as it goes to FILE (- for stdout), a JSON line at a time\: start, progress a second, anomalies, steering, and the report last]:FILE:_files' \
253
260
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
254
261
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
255
262
  '--max-rate=[Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers]:PER_SECOND:_default' \
@@ -273,6 +280,7 @@ _arguments "${_arguments_options[@]}" : \
273
280
  '--disable-keepalive[Disable HTTP keepalive, e.g. Connection\: close]' \
274
281
  '--disable-redirects[Prevent http redirects]' \
275
282
  '--json[Output results in JSON format]' \
283
+ '--histogram[The report keeps the latency'\''s histogram whole (\`summary.latency.histogram_us\`), for a server to add workers'\'' reports up exactly]' \
276
284
  '--dry-run[Say what would be sent, to where and how much, and send nothing; as JSON with --json]' \
277
285
  '-i[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
278
286
  '--setup[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
@@ -307,6 +315,7 @@ _arguments "${_arguments_options[@]}" : \
307
315
  '--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
308
316
  '*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
309
317
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
318
+ '--events=[Write the run as it goes to FILE (- for stdout), a JSON line at a time\: start, progress a second, anomalies, steering, and the report last]:FILE:_files' \
310
319
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
311
320
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
312
321
  '--max-rate=[Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers]:PER_SECOND:_default' \
@@ -330,6 +339,7 @@ _arguments "${_arguments_options[@]}" : \
330
339
  '--disable-keepalive[Disable HTTP keepalive, e.g. Connection\: close]' \
331
340
  '--disable-redirects[Prevent http redirects]' \
332
341
  '--json[Output results in JSON format]' \
342
+ '--histogram[The report keeps the latency'\''s histogram whole (\`summary.latency.histogram_us\`), for a server to add workers'\'' reports up exactly]' \
333
343
  '--dry-run[Say what would be sent, to where and how much, and send nothing; as JSON with --json]' \
334
344
  '-i[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
335
345
  '--setup[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
@@ -363,6 +373,7 @@ _arguments "${_arguments_options[@]}" : \
363
373
  '--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
364
374
  '*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
365
375
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
376
+ '--events=[Write the run as it goes to FILE (- for stdout), a JSON line at a time\: start, progress a second, anomalies, steering, and the report last]:FILE:_files' \
366
377
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
367
378
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
368
379
  '--max-rate=[Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers]:PER_SECOND:_default' \
@@ -385,6 +396,7 @@ _arguments "${_arguments_options[@]}" : \
385
396
  '--disable-keepalive[Disable HTTP keepalive, e.g. Connection\: close]' \
386
397
  '--disable-redirects[Prevent http redirects]' \
387
398
  '--json[Output results in JSON format]' \
399
+ '--histogram[The report keeps the latency'\''s histogram whole (\`summary.latency.histogram_us\`), for a server to add workers'\'' reports up exactly]' \
388
400
  '--dry-run[Say what would be sent, to where and how much, and send nothing; as JSON with --json]' \
389
401
  '-i[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
390
402
  '--setup[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
@@ -424,6 +436,7 @@ _arguments "${_arguments_options[@]}" : \
424
436
  '--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
425
437
  '*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
426
438
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
439
+ '--events=[Write the run as it goes to FILE (- for stdout), a JSON line at a time\: start, progress a second, anomalies, steering, and the report last]:FILE:_files' \
427
440
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
428
441
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
429
442
  '--max-rate=[Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers]:PER_SECOND:_default' \
@@ -448,6 +461,7 @@ _arguments "${_arguments_options[@]}" : \
448
461
  '--disable-keepalive[Disable HTTP keepalive, e.g. Connection\: close]' \
449
462
  '--disable-redirects[Prevent http redirects]' \
450
463
  '--json[Output results in JSON format]' \
464
+ '--histogram[The report keeps the latency'\''s histogram whole (\`summary.latency.histogram_us\`), for a server to add workers'\'' reports up exactly]' \
451
465
  '--dry-run[Say what would be sent, to where and how much, and send nothing; as JSON with --json]' \
452
466
  '-i[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
453
467
  '--setup[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
@@ -481,6 +495,7 @@ _arguments "${_arguments_options[@]}" : \
481
495
  '--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
482
496
  '*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
483
497
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
498
+ '--events=[Write the run as it goes to FILE (- for stdout), a JSON line at a time\: start, progress a second, anomalies, steering, and the report last]:FILE:_files' \
484
499
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
485
500
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
486
501
  '--max-rate=[Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers]:PER_SECOND:_default' \
@@ -503,6 +518,7 @@ _arguments "${_arguments_options[@]}" : \
503
518
  '--disable-keepalive[Disable HTTP keepalive, e.g. Connection\: close]' \
504
519
  '--disable-redirects[Prevent http redirects]' \
505
520
  '--json[Output results in JSON format]' \
521
+ '--histogram[The report keeps the latency'\''s histogram whole (\`summary.latency.histogram_us\`), for a server to add workers'\'' reports up exactly]' \
506
522
  '--dry-run[Say what would be sent, to where and how much, and send nothing; as JSON with --json]' \
507
523
  '-i[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
508
524
  '--setup[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
@@ -538,6 +554,7 @@ _arguments "${_arguments_options[@]}" : \
538
554
  '--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
539
555
  '*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
540
556
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
557
+ '--events=[Write the run as it goes to FILE (- for stdout), a JSON line at a time\: start, progress a second, anomalies, steering, and the report last]:FILE:_files' \
541
558
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
542
559
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
543
560
  '--max-rate=[Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers]:PER_SECOND:_default' \
@@ -561,6 +578,7 @@ _arguments "${_arguments_options[@]}" : \
561
578
  '--disable-keepalive[Disable HTTP keepalive, e.g. Connection\: close]' \
562
579
  '--disable-redirects[Prevent http redirects]' \
563
580
  '--json[Output results in JSON format]' \
581
+ '--histogram[The report keeps the latency'\''s histogram whole (\`summary.latency.histogram_us\`), for a server to add workers'\'' reports up exactly]' \
564
582
  '--dry-run[Say what would be sent, to where and how much, and send nothing; as JSON with --json]' \
565
583
  '-i[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
566
584
  '--setup[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
@@ -602,6 +620,7 @@ _arguments "${_arguments_options[@]}" : \
602
620
  '--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
603
621
  '*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
604
622
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
623
+ '--events=[Write the run as it goes to FILE (- for stdout), a JSON line at a time\: start, progress a second, anomalies, steering, and the report last]:FILE:_files' \
605
624
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
606
625
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
607
626
  '--max-rate=[Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers]:PER_SECOND:_default' \
@@ -626,6 +645,7 @@ _arguments "${_arguments_options[@]}" : \
626
645
  '--disable-keepalive[Disable HTTP keepalive, e.g. Connection\: close]' \
627
646
  '--disable-redirects[Prevent http redirects]' \
628
647
  '--json[Output results in JSON format]' \
648
+ '--histogram[The report keeps the latency'\''s histogram whole (\`summary.latency.histogram_us\`), for a server to add workers'\'' reports up exactly]' \
629
649
  '--dry-run[Say what would be sent, to where and how much, and send nothing; as JSON with --json]' \
630
650
  '-i[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
631
651
  '--setup[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
@@ -659,6 +679,7 @@ _arguments "${_arguments_options[@]}" : \
659
679
  '--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
660
680
  '*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
661
681
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
682
+ '--events=[Write the run as it goes to FILE (- for stdout), a JSON line at a time\: start, progress a second, anomalies, steering, and the report last]:FILE:_files' \
662
683
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
663
684
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
664
685
  '--max-rate=[Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers]:PER_SECOND:_default' \
@@ -681,6 +702,7 @@ _arguments "${_arguments_options[@]}" : \
681
702
  '--disable-keepalive[Disable HTTP keepalive, e.g. Connection\: close]' \
682
703
  '--disable-redirects[Prevent http redirects]' \
683
704
  '--json[Output results in JSON format]' \
705
+ '--histogram[The report keeps the latency'\''s histogram whole (\`summary.latency.histogram_us\`), for a server to add workers'\'' reports up exactly]' \
684
706
  '--dry-run[Say what would be sent, to where and how much, and send nothing; as JSON with --json]' \
685
707
  '-i[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
686
708
  '--setup[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
@@ -714,6 +736,7 @@ _arguments "${_arguments_options[@]}" : \
714
736
  '--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
715
737
  '*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
716
738
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
739
+ '--events=[Write the run as it goes to FILE (- for stdout), a JSON line at a time\: start, progress a second, anomalies, steering, and the report last]:FILE:_files' \
717
740
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
718
741
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
719
742
  '--max-rate=[Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers]:PER_SECOND:_default' \
@@ -736,6 +759,125 @@ _arguments "${_arguments_options[@]}" : \
736
759
  '--disable-keepalive[Disable HTTP keepalive, e.g. Connection\: close]' \
737
760
  '--disable-redirects[Prevent http redirects]' \
738
761
  '--json[Output results in JSON format]' \
762
+ '--histogram[The report keeps the latency'\''s histogram whole (\`summary.latency.histogram_us\`), for a server to add workers'\'' reports up exactly]' \
763
+ '--dry-run[Say what would be sent, to where and how much, and send nothing; as JSON with --json]' \
764
+ '-i[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
765
+ '--setup[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
766
+ '--record[Keep the run'\''s report under its saved test when it ends, as ./.pepe/runs/NAME/<moment>.json; the run has to be a saved test (--load NAME, or --keep NAME)]' \
767
+ && ret=0
768
+ ;;
769
+ (serve)
770
+ _arguments "${_arguments_options[@]}" : \
771
+ '--listen=[Where to listen\: 127.0.0.1\:7878 by default. Any address but loopback needs --allow-host and the --max-requests, --max-rate and --max-concurrency caps]:ADDR:_default' \
772
+ '--token-file=[The tokens that may call the API, a line each\: \`name token\`, or the token alone. Without one, a token is made and printed]:FILE:_files' \
773
+ '--max-runs=[Runs going at once, on this machine and the workers together]:N:_default' \
774
+ '-n+[Number of requests to perform]:NUMBER:_default' \
775
+ '--number=[Number of requests to perform]:NUMBER:_default' \
776
+ '-z+[Duration of the test, e.g. 10s, 3m, 2h (mutually exclusive with -n)]:DURATION:_default' \
777
+ '--duration=[Duration of the test, e.g. 10s, 3m, 2h (mutually exclusive with -n)]:DURATION:_default' \
778
+ '-m+[HTTP method, e.g. GET, POST, PUT, DELETE]:METHOD:_default' \
779
+ '--method=[HTTP method, e.g. GET, POST, PUT, DELETE]:METHOD:_default' \
780
+ '*-H+[HTTP headers, e.g. -H '\''Accept\: application/json'\'']:HEADERS:_default' \
781
+ '*--headers=[HTTP headers, e.g. -H '\''Accept\: application/json'\'']:HEADERS:_default' \
782
+ '-t+[Time in seconds to wait for a response]:TIMEOUT:_default' \
783
+ '--timeout=[Time in seconds to wait for a response]:TIMEOUT:_default' \
784
+ '--warmup=[Send for this long before measuring, e.g. 5s\: connections open, caches fill and JITs settle without counting against the run]:TIME:_default' \
785
+ '--threads=[Threads sending requests (default 1), or "auto" to add one whenever those sending are all busy. One sends 100k requests a second or more; the dashboard says when it is the limit]:N|auto:_default' \
786
+ '--rate=[Start this many requests a second, spread evenly, instead of as many as the concurrency allows; -c is then the most in flight at once, and pepe says when it holds the rate back]:PER_SECOND:_default' \
787
+ '-d+[HTTP request body]:BODY:_default' \
788
+ '--body=[HTTP request body]:BODY:_default' \
789
+ '-p+[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
790
+ '--proxy=[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
791
+ '--trace-header=[Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server'\''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for]:NAME:_default' \
792
+ '--vars=[Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them\: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row'\''s values]:FILE:_files' \
793
+ '*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
794
+ '--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
795
+ '--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
796
+ '*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
797
+ '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
798
+ '--events=[Write the run as it goes to FILE (- for stdout), a JSON line at a time\: start, progress a second, anomalies, steering, and the report last]:FILE:_files' \
799
+ '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
800
+ '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
801
+ '--max-rate=[Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers]:PER_SECOND:_default' \
802
+ '--max-concurrency=[Refuse a concurrency above this]:N:_default' \
803
+ '*--fail-if=[End with exit code 4 when the run crosses this, for CI and scripts\: '\''p99 > 300ms'\'', '\''errors > 1%'\''; repeat for more. The report is still printed. pepe logs takes '\''5xx > 2%'\'', '\''4xx > 20%'\'' and '\''rate < 5/s'\'' too. (pepe ping has --slo for the same.)]:CONDITION:_default' \
804
+ '--metrics=[Serve the live numbers for Prometheus at http\://ADDR/metrics while the run goes, e.g. \:9100 or 127.0.0.1\:9100, so a soak run or a long ping shows up in Grafana next to the server'\''s own]:ADDR:_default' \
805
+ '--config=[Read settings from this file instead of ./pepe.toml; flags on the command line win over it]:FILE:_files' \
806
+ '--write-config=[Write the settings as they stand to this file, as a pepe.toml, and exit]:FILE:_files' \
807
+ '(--config)--load=[Run a test saved on the setup screen (ctrl-s)\: ./.pepe/tests/NAME.toml; flags on the command line win over it]:NAME:_default' \
808
+ '--keep=[Keep the settings as they stand as a saved test, ./.pepe/tests/NAME.toml, then run. With --load and no NAME, the loaded test is updated in place; with another NAME, it'\''s copied]::NAME:_default' \
809
+ '-c+[Number of concurrent requests at a time]:CONCURRENCY:_default' \
810
+ '--concurrency=[Number of concurrent requests at a time]:CONCURRENCY:_default' \
811
+ '-u+[User-Agent string, default is pepe/{version}]:USER_AGENT:_default' \
812
+ '--user-agent=[User-Agent string, default is pepe/{version}]:USER_AGENT:_default' \
813
+ '-h[Print help]' \
814
+ '--help[Print help]' \
815
+ '-k[Accept invalid TLS certificates (self-signed, expired, wrong host)]' \
816
+ '--insecure[Accept invalid TLS certificates (self-signed, expired, wrong host)]' \
817
+ '--disable-compression[Disable HTTP compression, e.g. gzip]' \
818
+ '--disable-keepalive[Disable HTTP keepalive, e.g. Connection\: close]' \
819
+ '--disable-redirects[Prevent http redirects]' \
820
+ '--json[Output results in JSON format]' \
821
+ '--histogram[The report keeps the latency'\''s histogram whole (\`summary.latency.histogram_us\`), for a server to add workers'\'' reports up exactly]' \
822
+ '--dry-run[Say what would be sent, to where and how much, and send nothing; as JSON with --json]' \
823
+ '-i[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
824
+ '--setup[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
825
+ '--record[Keep the run'\''s report under its saved test when it ends, as ./.pepe/runs/NAME/<moment>.json; the run has to be a saved test (--load NAME, or --keep NAME)]' \
826
+ && ret=0
827
+ ;;
828
+ (worker)
829
+ _arguments "${_arguments_options[@]}" : \
830
+ '--join=[The \`pepe serve\` to join\: http\://host\:7878]:URL:_default' \
831
+ '--name=[What the server calls this worker\: the host name by default]:NAME:_default' \
832
+ '--token-file=[A file with the token to join with (the server'\''s token file takes it); else \$PEPE_TOKEN]:FILE:_files' \
833
+ '-n+[Number of requests to perform]:NUMBER:_default' \
834
+ '--number=[Number of requests to perform]:NUMBER:_default' \
835
+ '-z+[Duration of the test, e.g. 10s, 3m, 2h (mutually exclusive with -n)]:DURATION:_default' \
836
+ '--duration=[Duration of the test, e.g. 10s, 3m, 2h (mutually exclusive with -n)]:DURATION:_default' \
837
+ '-m+[HTTP method, e.g. GET, POST, PUT, DELETE]:METHOD:_default' \
838
+ '--method=[HTTP method, e.g. GET, POST, PUT, DELETE]:METHOD:_default' \
839
+ '*-H+[HTTP headers, e.g. -H '\''Accept\: application/json'\'']:HEADERS:_default' \
840
+ '*--headers=[HTTP headers, e.g. -H '\''Accept\: application/json'\'']:HEADERS:_default' \
841
+ '-t+[Time in seconds to wait for a response]:TIMEOUT:_default' \
842
+ '--timeout=[Time in seconds to wait for a response]:TIMEOUT:_default' \
843
+ '--warmup=[Send for this long before measuring, e.g. 5s\: connections open, caches fill and JITs settle without counting against the run]:TIME:_default' \
844
+ '--threads=[Threads sending requests (default 1), or "auto" to add one whenever those sending are all busy. One sends 100k requests a second or more; the dashboard says when it is the limit]:N|auto:_default' \
845
+ '--rate=[Start this many requests a second, spread evenly, instead of as many as the concurrency allows; -c is then the most in flight at once, and pepe says when it holds the rate back]:PER_SECOND:_default' \
846
+ '-d+[HTTP request body]:BODY:_default' \
847
+ '--body=[HTTP request body]:BODY:_default' \
848
+ '-p+[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
849
+ '--proxy=[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
850
+ '--trace-header=[Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server'\''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for]:NAME:_default' \
851
+ '--vars=[Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them\: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row'\''s values]:FILE:_files' \
852
+ '*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
853
+ '--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
854
+ '--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
855
+ '*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
856
+ '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
857
+ '--events=[Write the run as it goes to FILE (- for stdout), a JSON line at a time\: start, progress a second, anomalies, steering, and the report last]:FILE:_files' \
858
+ '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
859
+ '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
860
+ '--max-rate=[Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers]:PER_SECOND:_default' \
861
+ '--max-concurrency=[Refuse a concurrency above this]:N:_default' \
862
+ '*--fail-if=[End with exit code 4 when the run crosses this, for CI and scripts\: '\''p99 > 300ms'\'', '\''errors > 1%'\''; repeat for more. The report is still printed. pepe logs takes '\''5xx > 2%'\'', '\''4xx > 20%'\'' and '\''rate < 5/s'\'' too. (pepe ping has --slo for the same.)]:CONDITION:_default' \
863
+ '--metrics=[Serve the live numbers for Prometheus at http\://ADDR/metrics while the run goes, e.g. \:9100 or 127.0.0.1\:9100, so a soak run or a long ping shows up in Grafana next to the server'\''s own]:ADDR:_default' \
864
+ '--config=[Read settings from this file instead of ./pepe.toml; flags on the command line win over it]:FILE:_files' \
865
+ '--write-config=[Write the settings as they stand to this file, as a pepe.toml, and exit]:FILE:_files' \
866
+ '(--config)--load=[Run a test saved on the setup screen (ctrl-s)\: ./.pepe/tests/NAME.toml; flags on the command line win over it]:NAME:_default' \
867
+ '--keep=[Keep the settings as they stand as a saved test, ./.pepe/tests/NAME.toml, then run. With --load and no NAME, the loaded test is updated in place; with another NAME, it'\''s copied]::NAME:_default' \
868
+ '-c+[Number of concurrent requests at a time]:CONCURRENCY:_default' \
869
+ '--concurrency=[Number of concurrent requests at a time]:CONCURRENCY:_default' \
870
+ '-u+[User-Agent string, default is pepe/{version}]:USER_AGENT:_default' \
871
+ '--user-agent=[User-Agent string, default is pepe/{version}]:USER_AGENT:_default' \
872
+ '-h[Print help]' \
873
+ '--help[Print help]' \
874
+ '-k[Accept invalid TLS certificates (self-signed, expired, wrong host)]' \
875
+ '--insecure[Accept invalid TLS certificates (self-signed, expired, wrong host)]' \
876
+ '--disable-compression[Disable HTTP compression, e.g. gzip]' \
877
+ '--disable-keepalive[Disable HTTP keepalive, e.g. Connection\: close]' \
878
+ '--disable-redirects[Prevent http redirects]' \
879
+ '--json[Output results in JSON format]' \
880
+ '--histogram[The report keeps the latency'\''s histogram whole (\`summary.latency.histogram_us\`), for a server to add workers'\'' reports up exactly]' \
739
881
  '--dry-run[Say what would be sent, to where and how much, and send nothing; as JSON with --json]' \
740
882
  '-i[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
741
883
  '--setup[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
@@ -768,6 +910,7 @@ _arguments "${_arguments_options[@]}" : \
768
910
  '--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
769
911
  '*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
770
912
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
913
+ '--events=[Write the run as it goes to FILE (- for stdout), a JSON line at a time\: start, progress a second, anomalies, steering, and the report last]:FILE:_files' \
771
914
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
772
915
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
773
916
  '--max-rate=[Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers]:PER_SECOND:_default' \
@@ -792,6 +935,7 @@ _arguments "${_arguments_options[@]}" : \
792
935
  '--disable-keepalive[Disable HTTP keepalive, e.g. Connection\: close]' \
793
936
  '--disable-redirects[Prevent http redirects]' \
794
937
  '--json[Output results in JSON format]' \
938
+ '--histogram[The report keeps the latency'\''s histogram whole (\`summary.latency.histogram_us\`), for a server to add workers'\'' reports up exactly]' \
795
939
  '--dry-run[Say what would be sent, to where and how much, and send nothing; as JSON with --json]' \
796
940
  '-i[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
797
941
  '--setup[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
@@ -824,6 +968,7 @@ _arguments "${_arguments_options[@]}" : \
824
968
  '--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
825
969
  '*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
826
970
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
971
+ '--events=[Write the run as it goes to FILE (- for stdout), a JSON line at a time\: start, progress a second, anomalies, steering, and the report last]:FILE:_files' \
827
972
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
828
973
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
829
974
  '--max-rate=[Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers]:PER_SECOND:_default' \
@@ -848,6 +993,7 @@ _arguments "${_arguments_options[@]}" : \
848
993
  '--disable-keepalive[Disable HTTP keepalive, e.g. Connection\: close]' \
849
994
  '--disable-redirects[Prevent http redirects]' \
850
995
  '--json[Output results in JSON format]' \
996
+ '--histogram[The report keeps the latency'\''s histogram whole (\`summary.latency.histogram_us\`), for a server to add workers'\'' reports up exactly]' \
851
997
  '-i[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
852
998
  '--setup[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
853
999
  '--record[Keep the run'\''s report under its saved test when it ends, as ./.pepe/runs/NAME/<moment>.json; the run has to be a saved test (--load NAME, or --keep NAME)]' \
@@ -880,6 +1026,7 @@ _arguments "${_arguments_options[@]}" : \
880
1026
  '--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
881
1027
  '*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
882
1028
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
1029
+ '--events=[Write the run as it goes to FILE (- for stdout), a JSON line at a time\: start, progress a second, anomalies, steering, and the report last]:FILE:_files' \
883
1030
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
884
1031
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
885
1032
  '--max-rate=[Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers]:PER_SECOND:_default' \
@@ -902,6 +1049,7 @@ _arguments "${_arguments_options[@]}" : \
902
1049
  '--disable-keepalive[Disable HTTP keepalive, e.g. Connection\: close]' \
903
1050
  '--disable-redirects[Prevent http redirects]' \
904
1051
  '--json[Output results in JSON format]' \
1052
+ '--histogram[The report keeps the latency'\''s histogram whole (\`summary.latency.histogram_us\`), for a server to add workers'\'' reports up exactly]' \
905
1053
  '--dry-run[Say what would be sent, to where and how much, and send nothing; as JSON with --json]' \
906
1054
  '-i[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
907
1055
  '--setup[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
@@ -944,6 +1092,7 @@ _arguments "${_arguments_options[@]}" : \
944
1092
  '--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
945
1093
  '*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
946
1094
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
1095
+ '--events=[Write the run as it goes to FILE (- for stdout), a JSON line at a time\: start, progress a second, anomalies, steering, and the report last]:FILE:_files' \
947
1096
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
948
1097
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
949
1098
  '--max-rate=[Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers]:PER_SECOND:_default' \
@@ -966,6 +1115,7 @@ _arguments "${_arguments_options[@]}" : \
966
1115
  '--disable-keepalive[Disable HTTP keepalive, e.g. Connection\: close]' \
967
1116
  '--disable-redirects[Prevent http redirects]' \
968
1117
  '--json[Output results in JSON format]' \
1118
+ '--histogram[The report keeps the latency'\''s histogram whole (\`summary.latency.histogram_us\`), for a server to add workers'\'' reports up exactly]' \
969
1119
  '--dry-run[Say what would be sent, to where and how much, and send nothing; as JSON with --json]' \
970
1120
  '-i[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
971
1121
  '--setup[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
@@ -998,6 +1148,7 @@ _arguments "${_arguments_options[@]}" : \
998
1148
  '--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
999
1149
  '*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
1000
1150
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
1151
+ '--events=[Write the run as it goes to FILE (- for stdout), a JSON line at a time\: start, progress a second, anomalies, steering, and the report last]:FILE:_files' \
1001
1152
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
1002
1153
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
1003
1154
  '--max-rate=[Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers]:PER_SECOND:_default' \
@@ -1020,6 +1171,7 @@ _arguments "${_arguments_options[@]}" : \
1020
1171
  '--disable-keepalive[Disable HTTP keepalive, e.g. Connection\: close]' \
1021
1172
  '--disable-redirects[Prevent http redirects]' \
1022
1173
  '--json[Output results in JSON format]' \
1174
+ '--histogram[The report keeps the latency'\''s histogram whole (\`summary.latency.histogram_us\`), for a server to add workers'\'' reports up exactly]' \
1023
1175
  '--dry-run[Say what would be sent, to where and how much, and send nothing; as JSON with --json]' \
1024
1176
  '-i[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
1025
1177
  '--setup[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
@@ -1052,6 +1204,7 @@ _arguments "${_arguments_options[@]}" : \
1052
1204
  '--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
1053
1205
  '*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
1054
1206
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
1207
+ '--events=[Write the run as it goes to FILE (- for stdout), a JSON line at a time\: start, progress a second, anomalies, steering, and the report last]:FILE:_files' \
1055
1208
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
1056
1209
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
1057
1210
  '--max-rate=[Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers]:PER_SECOND:_default' \
@@ -1074,6 +1227,7 @@ _arguments "${_arguments_options[@]}" : \
1074
1227
  '--disable-keepalive[Disable HTTP keepalive, e.g. Connection\: close]' \
1075
1228
  '--disable-redirects[Prevent http redirects]' \
1076
1229
  '--json[Output results in JSON format]' \
1230
+ '--histogram[The report keeps the latency'\''s histogram whole (\`summary.latency.histogram_us\`), for a server to add workers'\'' reports up exactly]' \
1077
1231
  '--dry-run[Say what would be sent, to where and how much, and send nothing; as JSON with --json]' \
1078
1232
  '-i[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
1079
1233
  '--setup[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
@@ -1107,6 +1261,7 @@ _arguments "${_arguments_options[@]}" : \
1107
1261
  '--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
1108
1262
  '*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
1109
1263
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
1264
+ '--events=[Write the run as it goes to FILE (- for stdout), a JSON line at a time\: start, progress a second, anomalies, steering, and the report last]:FILE:_files' \
1110
1265
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
1111
1266
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
1112
1267
  '--max-rate=[Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers]:PER_SECOND:_default' \
@@ -1129,6 +1284,7 @@ _arguments "${_arguments_options[@]}" : \
1129
1284
  '--disable-keepalive[Disable HTTP keepalive, e.g. Connection\: close]' \
1130
1285
  '--disable-redirects[Prevent http redirects]' \
1131
1286
  '--json[Output results in JSON format]' \
1287
+ '--histogram[The report keeps the latency'\''s histogram whole (\`summary.latency.histogram_us\`), for a server to add workers'\'' reports up exactly]' \
1132
1288
  '--dry-run[Say what would be sent, to where and how much, and send nothing; as JSON with --json]' \
1133
1289
  '-i[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
1134
1290
  '--setup[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
@@ -1161,6 +1317,7 @@ _arguments "${_arguments_options[@]}" : \
1161
1317
  '--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
1162
1318
  '*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
1163
1319
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
1320
+ '--events=[Write the run as it goes to FILE (- for stdout), a JSON line at a time\: start, progress a second, anomalies, steering, and the report last]:FILE:_files' \
1164
1321
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
1165
1322
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
1166
1323
  '--max-rate=[Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers]:PER_SECOND:_default' \
@@ -1183,6 +1340,7 @@ _arguments "${_arguments_options[@]}" : \
1183
1340
  '--disable-keepalive[Disable HTTP keepalive, e.g. Connection\: close]' \
1184
1341
  '--disable-redirects[Prevent http redirects]' \
1185
1342
  '--json[Output results in JSON format]' \
1343
+ '--histogram[The report keeps the latency'\''s histogram whole (\`summary.latency.histogram_us\`), for a server to add workers'\'' reports up exactly]' \
1186
1344
  '--dry-run[Say what would be sent, to where and how much, and send nothing; as JSON with --json]' \
1187
1345
  '-i[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
1188
1346
  '--setup[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
@@ -1216,6 +1374,7 @@ _arguments "${_arguments_options[@]}" : \
1216
1374
  '--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
1217
1375
  '*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
1218
1376
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
1377
+ '--events=[Write the run as it goes to FILE (- for stdout), a JSON line at a time\: start, progress a second, anomalies, steering, and the report last]:FILE:_files' \
1219
1378
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
1220
1379
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
1221
1380
  '--max-rate=[Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers]:PER_SECOND:_default' \
@@ -1238,6 +1397,7 @@ _arguments "${_arguments_options[@]}" : \
1238
1397
  '--disable-keepalive[Disable HTTP keepalive, e.g. Connection\: close]' \
1239
1398
  '--disable-redirects[Prevent http redirects]' \
1240
1399
  '--json[Output results in JSON format]' \
1400
+ '--histogram[The report keeps the latency'\''s histogram whole (\`summary.latency.histogram_us\`), for a server to add workers'\'' reports up exactly]' \
1241
1401
  '--dry-run[Say what would be sent, to where and how much, and send nothing; as JSON with --json]' \
1242
1402
  '-i[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
1243
1403
  '--setup[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
@@ -1270,6 +1430,7 @@ _arguments "${_arguments_options[@]}" : \
1270
1430
  '--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
1271
1431
  '*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
1272
1432
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
1433
+ '--events=[Write the run as it goes to FILE (- for stdout), a JSON line at a time\: start, progress a second, anomalies, steering, and the report last]:FILE:_files' \
1273
1434
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
1274
1435
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
1275
1436
  '--max-rate=[Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers]:PER_SECOND:_default' \
@@ -1292,6 +1453,7 @@ _arguments "${_arguments_options[@]}" : \
1292
1453
  '--disable-keepalive[Disable HTTP keepalive, e.g. Connection\: close]' \
1293
1454
  '--disable-redirects[Prevent http redirects]' \
1294
1455
  '--json[Output results in JSON format]' \
1456
+ '--histogram[The report keeps the latency'\''s histogram whole (\`summary.latency.histogram_us\`), for a server to add workers'\'' reports up exactly]' \
1295
1457
  '--dry-run[Say what would be sent, to where and how much, and send nothing; as JSON with --json]' \
1296
1458
  '-i[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
1297
1459
  '--setup[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
@@ -1379,6 +1541,7 @@ _arguments "${_arguments_options[@]}" : \
1379
1541
  '--slack=[Keep a Slack message up to date as the run goes\: posted at the start, edited with the numbers, anomalies in its thread, the verdict at the end. --slack alone posts in the channel \`pepe slack connect\` kept; --slack=#channel elsewhere]::CHANNEL:_default' \
1380
1542
  '*--export=[Write the report to FILE as well, in the format its extension says\: .html a self-contained page (curves, thresholds, the last run), .json the report, .md a summary for a PR, .txt what pepe prints, .csv the run'\''s numbers a row a second; repeat for more]:FILE:_files' \
1381
1543
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
1544
+ '--events=[Write the run as it goes to FILE (- for stdout), a JSON line at a time\: start, progress a second, anomalies, steering, and the report last]:FILE:_files' \
1382
1545
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
1383
1546
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
1384
1547
  '--max-rate=[Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers]:PER_SECOND:_default' \
@@ -1402,6 +1565,7 @@ _arguments "${_arguments_options[@]}" : \
1402
1565
  '--disable-keepalive[Disable HTTP keepalive, e.g. Connection\: close]' \
1403
1566
  '--disable-redirects[Prevent http redirects]' \
1404
1567
  '--json[Output results in JSON format]' \
1568
+ '--histogram[The report keeps the latency'\''s histogram whole (\`summary.latency.histogram_us\`), for a server to add workers'\'' reports up exactly]' \
1405
1569
  '--dry-run[Say what would be sent, to where and how much, and send nothing; as JSON with --json]' \
1406
1570
  '-i[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
1407
1571
  '--setup[Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)]' \
@@ -1465,6 +1629,14 @@ _arguments "${_arguments_options[@]}" : \
1465
1629
  _arguments "${_arguments_options[@]}" : \
1466
1630
  && ret=0
1467
1631
  ;;
1632
+ (serve)
1633
+ _arguments "${_arguments_options[@]}" : \
1634
+ && ret=0
1635
+ ;;
1636
+ (worker)
1637
+ _arguments "${_arguments_options[@]}" : \
1638
+ && ret=0
1639
+ ;;
1468
1640
  (self-update)
1469
1641
  _arguments "${_arguments_options[@]}" : \
1470
1642
  && ret=0
@@ -1548,6 +1720,8 @@ _pepe_commands() {
1548
1720
  'logs:Read nginx logs\: requests per second now, against each minute, hour and day' \
1549
1721
  'schema:Print the JSON Schema of a report\: run (the default), ramp, ping or compare' \
1550
1722
  'mcp:Serve pepe'\''s modes as tools for an agent over stdio (the Model Context Protocol); the guardrail flags given here hold for every call' \
1723
+ 'serve:Serve pepe over HTTP\: start, watch, steer and compare runs from a script, an agent or a browser; loopback and a token by default' \
1724
+ 'worker:Take a share of a \`pepe serve\`'\''s distributed runs from this machine, under its own guardrails' \
1551
1725
  'self-update:Update pepe to the latest release, or say what'\''s new in it' \
1552
1726
  'completions:Tab completion for your shell\: print the script, or --install it' \
1553
1727
  'slack:Connect pepe to Slack from here, so --slack keeps a message there up to date as a run goes' \
@@ -1595,6 +1769,8 @@ _pepe__subcmd__help_commands() {
1595
1769
  'logs:Read nginx logs\: requests per second now, against each minute, hour and day' \
1596
1770
  'schema:Print the JSON Schema of a report\: run (the default), ramp, ping or compare' \
1597
1771
  'mcp:Serve pepe'\''s modes as tools for an agent over stdio (the Model Context Protocol); the guardrail flags given here hold for every call' \
1772
+ 'serve:Serve pepe over HTTP\: start, watch, steer and compare runs from a script, an agent or a browser; loopback and a token by default' \
1773
+ 'worker:Take a share of a \`pepe serve\`'\''s distributed runs from this machine, under its own guardrails' \
1598
1774
  'self-update:Update pepe to the latest release, or say what'\''s new in it' \
1599
1775
  'completions:Tab completion for your shell\: print the script, or --install it' \
1600
1776
  'slack:Connect pepe to Slack from here, so --slack keeps a message there up to date as a run goes' \
@@ -1678,6 +1854,11 @@ _pepe__subcmd__help__subcmd__self-update_commands() {
1678
1854
  local commands; commands=()
1679
1855
  _describe -t commands 'pepe help self-update commands' commands "$@"
1680
1856
  }
1857
+ (( $+functions[_pepe__subcmd__help__subcmd__serve_commands] )) ||
1858
+ _pepe__subcmd__help__subcmd__serve_commands() {
1859
+ local commands; commands=()
1860
+ _describe -t commands 'pepe help serve commands' commands "$@"
1861
+ }
1681
1862
  (( $+functions[_pepe__subcmd__help__subcmd__slack_commands] )) ||
1682
1863
  _pepe__subcmd__help__subcmd__slack_commands() {
1683
1864
  local commands; commands=(
@@ -1726,6 +1907,11 @@ _pepe__subcmd__help__subcmd__slack__subcmd__test_commands() {
1726
1907
  local commands; commands=()
1727
1908
  _describe -t commands 'pepe help slack test commands' commands "$@"
1728
1909
  }
1910
+ (( $+functions[_pepe__subcmd__help__subcmd__worker_commands] )) ||
1911
+ _pepe__subcmd__help__subcmd__worker_commands() {
1912
+ local commands; commands=()
1913
+ _describe -t commands 'pepe help worker commands' commands "$@"
1914
+ }
1729
1915
  (( $+functions[_pepe__subcmd__history_commands] )) ||
1730
1916
  _pepe__subcmd__history_commands() {
1731
1917
  local commands; commands=()
@@ -1771,6 +1957,11 @@ _pepe__subcmd__self-update_commands() {
1771
1957
  local commands; commands=()
1772
1958
  _describe -t commands 'pepe self-update commands' commands "$@"
1773
1959
  }
1960
+ (( $+functions[_pepe__subcmd__serve_commands] )) ||
1961
+ _pepe__subcmd__serve_commands() {
1962
+ local commands; commands=()
1963
+ _describe -t commands 'pepe serve commands' commands "$@"
1964
+ }
1774
1965
  (( $+functions[_pepe__subcmd__slack_commands] )) ||
1775
1966
  _pepe__subcmd__slack_commands() {
1776
1967
  local commands; commands=(
@@ -1874,6 +2065,11 @@ _pepe__subcmd__slack__subcmd__test_commands() {
1874
2065
  local commands; commands=()
1875
2066
  _describe -t commands 'pepe slack test commands' commands "$@"
1876
2067
  }
2068
+ (( $+functions[_pepe__subcmd__worker_commands] )) ||
2069
+ _pepe__subcmd__worker_commands() {
2070
+ local commands; commands=()
2071
+ _describe -t commands 'pepe worker commands' commands "$@"
2072
+ }
1877
2073
 
1878
2074
  if [ "$funcstack[1]" = "_pepe" ]; then
1879
2075
  _pepe "$@"