From 6fbdd6eff724455090e061e327a0e48dd8010735 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 26 Dec 2024 15:47:42 -0500 Subject: [PATCH 1/9] spelling: an Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- lib/results.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/results.go b/lib/results.go index eacd42d0..6da9c9b2 100644 --- a/lib/results.go +++ b/lib/results.go @@ -147,7 +147,7 @@ func NewDecoder(rd io.Reader) Decoder { return func(r *Result) error { return dec.Decode(r) } } -// Decode is an an adapter method calling the Decoder function itself with the +// Decode is an adapter method calling the Decoder function itself with the // given parameters. func (dec Decoder) Decode(r *Result) error { return dec(r) } @@ -160,7 +160,7 @@ func NewEncoder(r io.Writer) Encoder { return func(r *Result) error { return enc.Encode(r) } } -// Encode is an an adapter method calling the Encoder function itself with the +// Encode is an adapter method calling the Encoder function itself with the // given parameters. func (enc Encoder) Encode(r *Result) error { return enc(r) } From 07e74b434beed1f14d85562e81a177f4d57eb717 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 26 Dec 2024 15:55:23 -0500 Subject: [PATCH 2/9] spelling: independently Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- scripts/load-ramping/ramp-requests.plt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/load-ramping/ramp-requests.plt b/scripts/load-ramping/ramp-requests.plt index 1c092e44..27f05d8c 100644 --- a/scripts/load-ramping/ramp-requests.plt +++ b/scripts/load-ramping/ramp-requests.plt @@ -13,7 +13,7 @@ set logscale xycb 10 # Grid set mxtics 10 set mytics 10 -set tics scale 0.0000000001 # Tics themselves can't be styled indepedently, so use grid only +set tics scale 0.0000000001 # Tics themselves can't be styled independently, so use grid only set grid xtics ytics mxtics mytics lc rgb '#888888' lw 0.5 lt 1, lc rgb '#888888' lt 1 lw 0.1 From 857f071f293fcb99bc948386022dac7922ad1ef7 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 26 Dec 2024 16:02:27 -0500 Subject: [PATCH 3/9] spelling: permanently Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- lib/reporters.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/reporters.go b/lib/reporters.go index aa7e4251..01aaed3d 100644 --- a/lib/reporters.go +++ b/lib/reporters.go @@ -18,7 +18,7 @@ type Report interface { // Closer wraps the optional Report Close method. type Closer interface { - // Close permantently closes a Report, running any necessary book keeping. + // Close permanently closes a Report, running any necessary book keeping. Close() } From 6f80b8e086db5c10b38a451bfb07003887958267 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 26 Dec 2024 16:04:40 -0500 Subject: [PATCH 4/9] spelling: registered Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- lib/prom/prom.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/prom/prom.go b/lib/prom/prom.go index fb885f68..34e6101e 100644 --- a/lib/prom/prom.go +++ b/lib/prom/prom.go @@ -72,7 +72,7 @@ func (pm *Metrics) Observe(res *vegeta.Result) { } // NewHandler returns a new http.Handler that exposes Prometheus -// metrics registed in r in the OpenMetrics format. +// metrics registered in r in the OpenMetrics format. func NewHandler(r *prometheus.Registry, startTime time.Time) http.Handler { return promhttp.HandlerFor(r, promhttp.HandlerOpts{ Registry: r, From e92cf07192de1bad1ecd96e20871bd0e613ea746 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 26 Dec 2024 16:04:48 -0500 Subject: [PATCH 5/9] spelling: response Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- internal/resolver/resolver_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/resolver/resolver_test.go b/internal/resolver/resolver_test.go index 882738a6..e14d6678 100644 --- a/internal/resolver/resolver_test.go +++ b/internal/resolver/resolver_test.go @@ -104,7 +104,7 @@ func TestResolver(t *testing.T) { } body, err := io.ReadAll(resp.Body) if err != nil { - t.Fatalf("failed to read respose body") + t.Fatalf("failed to read response body") } if strings.TrimSpace(string(body)) != payload { t.Errorf("body mismatch, got: '%s', expected: '%s'", body, payload) From c8b6335cb5efacf2dfb6d3d393d1f1131d077aeb Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 26 Dec 2024 16:05:59 -0500 Subject: [PATCH 6/9] spelling: case-sensitive Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- CHANGELOG | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 9d397be2..b32e6dc9 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -36,7 +36,7 @@ Revert end-to-end attack timeout change 2015-05-23: v5.7.0 - Allow case sensitve headers in attacks + Allow case-sensitive headers in attacks 2015-04-15: v5.6.3 Expose connections flag in the attack command From 95bd4f72beb1e50e03f5dc0482f06aa29173a84a Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 26 Dec 2024 16:07:10 -0500 Subject: [PATCH 7/9] spelling: throughput Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- lib/prom/grafana.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/prom/grafana.json b/lib/prom/grafana.json index 331edc5a..6611707b 100644 --- a/lib/prom/grafana.json +++ b/lib/prom/grafana.json @@ -291,7 +291,7 @@ "expr": "rate(request_seconds_count[1m])", "format": "time_series", "intervalFactor": 1, - "legendFormat": "throughtput {{url}} {{status}}", + "legendFormat": "throughput {{url}} {{status}}", "refId": "A" } ], From 975dc46e2b8e96fdfbc93b7c142a5f94ec16ca66 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 26 Dec 2024 16:26:31 -0500 Subject: [PATCH 8/9] spelling: vegeta Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- lib/attack_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/attack_test.go b/lib/attack_test.go index e847050b..e6621989 100644 --- a/lib/attack_test.go +++ b/lib/attack_test.go @@ -299,7 +299,7 @@ func TestUnixSocket(t *testing.T) { t.Parallel() body := []byte("IT'S A UNIX SYSTEM, I KNOW THIS") - socketDir, err := os.MkdirTemp("", "vegata") + socketDir, err := os.MkdirTemp("", "vegeta") if err != nil { t.Fatal("Failed to create socket dir", err) } From c4cfefae2a9c9c1a3d115c73d962d2e5d13af3b5 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 26 Dec 2024 15:47:21 -0500 Subject: [PATCH 9/9] link: vegeta releases Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 81e5a8dd..bb125dcb 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ HTTP services with a constant request rate. [It's over 9000!](https://en.wikiped ### Pre-compiled executables -Get them [here](http://github.com/tsenart/vegeta/releases). +Available from [vegeta releases](http://github.com/tsenart/vegeta/releases). ### macOS