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.
@@ -0,0 +1,22 @@
1
+ .ie \n(.g .ds Aq \(aq
2
+ .el .ds Aq '
3
+ .TH pepe-serve 1 pepe "User Commands"
4
+ .SH NAME
5
+ pepe\-serve \- Serve pepe over HTTP: start, watch, steer and compare runs from a script, an agent or a browser; loopback and a token by default
6
+ .SH SYNOPSIS
7
+ \fBpepe serve\fR [\fB\-\-listen\fR] [\fB\-\-token\-file\fR] [\fB\-\-max\-runs\fR] [\fB\-h\fR|\fB\-\-help\fR]
8
+ .SH DESCRIPTION
9
+ Serve pepe over HTTP: start, watch, steer and compare runs from a script, an agent or a browser; loopback and a token by default
10
+ .SH OPTIONS
11
+ .TP
12
+ \fB\-\-listen\fR \fI<ADDR>\fR
13
+ 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
14
+ .TP
15
+ \fB\-\-token\-file\fR \fI<FILE>\fR
16
+ The tokens that may call the API, a line each: `name token`, or the token alone. Without one, a token is made and printed
17
+ .TP
18
+ \fB\-\-max\-runs\fR \fI<N>\fR [default: 1]
19
+ Runs going at once, on this machine and the workers together
20
+ .TP
21
+ \fB\-h\fR, \fB\-\-help\fR
22
+ Print help
@@ -0,0 +1,22 @@
1
+ .ie \n(.g .ds Aq \(aq
2
+ .el .ds Aq '
3
+ .TH pepe-worker 1 pepe "User Commands"
4
+ .SH NAME
5
+ pepe\-worker \- Take a share of a `pepe serve`\*(Aqs distributed runs from this machine, under its own guardrails
6
+ .SH SYNOPSIS
7
+ \fBpepe worker\fR [\fB\-\-name\fR] [\fB\-\-token\-file\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fB\-\-join\fR>
8
+ .SH DESCRIPTION
9
+ Take a share of a `pepe serve`\*(Aqs distributed runs from this machine, under its own guardrails
10
+ .SH OPTIONS
11
+ .TP
12
+ \fB\-\-join\fR \fI<URL>\fR
13
+ The `pepe serve` to join: http://host:7878
14
+ .TP
15
+ \fB\-\-name\fR \fI<NAME>\fR
16
+ What the server calls this worker: the host name by default
17
+ .TP
18
+ \fB\-\-token\-file\fR \fI<FILE>\fR
19
+ A file with the token to join with (the server\*(Aqs token file takes it); else $PEPE_TOKEN
20
+ .TP
21
+ \fB\-h\fR, \fB\-\-help\fR
22
+ Print help
package/man/pepe.1 CHANGED
@@ -8,7 +8,7 @@ pepe \- HTTP load generator
8
8
  .ie \n(.g .ds Aq \(aq
9
9
  .el .ds Aq '
10
10
  .SH SYNOPSIS
11
- \fBpepe\fR [\fB\-h\fR|\fB\-\-help\fR] [\fB\-n\fR|\fB\-\-number\fR] [\fB\-c\fR|\fB\-\-concurrency\fR] [\fB\-z\fR|\fB\-\-duration\fR] [\fB\-\-curl\fR] [\fB\-m\fR|\fB\-\-method\fR] [\fB\-H\fR|\fB\-\-headers\fR] [\fB\-t\fR|\fB\-\-timeout\fR] [\fB\-\-warmup\fR] [\fB\-\-threads\fR] [\fB\-\-rate\fR] [\fB\-d\fR|\fB\-\-body\fR] [\fB\-u\fR|\fB\-\-user\-agent\fR] [\fB\-p\fR|\fB\-\-proxy\fR] [\fB\-k\fR|\fB\-\-insecure\fR] [\fB\-\-disable\-compression\fR] [\fB\-\-disable\-keepalive\fR] [\fB\-\-disable\-redirects\fR] [\fB\-\-json\fR] [\fB\-\-trace\-header\fR] [\fB\-\-vars\fR] [\fB\-\-webhook\fR] [\fB\-\-webhook\-on\fR] [\fB\-\-slack\fR] [\fB\-\-export\fR] [\fB\-\-snapshot\fR] [\fB\-\-allow\-host\fR] [\fB\-\-max\-requests\fR] [\fB\-\-max\-rate\fR] [\fB\-\-max\-concurrency\fR] [\fB\-\-dry\-run\fR] [\fB\-\-fail\-if\fR] [\fB\-\-metrics\fR] [\fB\-\-otlp\fR] [\fB\-i\fR|\fB\-\-setup\fR] [\fB\-\-config\fR] [\fB\-\-write\-config\fR] [\fB\-\-load\fR] [\fB\-\-keep\fR] [\fB\-\-record\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIURL\fR] [\fIARGS\fR] [\fIsubcommands\fR]
11
+ \fBpepe\fR [\fB\-h\fR|\fB\-\-help\fR] [\fB\-n\fR|\fB\-\-number\fR] [\fB\-c\fR|\fB\-\-concurrency\fR] [\fB\-z\fR|\fB\-\-duration\fR] [\fB\-\-curl\fR] [\fB\-m\fR|\fB\-\-method\fR] [\fB\-H\fR|\fB\-\-headers\fR] [\fB\-t\fR|\fB\-\-timeout\fR] [\fB\-\-warmup\fR] [\fB\-\-threads\fR] [\fB\-\-rate\fR] [\fB\-d\fR|\fB\-\-body\fR] [\fB\-u\fR|\fB\-\-user\-agent\fR] [\fB\-p\fR|\fB\-\-proxy\fR] [\fB\-k\fR|\fB\-\-insecure\fR] [\fB\-\-disable\-compression\fR] [\fB\-\-disable\-keepalive\fR] [\fB\-\-disable\-redirects\fR] [\fB\-\-json\fR] [\fB\-\-trace\-header\fR] [\fB\-\-vars\fR] [\fB\-\-webhook\fR] [\fB\-\-webhook\-on\fR] [\fB\-\-slack\fR] [\fB\-\-export\fR] [\fB\-\-snapshot\fR] [\fB\-\-events\fR] [\fB\-\-allow\-host\fR] [\fB\-\-max\-requests\fR] [\fB\-\-max\-rate\fR] [\fB\-\-max\-concurrency\fR] [\fB\-\-dry\-run\fR] [\fB\-\-fail\-if\fR] [\fB\-\-metrics\fR] [\fB\-\-otlp\fR] [\fB\-i\fR|\fB\-\-setup\fR] [\fB\-\-config\fR] [\fB\-\-write\-config\fR] [\fB\-\-load\fR] [\fB\-\-keep\fR] [\fB\-\-record\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIURL\fR] [\fIARGS\fR] [\fIsubcommands\fR]
12
12
  .ie \n(.g .ds Aq \(aq
13
13
  .el .ds Aq '
14
14
  .SH DESCRIPTION
@@ -95,6 +95,9 @@ Write the report to FILE as well, in the format its extension says: .html a self
95
95
  \fB\-\-snapshot\fR \fI<FILE>\fR
96
96
  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\*(Aqs numbers survive a crash or a lost terminal; it has a minute\-by\-minute timeline of the whole run
97
97
  .TP
98
+ \fB\-\-events\fR \fI<FILE>\fR
99
+ 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
100
+ .TP
98
101
  \fB\-\-allow\-host\fR \fI<HOST>\fR
99
102
  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
100
103
  .TP
@@ -182,6 +185,12 @@ Print the JSON Schema of a report: run (the default), ramp, ping or compare
182
185
  pepe\-mcp(1)
183
186
  Serve pepe\*(Aqs modes as tools for an agent over stdio (the Model Context Protocol); the guardrail flags given here hold for every call
184
187
  .TP
188
+ pepe\-serve(1)
189
+ Serve pepe over HTTP: start, watch, steer and compare runs from a script, an agent or a browser; loopback and a token by default
190
+ .TP
191
+ pepe\-worker(1)
192
+ Take a share of a `pepe serve`\*(Aqs distributed runs from this machine, under its own guardrails
193
+ .TP
185
194
  pepe\-self\-update(1)
186
195
  Update pepe to the latest release, or say what\*(Aqs new in it
187
196
  .TP
@@ -19,7 +19,7 @@
19
19
  "hasInstallScript": true,
20
20
  "license": "MIT",
21
21
  "name": "pepe-http",
22
- "version": "0.55.2"
22
+ "version": "0.57.0"
23
23
  },
24
24
  "node_modules/detect-libc": {
25
25
  "engines": {
@@ -48,5 +48,5 @@
48
48
  }
49
49
  },
50
50
  "requires": true,
51
- "version": "0.55.2"
51
+ "version": "0.57.0"
52
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "artifactDownloadUrls": [
3
- "https://github.com/omarmhaimdat/pepe/releases/download/v0.55.2"
3
+ "https://github.com/omarmhaimdat/pepe/releases/download/v0.57.0"
4
4
  ],
5
5
  "author": "Omar MHAIMDAT",
6
6
  "bin": {
@@ -119,7 +119,7 @@
119
119
  "zipExt": ".tar.xz"
120
120
  }
121
121
  },
122
- "version": "0.55.2",
122
+ "version": "0.57.0",
123
123
  "volta": {
124
124
  "node": "18.14.1",
125
125
  "npm": "9.5.0"
@@ -97,6 +97,28 @@
97
97
  }
98
98
  }
99
99
  },
100
+ "schedule": {
101
+ "type": "object",
102
+ "description": "--rate: how far the requests kept to the schedule. latency is timed from when each request went out; response_time_ms from its slot",
103
+ "required": ["paced_requests", "late_requests", "late_percent", "wait_ms", "response_time_ms"],
104
+ "properties": {
105
+ "paced_requests": { "type": "integer" },
106
+ "late_requests": { "type": "integer", "description": "Started a millisecond or more after their slot, every connection being busy" },
107
+ "late_percent": { "type": "number" },
108
+ "wait_ms": {
109
+ "type": "object",
110
+ "required": ["median", "p90", "p99", "max"],
111
+ "description": "How long after their slot the requests started",
112
+ "properties": { "median": { "type": "number" }, "p90": { "type": "number" }, "p99": { "type": "number" }, "max": { "type": "number" } }
113
+ },
114
+ "response_time_ms": {
115
+ "type": "object",
116
+ "required": ["median", "p90", "p99", "max"],
117
+ "description": "Each request's latency counted from its slot: what a user arriving on schedule saw",
118
+ "properties": { "median": { "type": "number" }, "p90": { "type": "number" }, "p99": { "type": "number" }, "max": { "type": "number" } }
119
+ }
120
+ }
121
+ },
100
122
  "failures": {
101
123
  "type": "array",
102
124
  "description": "Failed requests by cause, most frequent first; absent when nothing failed",
@@ -256,6 +278,15 @@
256
278
  "p90_ms": { "type": "number" },
257
279
  "p95_ms": { "type": "number" },
258
280
  "p99_ms": { "type": "number" },
281
+ "quantiles_ms": {
282
+ "type": "array",
283
+ "description": "The latency at points of its distribution, finer in the tail: q percent of the requests took ms or less",
284
+ "items": {
285
+ "type": "object",
286
+ "required": ["q", "ms"],
287
+ "properties": { "q": { "type": "number" }, "ms": { "type": "number" } }
288
+ }
289
+ },
259
290
  "phases": {
260
291
  "type": "object",
261
292
  "description": "Where the time went",