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 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 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) 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) } 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" } ], 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, 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() } 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) } 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