chore: fix misspelling

This commit is contained in:
Yordis Prieto Lazo
2022-12-18 22:58:07 -05:00
parent 2f959a773c
commit 0842910049
16 changed files with 31 additions and 30 deletions
+1 -1
View File
@@ -274,7 +274,7 @@ func (dc *diskCollector) collect() {
// to make sure that the rows are not duplicated
// we display only the only one row even if there are
// mutiple rows for the same disk.
// multiple rows for the same disk.
seen := make(map[string]bool)
for _, partition := range partitions {
if seen[partition.Device] {
@@ -38,7 +38,7 @@ func NewOsFeatureCollectorOrDie(osFeatureConfig *ssmtypes.OSFeatureStatsConfig,
procPath: procPath,
}
var err error
// Use metrics.Last aggregation method to ensure the metric is a guage metric.
// Use metrics.Last aggregation method to ensure the metric is a gauge metric.
if osFeatureConfig.MetricsConfigs["system/os_feature"].DisplayName != "" {
oc.osFeature, err = metrics.NewInt64Metric(
metrics.OSFeatureID,