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

Commit

Permalink
fix typo's
Browse files Browse the repository at this point in the history
  • Loading branch information
Dieterbe committed Apr 7, 2017
1 parent 4266a56 commit bbc25b8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cmd/mt-store-cat/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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_<rollup>_<span> when appropriate")
Expand Down
2 changes: 1 addition & 1 deletion cmd/mt-whisper-importer-writer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions docs/tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -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_<rollup>_<span> when appropriate
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion idx/memory/memory.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion mdata/aggmetric.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bbc25b8

Please sign in to comment.