Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spelling #719

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion internal/resolver/resolver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion lib/attack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
2 changes: 1 addition & 1 deletion lib/prom/grafana.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
],
Expand Down
2 changes: 1 addition & 1 deletion lib/prom/prom.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion lib/reporters.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

Expand Down
4 changes: 2 additions & 2 deletions lib/results.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) }

Expand All @@ -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) }

Expand Down
2 changes: 1 addition & 1 deletion scripts/load-ramping/ramp-requests.plt
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down