diff --git a/cmd/mt-store-cat/main.go b/cmd/mt-store-cat/main.go index 0656bc526b..4e7d861123 100644 --- a/cmd/mt-store-cat/main.go +++ b/cmd/mt-store-cat/main.go @@ -81,7 +81,7 @@ func main() { flag.PrintDefaults() fmt.Println("Notes:") fmt.Println(" * Using `*` as metric-selector may bring down your cassandra. Especially chunk-summary ignores from/to and queries all data.") - fmt.Println(" With great power comes great responsability") + fmt.Println(" With great power comes great responsibility") fmt.Println(" * points that are not in the `from <= ts < to` range, are prefixed with `-`. In range has prefix of '>`") fmt.Println(" * When using chunk-summary, if there's data that should have been expired by cassandra, but for some reason didn't, we won't see or report it") fmt.Println(" * Doesn't automatically return data for aggregated series. It's up to you to query for id__ when appropriate") diff --git a/cmd/mt-whisper-importer-writer/main.go b/cmd/mt-whisper-importer-writer/main.go index 7482d0c051..9725d8eb09 100644 --- a/cmd/mt-whisper-importer-writer/main.go +++ b/cmd/mt-whisper-importer-writer/main.go @@ -38,7 +38,7 @@ var ( fakeAvgAggregates = flag.Bool( "fake-avg-aggregates", true, - "Generate sum/cnt series out of avg series to accomodate metrictank", + "Generate sum/cnt series out of avg series to accommodate metrictank", ) httpEndpoint = flag.String( "http-endpoint", diff --git a/docs/tools.md b/docs/tools.md index 45f2fc12c5..525fd4f2d2 100644 --- a/docs/tools.md +++ b/docs/tools.md @@ -388,7 +388,7 @@ Flags: the window factor be used when creating the metric table schema (default 20) Notes: * Using `*` as metric-selector may bring down your cassandra. Especially chunk-summary ignores from/to and queries all data. - With great power comes great responsability + With great power comes great responsibility * points that are not in the `from <= ts < to` range, are prefixed with `-`. In range has prefix of '>` * When using chunk-summary, if there's data that should have been expired by cassandra, but for some reason didn't, we won't see or report it * Doesn't automatically return data for aggregated series. It's up to you to query for id__ when appropriate @@ -492,7 +492,7 @@ Usage of ./mt-whisper-importer-writer: -exit-on-error Exit with a message when there's an error (default true) -fake-avg-aggregates - Generate sum/cnt series out of avg series to accomodate metrictank (default true) + Generate sum/cnt series out of avg series to accommodate metrictank (default true) -http-endpoint string The http endpoint to listen on (default "127.0.0.1:8080") -num-partitions int diff --git a/idx/memory/memory.go b/idx/memory/memory.go index e3a964591c..e0c9d8c5ea 100644 --- a/idx/memory/memory.go +++ b/idx/memory/memory.go @@ -142,7 +142,7 @@ func (m *MemoryIdx) Load(defs []schema.MetricDefinition) int { continue } m.add(def) - // as we are loading the metricDefs from a persistant store, set the lastSave + // as we are loading the metricDefs from a persistent store, set the lastSave // to the lastUpdate timestamp. This wont exactly match the true lastSave Timstamp, // but it will be close enough and it will always be true that the lastSave was at // or after this time. For metrics that are sent at or close to real time (the typical diff --git a/mdata/aggmetric.go b/mdata/aggmetric.go index bbea922394..14482700d0 100644 --- a/mdata/aggmetric.go +++ b/mdata/aggmetric.go @@ -41,7 +41,7 @@ type AggMetric struct { // NewAggMetric creates a metric with given key, it retains the given number of chunks each chunkSpan seconds long // it optionally also creates aggregations with the given settings // the 0th retention is the native archive of this metric. if there's several others, we create aggregators, using agg. -// it's the callers responsability to make sure agg is not nil in that case! +// it's the callers responsibility to make sure agg is not nil in that case! func NewAggMetric(store Store, cachePusher cache.CachePusher, key string, retentions conf.Retentions, agg *conf.Aggregation) *AggMetric { // note: during parsing of retentions, we assure there's at least 1.