Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit bbc25b8

Browse files
committed
fix typo's
1 parent 4266a56 commit bbc25b8

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

cmd/mt-store-cat/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func main() {
8181
flag.PrintDefaults()
8282
fmt.Println("Notes:")
8383
fmt.Println(" * Using `*` as metric-selector may bring down your cassandra. Especially chunk-summary ignores from/to and queries all data.")
84-
fmt.Println(" With great power comes great responsability")
84+
fmt.Println(" With great power comes great responsibility")
8585
fmt.Println(" * points that are not in the `from <= ts < to` range, are prefixed with `-`. In range has prefix of '>`")
8686
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")
8787
fmt.Println(" * Doesn't automatically return data for aggregated series. It's up to you to query for id_<rollup>_<span> when appropriate")

cmd/mt-whisper-importer-writer/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var (
3838
fakeAvgAggregates = flag.Bool(
3939
"fake-avg-aggregates",
4040
true,
41-
"Generate sum/cnt series out of avg series to accomodate metrictank",
41+
"Generate sum/cnt series out of avg series to accommodate metrictank",
4242
)
4343
httpEndpoint = flag.String(
4444
"http-endpoint",

docs/tools.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ Flags:
388388
the window factor be used when creating the metric table schema (default 20)
389389
Notes:
390390
* Using `*` as metric-selector may bring down your cassandra. Especially chunk-summary ignores from/to and queries all data.
391-
With great power comes great responsability
391+
With great power comes great responsibility
392392
* points that are not in the `from <= ts < to` range, are prefixed with `-`. In range has prefix of '>`
393393
* 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
394394
* Doesn't automatically return data for aggregated series. It's up to you to query for id_<rollup>_<span> when appropriate
@@ -492,7 +492,7 @@ Usage of ./mt-whisper-importer-writer:
492492
-exit-on-error
493493
Exit with a message when there's an error (default true)
494494
-fake-avg-aggregates
495-
Generate sum/cnt series out of avg series to accomodate metrictank (default true)
495+
Generate sum/cnt series out of avg series to accommodate metrictank (default true)
496496
-http-endpoint string
497497
The http endpoint to listen on (default "127.0.0.1:8080")
498498
-num-partitions int

idx/memory/memory.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ func (m *MemoryIdx) Load(defs []schema.MetricDefinition) int {
142142
continue
143143
}
144144
m.add(def)
145-
// as we are loading the metricDefs from a persistant store, set the lastSave
145+
// as we are loading the metricDefs from a persistent store, set the lastSave
146146
// to the lastUpdate timestamp. This wont exactly match the true lastSave Timstamp,
147147
// but it will be close enough and it will always be true that the lastSave was at
148148
// or after this time. For metrics that are sent at or close to real time (the typical

mdata/aggmetric.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ type AggMetric struct {
4141
// NewAggMetric creates a metric with given key, it retains the given number of chunks each chunkSpan seconds long
4242
// it optionally also creates aggregations with the given settings
4343
// the 0th retention is the native archive of this metric. if there's several others, we create aggregators, using agg.
44-
// it's the callers responsability to make sure agg is not nil in that case!
44+
// it's the callers responsibility to make sure agg is not nil in that case!
4545
func NewAggMetric(store Store, cachePusher cache.CachePusher, key string, retentions conf.Retentions, agg *conf.Aggregation) *AggMetric {
4646

4747
// note: during parsing of retentions, we assure there's at least 1.

0 commit comments

Comments
 (0)