Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(telemetry): set timestamp on telemetry event on created; always pass session_id MONGOSH-1646 #1748

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

gribnoysup
Copy link
Contributor

No description provided.

@@ -112,12 +121,12 @@ export class ToggleableAnalytics implements MongoshAnalytics {

identify(...args: Parameters<MongoshAnalytics['identify']>): void {
this._validateArgs(args);
this._queue.push(['identify', args]);
this._queue.push(['identify', [addTimestamp(args[0])]]);
Copy link
Contributor Author

@gribnoysup gribnoysup Nov 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ticket only mentioned ThrottledTelemetry, I though we'd want both queuing telemetries to preserve the timestamp to the time of issue from the userland?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes :)

@addaleax addaleax merged commit 963c75b into main Nov 20, 2023
47 of 52 checks passed
@addaleax addaleax deleted the mongosh-1646-more-telemetry-meta branch November 20, 2023 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants