Fix spelling mistakes (#4888)

This commit is contained in:
Trevor Pounds
2018-10-19 14:12:01 -04:00
committed by Daniel Nelson
parent 1ec12ba6ad
commit 17360f079c
9 changed files with 13 additions and 13 deletions

View File

@@ -20,7 +20,7 @@ type ValueCounter struct {
Fields []string
}
// NewValueCounter create a new aggregation plugin which counts the occurances
// NewValueCounter create a new aggregation plugin which counts the occurrences
// of fields and emits the count.
func NewValueCounter() telegraf.Aggregator {
vc := &ValueCounter{}
@@ -46,7 +46,7 @@ func (vc *ValueCounter) SampleConfig() string {
// Description returns the description of the ValueCounter plugin
func (vc *ValueCounter) Description() string {
return "Count the occurance of values in fields."
return "Count the occurrence of values in fields."
}
// Add is run on every metric which passes the plugin