-
-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
6915 - Telemetry daily frequency (#7095)
* Telemetry frequency changed from monthly to daily. * The id of a telemetry record now looks like `telemetry-<year>-<month>-<day>-<username>-<uuid>`. Also in the metadata section a new field `day` is added with the day of the month the data belongs to. * Bug fix: when `record()` was called for the first time in the period (a period was a month, now is a day), the record was added to the telemetry DB and then the aggregation executed with the data that was stored previously, so the aggregation process use to aggregate all the records from the previous period + a record that was actually from the current period. Now the last record is not taken into account in the aggregation submitted, instead is stored to be used in the following aggregation. * Add more telemetry tests. Refactor. * Improvements in the script to collect meta data from a terminal: - Output errors in the standard error stream to see the errors in the console while piping right results to a JSON file. - Add Unix exec permission and header to execute the script without the `node ` prefix.
- Loading branch information
Showing
3 changed files
with
278 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.