Website: fix typo in send-aggregated-metrics-to-datadog script (#21915)

Changes:
- Fixed a typo in the `send-aggregated-metrics-to-datadog` script
This commit is contained in:
Eric 2024-09-09 11:47:38 -05:00 committed by GitHub
parent 4fb0fd5ede
commit 93131d3e2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -450,7 +450,7 @@ module.exports = {
});
// maintenanceWindowsConfigured
let numberOfInstancesWithMaintenanceWindowsConfigured = _.where(latestStatisticsReportedByReleasedFleetVersions, {maintenanceWindowsEnabled: true}).length;
let numberOfInstancesWithoutMaintenanceWindowsConfigured = numberOfInstancesToReport - numberOfInstancesWithMaintenanceWindowsEnabled;
let numberOfInstancesWithoutMaintenanceWindowsConfigured = numberOfInstancesToReport - numberOfInstancesWithMaintenanceWindowsConfigured;
metricsToReport.push({
metric: 'usage_statistics.maintenance_windows_configured',
type: 3,