pepe-http 0.55.2 → 0.57.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/CHANGELOG.md +231 -0
- package/completions/_pepe +196 -0
- package/completions/_pepe.ps1 +172 -0
- package/completions/pepe.bash +520 -24
- package/completions/pepe.fish +153 -17
- package/man/pepe-serve.1 +22 -0
- package/man/pepe-worker.1 +22 -0
- package/man/pepe.1 +10 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
- package/schema/run.schema.json +31 -0
package/completions/_pepe.ps1
CHANGED
|
@@ -45,6 +45,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
45
45
|
[CompletionResult]::new('--slack', '--slack', [CompletionResultType]::ParameterName, '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')
|
|
46
46
|
[CompletionResult]::new('--export', '--export', [CompletionResultType]::ParameterName, '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')
|
|
47
47
|
[CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, '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')
|
|
48
|
+
[CompletionResult]::new('--events', '--events', [CompletionResultType]::ParameterName, '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')
|
|
48
49
|
[CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, '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')
|
|
49
50
|
[CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
|
|
50
51
|
[CompletionResult]::new('--max-rate', '--max-rate', [CompletionResultType]::ParameterName, 'Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers')
|
|
@@ -69,6 +70,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
69
70
|
[CompletionResult]::new('--disable-keepalive', '--disable-keepalive', [CompletionResultType]::ParameterName, 'Disable HTTP keepalive, e.g. Connection: close')
|
|
70
71
|
[CompletionResult]::new('--disable-redirects', '--disable-redirects', [CompletionResultType]::ParameterName, 'Prevent http redirects')
|
|
71
72
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Output results in JSON format')
|
|
73
|
+
[CompletionResult]::new('--histogram', '--histogram', [CompletionResultType]::ParameterName, 'The report keeps the latency''s histogram whole (`summary.latency.histogram_us`), for a server to add workers'' reports up exactly')
|
|
72
74
|
[CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Say what would be sent, to where and how much, and send nothing; as JSON with --json')
|
|
73
75
|
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
74
76
|
[CompletionResult]::new('--setup', '--setup', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
@@ -86,6 +88,8 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
86
88
|
[CompletionResult]::new('logs', 'logs', [CompletionResultType]::ParameterValue, 'Read nginx logs: requests per second now, against each minute, hour and day')
|
|
87
89
|
[CompletionResult]::new('schema', 'schema', [CompletionResultType]::ParameterValue, 'Print the JSON Schema of a report: run (the default), ramp, ping or compare')
|
|
88
90
|
[CompletionResult]::new('mcp', 'mcp', [CompletionResultType]::ParameterValue, 'Serve pepe''s modes as tools for an agent over stdio (the Model Context Protocol); the guardrail flags given here hold for every call')
|
|
91
|
+
[CompletionResult]::new('serve', 'serve', [CompletionResultType]::ParameterValue, 'Serve pepe over HTTP: start, watch, steer and compare runs from a script, an agent or a browser; loopback and a token by default')
|
|
92
|
+
[CompletionResult]::new('worker', 'worker', [CompletionResultType]::ParameterValue, 'Take a share of a `pepe serve`''s distributed runs from this machine, under its own guardrails')
|
|
89
93
|
[CompletionResult]::new('self-update', 'self-update', [CompletionResultType]::ParameterValue, 'Update pepe to the latest release, or say what''s new in it')
|
|
90
94
|
[CompletionResult]::new('completions', 'completions', [CompletionResultType]::ParameterValue, 'Tab completion for your shell: print the script, or --install it')
|
|
91
95
|
[CompletionResult]::new('slack', 'slack', [CompletionResultType]::ParameterValue, 'Connect pepe to Slack from here, so --slack keeps a message there up to date as a run goes')
|
|
@@ -130,6 +134,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
130
134
|
[CompletionResult]::new('--slack', '--slack', [CompletionResultType]::ParameterName, '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')
|
|
131
135
|
[CompletionResult]::new('--export', '--export', [CompletionResultType]::ParameterName, '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')
|
|
132
136
|
[CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, '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')
|
|
137
|
+
[CompletionResult]::new('--events', '--events', [CompletionResultType]::ParameterName, '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')
|
|
133
138
|
[CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, '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')
|
|
134
139
|
[CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
|
|
135
140
|
[CompletionResult]::new('--max-rate', '--max-rate', [CompletionResultType]::ParameterName, 'Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers')
|
|
@@ -167,6 +172,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
167
172
|
[CompletionResult]::new('--disable-keepalive', '--disable-keepalive', [CompletionResultType]::ParameterName, 'Disable HTTP keepalive, e.g. Connection: close')
|
|
168
173
|
[CompletionResult]::new('--disable-redirects', '--disable-redirects', [CompletionResultType]::ParameterName, 'Prevent http redirects')
|
|
169
174
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Output results in JSON format')
|
|
175
|
+
[CompletionResult]::new('--histogram', '--histogram', [CompletionResultType]::ParameterName, 'The report keeps the latency''s histogram whole (`summary.latency.histogram_us`), for a server to add workers'' reports up exactly')
|
|
170
176
|
[CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Say what would be sent, to where and how much, and send nothing; as JSON with --json')
|
|
171
177
|
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
172
178
|
[CompletionResult]::new('--setup', '--setup', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
@@ -203,6 +209,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
203
209
|
[CompletionResult]::new('--slack', '--slack', [CompletionResultType]::ParameterName, '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')
|
|
204
210
|
[CompletionResult]::new('--export', '--export', [CompletionResultType]::ParameterName, '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')
|
|
205
211
|
[CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, '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')
|
|
212
|
+
[CompletionResult]::new('--events', '--events', [CompletionResultType]::ParameterName, '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')
|
|
206
213
|
[CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, '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')
|
|
207
214
|
[CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
|
|
208
215
|
[CompletionResult]::new('--max-rate', '--max-rate', [CompletionResultType]::ParameterName, 'Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers')
|
|
@@ -225,6 +232,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
225
232
|
[CompletionResult]::new('--disable-keepalive', '--disable-keepalive', [CompletionResultType]::ParameterName, 'Disable HTTP keepalive, e.g. Connection: close')
|
|
226
233
|
[CompletionResult]::new('--disable-redirects', '--disable-redirects', [CompletionResultType]::ParameterName, 'Prevent http redirects')
|
|
227
234
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Output results in JSON format')
|
|
235
|
+
[CompletionResult]::new('--histogram', '--histogram', [CompletionResultType]::ParameterName, 'The report keeps the latency''s histogram whole (`summary.latency.histogram_us`), for a server to add workers'' reports up exactly')
|
|
228
236
|
[CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Say what would be sent, to where and how much, and send nothing; as JSON with --json')
|
|
229
237
|
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
230
238
|
[CompletionResult]::new('--setup', '--setup', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
@@ -257,6 +265,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
257
265
|
[CompletionResult]::new('--slack', '--slack', [CompletionResultType]::ParameterName, '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')
|
|
258
266
|
[CompletionResult]::new('--export', '--export', [CompletionResultType]::ParameterName, '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')
|
|
259
267
|
[CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, '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')
|
|
268
|
+
[CompletionResult]::new('--events', '--events', [CompletionResultType]::ParameterName, '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')
|
|
260
269
|
[CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, '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')
|
|
261
270
|
[CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
|
|
262
271
|
[CompletionResult]::new('--max-rate', '--max-rate', [CompletionResultType]::ParameterName, 'Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers')
|
|
@@ -280,6 +289,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
280
289
|
[CompletionResult]::new('--disable-keepalive', '--disable-keepalive', [CompletionResultType]::ParameterName, 'Disable HTTP keepalive, e.g. Connection: close')
|
|
281
290
|
[CompletionResult]::new('--disable-redirects', '--disable-redirects', [CompletionResultType]::ParameterName, 'Prevent http redirects')
|
|
282
291
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Output results in JSON format')
|
|
292
|
+
[CompletionResult]::new('--histogram', '--histogram', [CompletionResultType]::ParameterName, 'The report keeps the latency''s histogram whole (`summary.latency.histogram_us`), for a server to add workers'' reports up exactly')
|
|
283
293
|
[CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Say what would be sent, to where and how much, and send nothing; as JSON with --json')
|
|
284
294
|
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
285
295
|
[CompletionResult]::new('--setup', '--setup', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
@@ -311,6 +321,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
311
321
|
[CompletionResult]::new('--slack', '--slack', [CompletionResultType]::ParameterName, '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')
|
|
312
322
|
[CompletionResult]::new('--export', '--export', [CompletionResultType]::ParameterName, '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')
|
|
313
323
|
[CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, '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')
|
|
324
|
+
[CompletionResult]::new('--events', '--events', [CompletionResultType]::ParameterName, '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')
|
|
314
325
|
[CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, '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')
|
|
315
326
|
[CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
|
|
316
327
|
[CompletionResult]::new('--max-rate', '--max-rate', [CompletionResultType]::ParameterName, 'Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers')
|
|
@@ -334,6 +345,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
334
345
|
[CompletionResult]::new('--disable-keepalive', '--disable-keepalive', [CompletionResultType]::ParameterName, 'Disable HTTP keepalive, e.g. Connection: close')
|
|
335
346
|
[CompletionResult]::new('--disable-redirects', '--disable-redirects', [CompletionResultType]::ParameterName, 'Prevent http redirects')
|
|
336
347
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Output results in JSON format')
|
|
348
|
+
[CompletionResult]::new('--histogram', '--histogram', [CompletionResultType]::ParameterName, 'The report keeps the latency''s histogram whole (`summary.latency.histogram_us`), for a server to add workers'' reports up exactly')
|
|
337
349
|
[CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Say what would be sent, to where and how much, and send nothing; as JSON with --json')
|
|
338
350
|
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
339
351
|
[CompletionResult]::new('--setup', '--setup', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
@@ -365,6 +377,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
365
377
|
[CompletionResult]::new('--slack', '--slack', [CompletionResultType]::ParameterName, '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')
|
|
366
378
|
[CompletionResult]::new('--export', '--export', [CompletionResultType]::ParameterName, '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')
|
|
367
379
|
[CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, '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')
|
|
380
|
+
[CompletionResult]::new('--events', '--events', [CompletionResultType]::ParameterName, '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')
|
|
368
381
|
[CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, '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')
|
|
369
382
|
[CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
|
|
370
383
|
[CompletionResult]::new('--max-rate', '--max-rate', [CompletionResultType]::ParameterName, 'Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers')
|
|
@@ -387,6 +400,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
387
400
|
[CompletionResult]::new('--disable-keepalive', '--disable-keepalive', [CompletionResultType]::ParameterName, 'Disable HTTP keepalive, e.g. Connection: close')
|
|
388
401
|
[CompletionResult]::new('--disable-redirects', '--disable-redirects', [CompletionResultType]::ParameterName, 'Prevent http redirects')
|
|
389
402
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Output results in JSON format')
|
|
403
|
+
[CompletionResult]::new('--histogram', '--histogram', [CompletionResultType]::ParameterName, 'The report keeps the latency''s histogram whole (`summary.latency.histogram_us`), for a server to add workers'' reports up exactly')
|
|
390
404
|
[CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Say what would be sent, to where and how much, and send nothing; as JSON with --json')
|
|
391
405
|
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
392
406
|
[CompletionResult]::new('--setup', '--setup', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
@@ -424,6 +438,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
424
438
|
[CompletionResult]::new('--slack', '--slack', [CompletionResultType]::ParameterName, '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')
|
|
425
439
|
[CompletionResult]::new('--export', '--export', [CompletionResultType]::ParameterName, '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')
|
|
426
440
|
[CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, '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')
|
|
441
|
+
[CompletionResult]::new('--events', '--events', [CompletionResultType]::ParameterName, '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')
|
|
427
442
|
[CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, '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')
|
|
428
443
|
[CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
|
|
429
444
|
[CompletionResult]::new('--max-rate', '--max-rate', [CompletionResultType]::ParameterName, 'Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers')
|
|
@@ -448,6 +463,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
448
463
|
[CompletionResult]::new('--disable-keepalive', '--disable-keepalive', [CompletionResultType]::ParameterName, 'Disable HTTP keepalive, e.g. Connection: close')
|
|
449
464
|
[CompletionResult]::new('--disable-redirects', '--disable-redirects', [CompletionResultType]::ParameterName, 'Prevent http redirects')
|
|
450
465
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Output results in JSON format')
|
|
466
|
+
[CompletionResult]::new('--histogram', '--histogram', [CompletionResultType]::ParameterName, 'The report keeps the latency''s histogram whole (`summary.latency.histogram_us`), for a server to add workers'' reports up exactly')
|
|
451
467
|
[CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Say what would be sent, to where and how much, and send nothing; as JSON with --json')
|
|
452
468
|
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
453
469
|
[CompletionResult]::new('--setup', '--setup', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
@@ -479,6 +495,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
479
495
|
[CompletionResult]::new('--slack', '--slack', [CompletionResultType]::ParameterName, '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')
|
|
480
496
|
[CompletionResult]::new('--export', '--export', [CompletionResultType]::ParameterName, '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')
|
|
481
497
|
[CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, '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')
|
|
498
|
+
[CompletionResult]::new('--events', '--events', [CompletionResultType]::ParameterName, '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')
|
|
482
499
|
[CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, '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')
|
|
483
500
|
[CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
|
|
484
501
|
[CompletionResult]::new('--max-rate', '--max-rate', [CompletionResultType]::ParameterName, 'Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers')
|
|
@@ -501,6 +518,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
501
518
|
[CompletionResult]::new('--disable-keepalive', '--disable-keepalive', [CompletionResultType]::ParameterName, 'Disable HTTP keepalive, e.g. Connection: close')
|
|
502
519
|
[CompletionResult]::new('--disable-redirects', '--disable-redirects', [CompletionResultType]::ParameterName, 'Prevent http redirects')
|
|
503
520
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Output results in JSON format')
|
|
521
|
+
[CompletionResult]::new('--histogram', '--histogram', [CompletionResultType]::ParameterName, 'The report keeps the latency''s histogram whole (`summary.latency.histogram_us`), for a server to add workers'' reports up exactly')
|
|
504
522
|
[CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Say what would be sent, to where and how much, and send nothing; as JSON with --json')
|
|
505
523
|
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
506
524
|
[CompletionResult]::new('--setup', '--setup', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
@@ -534,6 +552,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
534
552
|
[CompletionResult]::new('--slack', '--slack', [CompletionResultType]::ParameterName, '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')
|
|
535
553
|
[CompletionResult]::new('--export', '--export', [CompletionResultType]::ParameterName, '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')
|
|
536
554
|
[CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, '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')
|
|
555
|
+
[CompletionResult]::new('--events', '--events', [CompletionResultType]::ParameterName, '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')
|
|
537
556
|
[CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, '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')
|
|
538
557
|
[CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
|
|
539
558
|
[CompletionResult]::new('--max-rate', '--max-rate', [CompletionResultType]::ParameterName, 'Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers')
|
|
@@ -557,6 +576,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
557
576
|
[CompletionResult]::new('--disable-keepalive', '--disable-keepalive', [CompletionResultType]::ParameterName, 'Disable HTTP keepalive, e.g. Connection: close')
|
|
558
577
|
[CompletionResult]::new('--disable-redirects', '--disable-redirects', [CompletionResultType]::ParameterName, 'Prevent http redirects')
|
|
559
578
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Output results in JSON format')
|
|
579
|
+
[CompletionResult]::new('--histogram', '--histogram', [CompletionResultType]::ParameterName, 'The report keeps the latency''s histogram whole (`summary.latency.histogram_us`), for a server to add workers'' reports up exactly')
|
|
560
580
|
[CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Say what would be sent, to where and how much, and send nothing; as JSON with --json')
|
|
561
581
|
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
562
582
|
[CompletionResult]::new('--setup', '--setup', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
@@ -596,6 +616,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
596
616
|
[CompletionResult]::new('--slack', '--slack', [CompletionResultType]::ParameterName, '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')
|
|
597
617
|
[CompletionResult]::new('--export', '--export', [CompletionResultType]::ParameterName, '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')
|
|
598
618
|
[CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, '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')
|
|
619
|
+
[CompletionResult]::new('--events', '--events', [CompletionResultType]::ParameterName, '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')
|
|
599
620
|
[CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, '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')
|
|
600
621
|
[CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
|
|
601
622
|
[CompletionResult]::new('--max-rate', '--max-rate', [CompletionResultType]::ParameterName, 'Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers')
|
|
@@ -620,6 +641,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
620
641
|
[CompletionResult]::new('--disable-keepalive', '--disable-keepalive', [CompletionResultType]::ParameterName, 'Disable HTTP keepalive, e.g. Connection: close')
|
|
621
642
|
[CompletionResult]::new('--disable-redirects', '--disable-redirects', [CompletionResultType]::ParameterName, 'Prevent http redirects')
|
|
622
643
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Output results in JSON format')
|
|
644
|
+
[CompletionResult]::new('--histogram', '--histogram', [CompletionResultType]::ParameterName, 'The report keeps the latency''s histogram whole (`summary.latency.histogram_us`), for a server to add workers'' reports up exactly')
|
|
623
645
|
[CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Say what would be sent, to where and how much, and send nothing; as JSON with --json')
|
|
624
646
|
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
625
647
|
[CompletionResult]::new('--setup', '--setup', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
@@ -651,6 +673,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
651
673
|
[CompletionResult]::new('--slack', '--slack', [CompletionResultType]::ParameterName, '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')
|
|
652
674
|
[CompletionResult]::new('--export', '--export', [CompletionResultType]::ParameterName, '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')
|
|
653
675
|
[CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, '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')
|
|
676
|
+
[CompletionResult]::new('--events', '--events', [CompletionResultType]::ParameterName, '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')
|
|
654
677
|
[CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, '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')
|
|
655
678
|
[CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
|
|
656
679
|
[CompletionResult]::new('--max-rate', '--max-rate', [CompletionResultType]::ParameterName, 'Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers')
|
|
@@ -673,6 +696,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
673
696
|
[CompletionResult]::new('--disable-keepalive', '--disable-keepalive', [CompletionResultType]::ParameterName, 'Disable HTTP keepalive, e.g. Connection: close')
|
|
674
697
|
[CompletionResult]::new('--disable-redirects', '--disable-redirects', [CompletionResultType]::ParameterName, 'Prevent http redirects')
|
|
675
698
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Output results in JSON format')
|
|
699
|
+
[CompletionResult]::new('--histogram', '--histogram', [CompletionResultType]::ParameterName, 'The report keeps the latency''s histogram whole (`summary.latency.histogram_us`), for a server to add workers'' reports up exactly')
|
|
676
700
|
[CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Say what would be sent, to where and how much, and send nothing; as JSON with --json')
|
|
677
701
|
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
678
702
|
[CompletionResult]::new('--setup', '--setup', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
@@ -704,6 +728,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
704
728
|
[CompletionResult]::new('--slack', '--slack', [CompletionResultType]::ParameterName, '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')
|
|
705
729
|
[CompletionResult]::new('--export', '--export', [CompletionResultType]::ParameterName, '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')
|
|
706
730
|
[CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, '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')
|
|
731
|
+
[CompletionResult]::new('--events', '--events', [CompletionResultType]::ParameterName, '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')
|
|
707
732
|
[CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, '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')
|
|
708
733
|
[CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
|
|
709
734
|
[CompletionResult]::new('--max-rate', '--max-rate', [CompletionResultType]::ParameterName, 'Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers')
|
|
@@ -726,6 +751,123 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
726
751
|
[CompletionResult]::new('--disable-keepalive', '--disable-keepalive', [CompletionResultType]::ParameterName, 'Disable HTTP keepalive, e.g. Connection: close')
|
|
727
752
|
[CompletionResult]::new('--disable-redirects', '--disable-redirects', [CompletionResultType]::ParameterName, 'Prevent http redirects')
|
|
728
753
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Output results in JSON format')
|
|
754
|
+
[CompletionResult]::new('--histogram', '--histogram', [CompletionResultType]::ParameterName, 'The report keeps the latency''s histogram whole (`summary.latency.histogram_us`), for a server to add workers'' reports up exactly')
|
|
755
|
+
[CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Say what would be sent, to where and how much, and send nothing; as JSON with --json')
|
|
756
|
+
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
757
|
+
[CompletionResult]::new('--setup', '--setup', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
758
|
+
[CompletionResult]::new('--record', '--record', [CompletionResultType]::ParameterName, '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)')
|
|
759
|
+
break
|
|
760
|
+
}
|
|
761
|
+
'pepe;serve' {
|
|
762
|
+
[CompletionResult]::new('--listen', '--listen', [CompletionResultType]::ParameterName, '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')
|
|
763
|
+
[CompletionResult]::new('--token-file', '--token-file', [CompletionResultType]::ParameterName, 'The tokens that may call the API, a line each: `name token`, or the token alone. Without one, a token is made and printed')
|
|
764
|
+
[CompletionResult]::new('--max-runs', '--max-runs', [CompletionResultType]::ParameterName, 'Runs going at once, on this machine and the workers together')
|
|
765
|
+
[CompletionResult]::new('-n', '-n', [CompletionResultType]::ParameterName, 'Number of requests to perform')
|
|
766
|
+
[CompletionResult]::new('--number', '--number', [CompletionResultType]::ParameterName, 'Number of requests to perform')
|
|
767
|
+
[CompletionResult]::new('-z', '-z', [CompletionResultType]::ParameterName, 'Duration of the test, e.g. 10s, 3m, 2h (mutually exclusive with -n)')
|
|
768
|
+
[CompletionResult]::new('--duration', '--duration', [CompletionResultType]::ParameterName, 'Duration of the test, e.g. 10s, 3m, 2h (mutually exclusive with -n)')
|
|
769
|
+
[CompletionResult]::new('-m', '-m', [CompletionResultType]::ParameterName, 'HTTP method, e.g. GET, POST, PUT, DELETE')
|
|
770
|
+
[CompletionResult]::new('--method', '--method', [CompletionResultType]::ParameterName, 'HTTP method, e.g. GET, POST, PUT, DELETE')
|
|
771
|
+
[CompletionResult]::new('-H', '-H ', [CompletionResultType]::ParameterName, 'HTTP headers, e.g. -H ''Accept: application/json''')
|
|
772
|
+
[CompletionResult]::new('--headers', '--headers', [CompletionResultType]::ParameterName, 'HTTP headers, e.g. -H ''Accept: application/json''')
|
|
773
|
+
[CompletionResult]::new('-t', '-t', [CompletionResultType]::ParameterName, 'Time in seconds to wait for a response')
|
|
774
|
+
[CompletionResult]::new('--timeout', '--timeout', [CompletionResultType]::ParameterName, 'Time in seconds to wait for a response')
|
|
775
|
+
[CompletionResult]::new('--warmup', '--warmup', [CompletionResultType]::ParameterName, 'Send for this long before measuring, e.g. 5s: connections open, caches fill and JITs settle without counting against the run')
|
|
776
|
+
[CompletionResult]::new('--threads', '--threads', [CompletionResultType]::ParameterName, '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')
|
|
777
|
+
[CompletionResult]::new('--rate', '--rate', [CompletionResultType]::ParameterName, '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')
|
|
778
|
+
[CompletionResult]::new('-d', '-d', [CompletionResultType]::ParameterName, 'HTTP request body')
|
|
779
|
+
[CompletionResult]::new('--body', '--body', [CompletionResultType]::ParameterName, 'HTTP request body')
|
|
780
|
+
[CompletionResult]::new('-p', '-p', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
|
|
781
|
+
[CompletionResult]::new('--proxy', '--proxy', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
|
|
782
|
+
[CompletionResult]::new('--trace-header', '--trace-header', [CompletionResultType]::ParameterName, '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')
|
|
783
|
+
[CompletionResult]::new('--vars', '--vars', [CompletionResultType]::ParameterName, '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')
|
|
784
|
+
[CompletionResult]::new('--webhook', '--webhook', [CompletionResultType]::ParameterName, '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')
|
|
785
|
+
[CompletionResult]::new('--webhook-on', '--webhook-on', [CompletionResultType]::ParameterName, 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default')
|
|
786
|
+
[CompletionResult]::new('--slack', '--slack', [CompletionResultType]::ParameterName, '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')
|
|
787
|
+
[CompletionResult]::new('--export', '--export', [CompletionResultType]::ParameterName, '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')
|
|
788
|
+
[CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, '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')
|
|
789
|
+
[CompletionResult]::new('--events', '--events', [CompletionResultType]::ParameterName, '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')
|
|
790
|
+
[CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, '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')
|
|
791
|
+
[CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
|
|
792
|
+
[CompletionResult]::new('--max-rate', '--max-rate', [CompletionResultType]::ParameterName, 'Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers')
|
|
793
|
+
[CompletionResult]::new('--max-concurrency', '--max-concurrency', [CompletionResultType]::ParameterName, 'Refuse a concurrency above this')
|
|
794
|
+
[CompletionResult]::new('--fail-if', '--fail-if', [CompletionResultType]::ParameterName, '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.)')
|
|
795
|
+
[CompletionResult]::new('--metrics', '--metrics', [CompletionResultType]::ParameterName, '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')
|
|
796
|
+
[CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'Read settings from this file instead of ./pepe.toml; flags on the command line win over it')
|
|
797
|
+
[CompletionResult]::new('--write-config', '--write-config', [CompletionResultType]::ParameterName, 'Write the settings as they stand to this file, as a pepe.toml, and exit')
|
|
798
|
+
[CompletionResult]::new('--load', '--load', [CompletionResultType]::ParameterName, 'Run a test saved on the setup screen (ctrl-s): ./.pepe/tests/NAME.toml; flags on the command line win over it')
|
|
799
|
+
[CompletionResult]::new('--keep', '--keep', [CompletionResultType]::ParameterName, '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')
|
|
800
|
+
[CompletionResult]::new('-c', '-c', [CompletionResultType]::ParameterName, 'Number of concurrent requests at a time')
|
|
801
|
+
[CompletionResult]::new('--concurrency', '--concurrency', [CompletionResultType]::ParameterName, 'Number of concurrent requests at a time')
|
|
802
|
+
[CompletionResult]::new('-u', '-u', [CompletionResultType]::ParameterName, 'User-Agent string, default is pepe/{version}')
|
|
803
|
+
[CompletionResult]::new('--user-agent', '--user-agent', [CompletionResultType]::ParameterName, 'User-Agent string, default is pepe/{version}')
|
|
804
|
+
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help')
|
|
805
|
+
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help')
|
|
806
|
+
[CompletionResult]::new('-k', '-k', [CompletionResultType]::ParameterName, 'Accept invalid TLS certificates (self-signed, expired, wrong host)')
|
|
807
|
+
[CompletionResult]::new('--insecure', '--insecure', [CompletionResultType]::ParameterName, 'Accept invalid TLS certificates (self-signed, expired, wrong host)')
|
|
808
|
+
[CompletionResult]::new('--disable-compression', '--disable-compression', [CompletionResultType]::ParameterName, 'Disable HTTP compression, e.g. gzip')
|
|
809
|
+
[CompletionResult]::new('--disable-keepalive', '--disable-keepalive', [CompletionResultType]::ParameterName, 'Disable HTTP keepalive, e.g. Connection: close')
|
|
810
|
+
[CompletionResult]::new('--disable-redirects', '--disable-redirects', [CompletionResultType]::ParameterName, 'Prevent http redirects')
|
|
811
|
+
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Output results in JSON format')
|
|
812
|
+
[CompletionResult]::new('--histogram', '--histogram', [CompletionResultType]::ParameterName, 'The report keeps the latency''s histogram whole (`summary.latency.histogram_us`), for a server to add workers'' reports up exactly')
|
|
813
|
+
[CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Say what would be sent, to where and how much, and send nothing; as JSON with --json')
|
|
814
|
+
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
815
|
+
[CompletionResult]::new('--setup', '--setup', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
816
|
+
[CompletionResult]::new('--record', '--record', [CompletionResultType]::ParameterName, '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)')
|
|
817
|
+
break
|
|
818
|
+
}
|
|
819
|
+
'pepe;worker' {
|
|
820
|
+
[CompletionResult]::new('--join', '--join', [CompletionResultType]::ParameterName, 'The `pepe serve` to join: http://host:7878')
|
|
821
|
+
[CompletionResult]::new('--name', '--name', [CompletionResultType]::ParameterName, 'What the server calls this worker: the host name by default')
|
|
822
|
+
[CompletionResult]::new('--token-file', '--token-file', [CompletionResultType]::ParameterName, 'A file with the token to join with (the server''s token file takes it); else $PEPE_TOKEN')
|
|
823
|
+
[CompletionResult]::new('-n', '-n', [CompletionResultType]::ParameterName, 'Number of requests to perform')
|
|
824
|
+
[CompletionResult]::new('--number', '--number', [CompletionResultType]::ParameterName, 'Number of requests to perform')
|
|
825
|
+
[CompletionResult]::new('-z', '-z', [CompletionResultType]::ParameterName, 'Duration of the test, e.g. 10s, 3m, 2h (mutually exclusive with -n)')
|
|
826
|
+
[CompletionResult]::new('--duration', '--duration', [CompletionResultType]::ParameterName, 'Duration of the test, e.g. 10s, 3m, 2h (mutually exclusive with -n)')
|
|
827
|
+
[CompletionResult]::new('-m', '-m', [CompletionResultType]::ParameterName, 'HTTP method, e.g. GET, POST, PUT, DELETE')
|
|
828
|
+
[CompletionResult]::new('--method', '--method', [CompletionResultType]::ParameterName, 'HTTP method, e.g. GET, POST, PUT, DELETE')
|
|
829
|
+
[CompletionResult]::new('-H', '-H ', [CompletionResultType]::ParameterName, 'HTTP headers, e.g. -H ''Accept: application/json''')
|
|
830
|
+
[CompletionResult]::new('--headers', '--headers', [CompletionResultType]::ParameterName, 'HTTP headers, e.g. -H ''Accept: application/json''')
|
|
831
|
+
[CompletionResult]::new('-t', '-t', [CompletionResultType]::ParameterName, 'Time in seconds to wait for a response')
|
|
832
|
+
[CompletionResult]::new('--timeout', '--timeout', [CompletionResultType]::ParameterName, 'Time in seconds to wait for a response')
|
|
833
|
+
[CompletionResult]::new('--warmup', '--warmup', [CompletionResultType]::ParameterName, 'Send for this long before measuring, e.g. 5s: connections open, caches fill and JITs settle without counting against the run')
|
|
834
|
+
[CompletionResult]::new('--threads', '--threads', [CompletionResultType]::ParameterName, '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')
|
|
835
|
+
[CompletionResult]::new('--rate', '--rate', [CompletionResultType]::ParameterName, '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')
|
|
836
|
+
[CompletionResult]::new('-d', '-d', [CompletionResultType]::ParameterName, 'HTTP request body')
|
|
837
|
+
[CompletionResult]::new('--body', '--body', [CompletionResultType]::ParameterName, 'HTTP request body')
|
|
838
|
+
[CompletionResult]::new('-p', '-p', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
|
|
839
|
+
[CompletionResult]::new('--proxy', '--proxy', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
|
|
840
|
+
[CompletionResult]::new('--trace-header', '--trace-header', [CompletionResultType]::ParameterName, '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')
|
|
841
|
+
[CompletionResult]::new('--vars', '--vars', [CompletionResultType]::ParameterName, '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')
|
|
842
|
+
[CompletionResult]::new('--webhook', '--webhook', [CompletionResultType]::ParameterName, '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')
|
|
843
|
+
[CompletionResult]::new('--webhook-on', '--webhook-on', [CompletionResultType]::ParameterName, 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default')
|
|
844
|
+
[CompletionResult]::new('--slack', '--slack', [CompletionResultType]::ParameterName, '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')
|
|
845
|
+
[CompletionResult]::new('--export', '--export', [CompletionResultType]::ParameterName, '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')
|
|
846
|
+
[CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, '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')
|
|
847
|
+
[CompletionResult]::new('--events', '--events', [CompletionResultType]::ParameterName, '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')
|
|
848
|
+
[CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, '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')
|
|
849
|
+
[CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
|
|
850
|
+
[CompletionResult]::new('--max-rate', '--max-rate', [CompletionResultType]::ParameterName, 'Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers')
|
|
851
|
+
[CompletionResult]::new('--max-concurrency', '--max-concurrency', [CompletionResultType]::ParameterName, 'Refuse a concurrency above this')
|
|
852
|
+
[CompletionResult]::new('--fail-if', '--fail-if', [CompletionResultType]::ParameterName, '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.)')
|
|
853
|
+
[CompletionResult]::new('--metrics', '--metrics', [CompletionResultType]::ParameterName, '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')
|
|
854
|
+
[CompletionResult]::new('--config', '--config', [CompletionResultType]::ParameterName, 'Read settings from this file instead of ./pepe.toml; flags on the command line win over it')
|
|
855
|
+
[CompletionResult]::new('--write-config', '--write-config', [CompletionResultType]::ParameterName, 'Write the settings as they stand to this file, as a pepe.toml, and exit')
|
|
856
|
+
[CompletionResult]::new('--load', '--load', [CompletionResultType]::ParameterName, 'Run a test saved on the setup screen (ctrl-s): ./.pepe/tests/NAME.toml; flags on the command line win over it')
|
|
857
|
+
[CompletionResult]::new('--keep', '--keep', [CompletionResultType]::ParameterName, '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')
|
|
858
|
+
[CompletionResult]::new('-c', '-c', [CompletionResultType]::ParameterName, 'Number of concurrent requests at a time')
|
|
859
|
+
[CompletionResult]::new('--concurrency', '--concurrency', [CompletionResultType]::ParameterName, 'Number of concurrent requests at a time')
|
|
860
|
+
[CompletionResult]::new('-u', '-u', [CompletionResultType]::ParameterName, 'User-Agent string, default is pepe/{version}')
|
|
861
|
+
[CompletionResult]::new('--user-agent', '--user-agent', [CompletionResultType]::ParameterName, 'User-Agent string, default is pepe/{version}')
|
|
862
|
+
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help')
|
|
863
|
+
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help')
|
|
864
|
+
[CompletionResult]::new('-k', '-k', [CompletionResultType]::ParameterName, 'Accept invalid TLS certificates (self-signed, expired, wrong host)')
|
|
865
|
+
[CompletionResult]::new('--insecure', '--insecure', [CompletionResultType]::ParameterName, 'Accept invalid TLS certificates (self-signed, expired, wrong host)')
|
|
866
|
+
[CompletionResult]::new('--disable-compression', '--disable-compression', [CompletionResultType]::ParameterName, 'Disable HTTP compression, e.g. gzip')
|
|
867
|
+
[CompletionResult]::new('--disable-keepalive', '--disable-keepalive', [CompletionResultType]::ParameterName, 'Disable HTTP keepalive, e.g. Connection: close')
|
|
868
|
+
[CompletionResult]::new('--disable-redirects', '--disable-redirects', [CompletionResultType]::ParameterName, 'Prevent http redirects')
|
|
869
|
+
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Output results in JSON format')
|
|
870
|
+
[CompletionResult]::new('--histogram', '--histogram', [CompletionResultType]::ParameterName, 'The report keeps the latency''s histogram whole (`summary.latency.histogram_us`), for a server to add workers'' reports up exactly')
|
|
729
871
|
[CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Say what would be sent, to where and how much, and send nothing; as JSON with --json')
|
|
730
872
|
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
731
873
|
[CompletionResult]::new('--setup', '--setup', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
@@ -757,6 +899,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
757
899
|
[CompletionResult]::new('--slack', '--slack', [CompletionResultType]::ParameterName, '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')
|
|
758
900
|
[CompletionResult]::new('--export', '--export', [CompletionResultType]::ParameterName, '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')
|
|
759
901
|
[CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, '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')
|
|
902
|
+
[CompletionResult]::new('--events', '--events', [CompletionResultType]::ParameterName, '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')
|
|
760
903
|
[CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, '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')
|
|
761
904
|
[CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
|
|
762
905
|
[CompletionResult]::new('--max-rate', '--max-rate', [CompletionResultType]::ParameterName, 'Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers')
|
|
@@ -781,6 +924,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
781
924
|
[CompletionResult]::new('--disable-keepalive', '--disable-keepalive', [CompletionResultType]::ParameterName, 'Disable HTTP keepalive, e.g. Connection: close')
|
|
782
925
|
[CompletionResult]::new('--disable-redirects', '--disable-redirects', [CompletionResultType]::ParameterName, 'Prevent http redirects')
|
|
783
926
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Output results in JSON format')
|
|
927
|
+
[CompletionResult]::new('--histogram', '--histogram', [CompletionResultType]::ParameterName, 'The report keeps the latency''s histogram whole (`summary.latency.histogram_us`), for a server to add workers'' reports up exactly')
|
|
784
928
|
[CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Say what would be sent, to where and how much, and send nothing; as JSON with --json')
|
|
785
929
|
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
786
930
|
[CompletionResult]::new('--setup', '--setup', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
@@ -812,6 +956,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
812
956
|
[CompletionResult]::new('--slack', '--slack', [CompletionResultType]::ParameterName, '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')
|
|
813
957
|
[CompletionResult]::new('--export', '--export', [CompletionResultType]::ParameterName, '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')
|
|
814
958
|
[CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, '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')
|
|
959
|
+
[CompletionResult]::new('--events', '--events', [CompletionResultType]::ParameterName, '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')
|
|
815
960
|
[CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, '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')
|
|
816
961
|
[CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
|
|
817
962
|
[CompletionResult]::new('--max-rate', '--max-rate', [CompletionResultType]::ParameterName, 'Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers')
|
|
@@ -836,6 +981,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
836
981
|
[CompletionResult]::new('--disable-keepalive', '--disable-keepalive', [CompletionResultType]::ParameterName, 'Disable HTTP keepalive, e.g. Connection: close')
|
|
837
982
|
[CompletionResult]::new('--disable-redirects', '--disable-redirects', [CompletionResultType]::ParameterName, 'Prevent http redirects')
|
|
838
983
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Output results in JSON format')
|
|
984
|
+
[CompletionResult]::new('--histogram', '--histogram', [CompletionResultType]::ParameterName, 'The report keeps the latency''s histogram whole (`summary.latency.histogram_us`), for a server to add workers'' reports up exactly')
|
|
839
985
|
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
840
986
|
[CompletionResult]::new('--setup', '--setup', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
841
987
|
[CompletionResult]::new('--record', '--record', [CompletionResultType]::ParameterName, '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)')
|
|
@@ -866,6 +1012,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
866
1012
|
[CompletionResult]::new('--slack', '--slack', [CompletionResultType]::ParameterName, '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')
|
|
867
1013
|
[CompletionResult]::new('--export', '--export', [CompletionResultType]::ParameterName, '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')
|
|
868
1014
|
[CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, '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')
|
|
1015
|
+
[CompletionResult]::new('--events', '--events', [CompletionResultType]::ParameterName, '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')
|
|
869
1016
|
[CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, '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')
|
|
870
1017
|
[CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
|
|
871
1018
|
[CompletionResult]::new('--max-rate', '--max-rate', [CompletionResultType]::ParameterName, 'Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers')
|
|
@@ -888,6 +1035,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
888
1035
|
[CompletionResult]::new('--disable-keepalive', '--disable-keepalive', [CompletionResultType]::ParameterName, 'Disable HTTP keepalive, e.g. Connection: close')
|
|
889
1036
|
[CompletionResult]::new('--disable-redirects', '--disable-redirects', [CompletionResultType]::ParameterName, 'Prevent http redirects')
|
|
890
1037
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Output results in JSON format')
|
|
1038
|
+
[CompletionResult]::new('--histogram', '--histogram', [CompletionResultType]::ParameterName, 'The report keeps the latency''s histogram whole (`summary.latency.histogram_us`), for a server to add workers'' reports up exactly')
|
|
891
1039
|
[CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Say what would be sent, to where and how much, and send nothing; as JSON with --json')
|
|
892
1040
|
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
893
1041
|
[CompletionResult]::new('--setup', '--setup', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
@@ -929,6 +1077,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
929
1077
|
[CompletionResult]::new('--slack', '--slack', [CompletionResultType]::ParameterName, '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')
|
|
930
1078
|
[CompletionResult]::new('--export', '--export', [CompletionResultType]::ParameterName, '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')
|
|
931
1079
|
[CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, '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')
|
|
1080
|
+
[CompletionResult]::new('--events', '--events', [CompletionResultType]::ParameterName, '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')
|
|
932
1081
|
[CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, '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')
|
|
933
1082
|
[CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
|
|
934
1083
|
[CompletionResult]::new('--max-rate', '--max-rate', [CompletionResultType]::ParameterName, 'Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers')
|
|
@@ -951,6 +1100,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
951
1100
|
[CompletionResult]::new('--disable-keepalive', '--disable-keepalive', [CompletionResultType]::ParameterName, 'Disable HTTP keepalive, e.g. Connection: close')
|
|
952
1101
|
[CompletionResult]::new('--disable-redirects', '--disable-redirects', [CompletionResultType]::ParameterName, 'Prevent http redirects')
|
|
953
1102
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Output results in JSON format')
|
|
1103
|
+
[CompletionResult]::new('--histogram', '--histogram', [CompletionResultType]::ParameterName, 'The report keeps the latency''s histogram whole (`summary.latency.histogram_us`), for a server to add workers'' reports up exactly')
|
|
954
1104
|
[CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Say what would be sent, to where and how much, and send nothing; as JSON with --json')
|
|
955
1105
|
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
956
1106
|
[CompletionResult]::new('--setup', '--setup', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
@@ -982,6 +1132,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
982
1132
|
[CompletionResult]::new('--slack', '--slack', [CompletionResultType]::ParameterName, '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')
|
|
983
1133
|
[CompletionResult]::new('--export', '--export', [CompletionResultType]::ParameterName, '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')
|
|
984
1134
|
[CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, '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')
|
|
1135
|
+
[CompletionResult]::new('--events', '--events', [CompletionResultType]::ParameterName, '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')
|
|
985
1136
|
[CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, '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')
|
|
986
1137
|
[CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
|
|
987
1138
|
[CompletionResult]::new('--max-rate', '--max-rate', [CompletionResultType]::ParameterName, 'Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers')
|
|
@@ -1004,6 +1155,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
1004
1155
|
[CompletionResult]::new('--disable-keepalive', '--disable-keepalive', [CompletionResultType]::ParameterName, 'Disable HTTP keepalive, e.g. Connection: close')
|
|
1005
1156
|
[CompletionResult]::new('--disable-redirects', '--disable-redirects', [CompletionResultType]::ParameterName, 'Prevent http redirects')
|
|
1006
1157
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Output results in JSON format')
|
|
1158
|
+
[CompletionResult]::new('--histogram', '--histogram', [CompletionResultType]::ParameterName, 'The report keeps the latency''s histogram whole (`summary.latency.histogram_us`), for a server to add workers'' reports up exactly')
|
|
1007
1159
|
[CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Say what would be sent, to where and how much, and send nothing; as JSON with --json')
|
|
1008
1160
|
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
1009
1161
|
[CompletionResult]::new('--setup', '--setup', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
@@ -1035,6 +1187,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
1035
1187
|
[CompletionResult]::new('--slack', '--slack', [CompletionResultType]::ParameterName, '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')
|
|
1036
1188
|
[CompletionResult]::new('--export', '--export', [CompletionResultType]::ParameterName, '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')
|
|
1037
1189
|
[CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, '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')
|
|
1190
|
+
[CompletionResult]::new('--events', '--events', [CompletionResultType]::ParameterName, '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')
|
|
1038
1191
|
[CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, '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')
|
|
1039
1192
|
[CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
|
|
1040
1193
|
[CompletionResult]::new('--max-rate', '--max-rate', [CompletionResultType]::ParameterName, 'Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers')
|
|
@@ -1057,6 +1210,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
1057
1210
|
[CompletionResult]::new('--disable-keepalive', '--disable-keepalive', [CompletionResultType]::ParameterName, 'Disable HTTP keepalive, e.g. Connection: close')
|
|
1058
1211
|
[CompletionResult]::new('--disable-redirects', '--disable-redirects', [CompletionResultType]::ParameterName, 'Prevent http redirects')
|
|
1059
1212
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Output results in JSON format')
|
|
1213
|
+
[CompletionResult]::new('--histogram', '--histogram', [CompletionResultType]::ParameterName, 'The report keeps the latency''s histogram whole (`summary.latency.histogram_us`), for a server to add workers'' reports up exactly')
|
|
1060
1214
|
[CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Say what would be sent, to where and how much, and send nothing; as JSON with --json')
|
|
1061
1215
|
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
1062
1216
|
[CompletionResult]::new('--setup', '--setup', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
@@ -1088,6 +1242,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
1088
1242
|
[CompletionResult]::new('--slack', '--slack', [CompletionResultType]::ParameterName, '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')
|
|
1089
1243
|
[CompletionResult]::new('--export', '--export', [CompletionResultType]::ParameterName, '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')
|
|
1090
1244
|
[CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, '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')
|
|
1245
|
+
[CompletionResult]::new('--events', '--events', [CompletionResultType]::ParameterName, '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')
|
|
1091
1246
|
[CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, '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')
|
|
1092
1247
|
[CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
|
|
1093
1248
|
[CompletionResult]::new('--max-rate', '--max-rate', [CompletionResultType]::ParameterName, 'Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers')
|
|
@@ -1110,6 +1265,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
1110
1265
|
[CompletionResult]::new('--disable-keepalive', '--disable-keepalive', [CompletionResultType]::ParameterName, 'Disable HTTP keepalive, e.g. Connection: close')
|
|
1111
1266
|
[CompletionResult]::new('--disable-redirects', '--disable-redirects', [CompletionResultType]::ParameterName, 'Prevent http redirects')
|
|
1112
1267
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Output results in JSON format')
|
|
1268
|
+
[CompletionResult]::new('--histogram', '--histogram', [CompletionResultType]::ParameterName, 'The report keeps the latency''s histogram whole (`summary.latency.histogram_us`), for a server to add workers'' reports up exactly')
|
|
1113
1269
|
[CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Say what would be sent, to where and how much, and send nothing; as JSON with --json')
|
|
1114
1270
|
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
1115
1271
|
[CompletionResult]::new('--setup', '--setup', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
@@ -1141,6 +1297,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
1141
1297
|
[CompletionResult]::new('--slack', '--slack', [CompletionResultType]::ParameterName, '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')
|
|
1142
1298
|
[CompletionResult]::new('--export', '--export', [CompletionResultType]::ParameterName, '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')
|
|
1143
1299
|
[CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, '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')
|
|
1300
|
+
[CompletionResult]::new('--events', '--events', [CompletionResultType]::ParameterName, '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')
|
|
1144
1301
|
[CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, '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')
|
|
1145
1302
|
[CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
|
|
1146
1303
|
[CompletionResult]::new('--max-rate', '--max-rate', [CompletionResultType]::ParameterName, 'Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers')
|
|
@@ -1163,6 +1320,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
1163
1320
|
[CompletionResult]::new('--disable-keepalive', '--disable-keepalive', [CompletionResultType]::ParameterName, 'Disable HTTP keepalive, e.g. Connection: close')
|
|
1164
1321
|
[CompletionResult]::new('--disable-redirects', '--disable-redirects', [CompletionResultType]::ParameterName, 'Prevent http redirects')
|
|
1165
1322
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Output results in JSON format')
|
|
1323
|
+
[CompletionResult]::new('--histogram', '--histogram', [CompletionResultType]::ParameterName, 'The report keeps the latency''s histogram whole (`summary.latency.histogram_us`), for a server to add workers'' reports up exactly')
|
|
1166
1324
|
[CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Say what would be sent, to where and how much, and send nothing; as JSON with --json')
|
|
1167
1325
|
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
1168
1326
|
[CompletionResult]::new('--setup', '--setup', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
@@ -1194,6 +1352,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
1194
1352
|
[CompletionResult]::new('--slack', '--slack', [CompletionResultType]::ParameterName, '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')
|
|
1195
1353
|
[CompletionResult]::new('--export', '--export', [CompletionResultType]::ParameterName, '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')
|
|
1196
1354
|
[CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, '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')
|
|
1355
|
+
[CompletionResult]::new('--events', '--events', [CompletionResultType]::ParameterName, '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')
|
|
1197
1356
|
[CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, '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')
|
|
1198
1357
|
[CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
|
|
1199
1358
|
[CompletionResult]::new('--max-rate', '--max-rate', [CompletionResultType]::ParameterName, 'Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers')
|
|
@@ -1216,6 +1375,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
1216
1375
|
[CompletionResult]::new('--disable-keepalive', '--disable-keepalive', [CompletionResultType]::ParameterName, 'Disable HTTP keepalive, e.g. Connection: close')
|
|
1217
1376
|
[CompletionResult]::new('--disable-redirects', '--disable-redirects', [CompletionResultType]::ParameterName, 'Prevent http redirects')
|
|
1218
1377
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Output results in JSON format')
|
|
1378
|
+
[CompletionResult]::new('--histogram', '--histogram', [CompletionResultType]::ParameterName, 'The report keeps the latency''s histogram whole (`summary.latency.histogram_us`), for a server to add workers'' reports up exactly')
|
|
1219
1379
|
[CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Say what would be sent, to where and how much, and send nothing; as JSON with --json')
|
|
1220
1380
|
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
1221
1381
|
[CompletionResult]::new('--setup', '--setup', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
@@ -1247,6 +1407,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
1247
1407
|
[CompletionResult]::new('--slack', '--slack', [CompletionResultType]::ParameterName, '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')
|
|
1248
1408
|
[CompletionResult]::new('--export', '--export', [CompletionResultType]::ParameterName, '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')
|
|
1249
1409
|
[CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, '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')
|
|
1410
|
+
[CompletionResult]::new('--events', '--events', [CompletionResultType]::ParameterName, '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')
|
|
1250
1411
|
[CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, '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')
|
|
1251
1412
|
[CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
|
|
1252
1413
|
[CompletionResult]::new('--max-rate', '--max-rate', [CompletionResultType]::ParameterName, 'Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers')
|
|
@@ -1269,6 +1430,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
1269
1430
|
[CompletionResult]::new('--disable-keepalive', '--disable-keepalive', [CompletionResultType]::ParameterName, 'Disable HTTP keepalive, e.g. Connection: close')
|
|
1270
1431
|
[CompletionResult]::new('--disable-redirects', '--disable-redirects', [CompletionResultType]::ParameterName, 'Prevent http redirects')
|
|
1271
1432
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Output results in JSON format')
|
|
1433
|
+
[CompletionResult]::new('--histogram', '--histogram', [CompletionResultType]::ParameterName, 'The report keeps the latency''s histogram whole (`summary.latency.histogram_us`), for a server to add workers'' reports up exactly')
|
|
1272
1434
|
[CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Say what would be sent, to where and how much, and send nothing; as JSON with --json')
|
|
1273
1435
|
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
1274
1436
|
[CompletionResult]::new('--setup', '--setup', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
@@ -1338,6 +1500,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
1338
1500
|
[CompletionResult]::new('--slack', '--slack', [CompletionResultType]::ParameterName, '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')
|
|
1339
1501
|
[CompletionResult]::new('--export', '--export', [CompletionResultType]::ParameterName, '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')
|
|
1340
1502
|
[CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, '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')
|
|
1503
|
+
[CompletionResult]::new('--events', '--events', [CompletionResultType]::ParameterName, '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')
|
|
1341
1504
|
[CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, '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')
|
|
1342
1505
|
[CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
|
|
1343
1506
|
[CompletionResult]::new('--max-rate', '--max-rate', [CompletionResultType]::ParameterName, 'Refuse a --rate above this, and a run with no --rate at all, which sends as fast as the target answers')
|
|
@@ -1361,6 +1524,7 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
1361
1524
|
[CompletionResult]::new('--disable-keepalive', '--disable-keepalive', [CompletionResultType]::ParameterName, 'Disable HTTP keepalive, e.g. Connection: close')
|
|
1362
1525
|
[CompletionResult]::new('--disable-redirects', '--disable-redirects', [CompletionResultType]::ParameterName, 'Prevent http redirects')
|
|
1363
1526
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Output results in JSON format')
|
|
1527
|
+
[CompletionResult]::new('--histogram', '--histogram', [CompletionResultType]::ParameterName, 'The report keeps the latency''s histogram whole (`summary.latency.histogram_us`), for a server to add workers'' reports up exactly')
|
|
1364
1528
|
[CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Say what would be sent, to where and how much, and send nothing; as JSON with --json')
|
|
1365
1529
|
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
1366
1530
|
[CompletionResult]::new('--setup', '--setup', [CompletionResultType]::ParameterName, 'Open the setup screen to review or change the settings before starting (it opens by itself when no URL is given)')
|
|
@@ -1379,6 +1543,8 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
1379
1543
|
[CompletionResult]::new('logs', 'logs', [CompletionResultType]::ParameterValue, 'Read nginx logs: requests per second now, against each minute, hour and day')
|
|
1380
1544
|
[CompletionResult]::new('schema', 'schema', [CompletionResultType]::ParameterValue, 'Print the JSON Schema of a report: run (the default), ramp, ping or compare')
|
|
1381
1545
|
[CompletionResult]::new('mcp', 'mcp', [CompletionResultType]::ParameterValue, 'Serve pepe''s modes as tools for an agent over stdio (the Model Context Protocol); the guardrail flags given here hold for every call')
|
|
1546
|
+
[CompletionResult]::new('serve', 'serve', [CompletionResultType]::ParameterValue, 'Serve pepe over HTTP: start, watch, steer and compare runs from a script, an agent or a browser; loopback and a token by default')
|
|
1547
|
+
[CompletionResult]::new('worker', 'worker', [CompletionResultType]::ParameterValue, 'Take a share of a `pepe serve`''s distributed runs from this machine, under its own guardrails')
|
|
1382
1548
|
[CompletionResult]::new('self-update', 'self-update', [CompletionResultType]::ParameterValue, 'Update pepe to the latest release, or say what''s new in it')
|
|
1383
1549
|
[CompletionResult]::new('completions', 'completions', [CompletionResultType]::ParameterValue, 'Tab completion for your shell: print the script, or --install it')
|
|
1384
1550
|
[CompletionResult]::new('slack', 'slack', [CompletionResultType]::ParameterValue, 'Connect pepe to Slack from here, so --slack keeps a message there up to date as a run goes')
|
|
@@ -1419,6 +1585,12 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
|
|
|
1419
1585
|
'pepe;help;mcp' {
|
|
1420
1586
|
break
|
|
1421
1587
|
}
|
|
1588
|
+
'pepe;help;serve' {
|
|
1589
|
+
break
|
|
1590
|
+
}
|
|
1591
|
+
'pepe;help;worker' {
|
|
1592
|
+
break
|
|
1593
|
+
}
|
|
1422
1594
|
'pepe;help;self-update' {
|
|
1423
1595
|
break
|
|
1424
1596
|
}
|