Fix spelling errors in comments and documentation (#7492)

This commit is contained in:
Josh Soref
2020-05-14 03:41:58 -04:00
committed by GitHub
parent c78045c13f
commit 2c56d6de81
134 changed files with 215 additions and 215 deletions

View File

@@ -6,7 +6,7 @@ A common use is to add a tag that can be used to group by month or year.
A few example usecases include:
1) consumption data for utilities on per month basis
2) bandwith capacity per month
2) bandwidth capacity per month
3) compare energy production or sales on a yearly or monthly basis
### Configuration

View File

@@ -46,7 +46,7 @@ Add measurement name as a tag:
```diff
- cpu,hostname=localhost time_idle=42
+ cpu,hostname=localhost,meaurement=cpu time_idle=42
+ cpu,hostname=localhost,measurement=cpu time_idle=42
```
Add the year as a tag, similar to the date processor:

View File

@@ -53,7 +53,7 @@ Note that depending on the amount of metrics on each computed bucket, more than
# add_rank_fields = []
## These settings provide a way to know what values the plugin is generating
## when aggregating metrics. The 'add_agregate_field' setting allows to
## when aggregating metrics. The 'add_aggregate_field' setting allows to
## specify for which fields the final aggregation value is required. If the
## list is non empty, then a field will be added to each every metric for
## each field present in this setting. This field will contain

View File

@@ -90,7 +90,7 @@ var sampleConfig = `
# add_rank_fields = []
## These settings provide a way to know what values the plugin is generating
## when aggregating metrics. The 'add_agregate_field' setting allows to
## when aggregating metrics. The 'add_aggregate_field' setting allows to
## specify for which fields the final aggregation value is required. If the
## list is non empty, then a field will be added to each every metric for
## each field present in this setting. This field will contain

View File

@@ -35,7 +35,7 @@ type metricChange struct {
newTags []tag // Tags that should be added to the metric
runHash bool // Sometimes the metrics' HashID must be run so reflect.DeepEqual works
// This happens because telegraf.Metric mantains an internal cache of
// This happens because telegraf.Metric maintains an internal cache of
// its hash value that is set when HashID() is called for the first time
}
@@ -149,7 +149,7 @@ func TestTopkAggregatorsSmokeTests(t *testing.T) {
aggregators := []string{"mean", "sum", "max", "min"}
//The answer is equal to the original set for these particual scenarios
//The answer is equal to the original set for these particular scenarios
input := MetricsSet1
answer := MetricsSet1