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

fix: typos #1288

Open
wants to merge 1 commit 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 auth/jwt/transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func ContextToHTTP() http.RequestFunc {
}

// GRPCToContext moves a JWT from grpc metadata to context. Particularly
// userful for servers.
// useful for servers.
func GRPCToContext() grpc.ServerRequestFunc {
return func(ctx context.Context, md metadata.MD) context.Context {
// capital "Key" is illegal in HTTP/2.
Expand Down
2 changes: 1 addition & 1 deletion metrics/cloudwatch/cloudwatch.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ func (g *Gauge) Add(delta float64) {
g.add(g.name, g.lvs, delta)
}

// Histogram is an Influx histrogram. Observations are aggregated into a
// Histogram is an Influx histogram. Observations are aggregated into a
// generic.Histogram and emitted as per-quantile gauges to the Influx server.
type Histogram struct {
name string
Expand Down
2 changes: 1 addition & 1 deletion metrics/dogstatsd/dogstatsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ func (t *Timing) Observe(value float64) {
t.obs(t.name, t.lvs, value)
}

// Histogram is a DogStatsD histrogram. Observations are forwarded to a
// Histogram is a DogStatsD histogram. Observations are forwarded to a
// Dogstatsd object, and collected (but not aggregated) per timeseries.
type Histogram struct {
name string
Expand Down
2 changes: 1 addition & 1 deletion metrics/influx/influx.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ func (g *Gauge) Add(delta float64) {
g.add(g.name, g.lvs, delta)
}

// Histogram is an Influx histrogram. Observations are aggregated into a
// Histogram is an Influx histogram. Observations are aggregated into a
// generic.Histogram and emitted as per-quantile gauges to the Influx server.
type Histogram struct {
name string
Expand Down
2 changes: 1 addition & 1 deletion metrics/influxstatsd/influxstatsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ func (t *Timing) Observe(value float64) {
t.obs(t.name, t.lvs, value)
}

// Histogram is a InfluxStatsD histrogram. Observations are forwarded to a
// Histogram is a InfluxStatsD histogram. Observations are forwarded to a
// Influxstatsd object, and collected (but not aggregated) per timeseries.
type Histogram struct {
name string
Expand Down
Loading