Fix spelling mistakes (#4888)
This commit is contained in:
committed by
Daniel Nelson
parent
1ec12ba6ad
commit
17360f079c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user