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

CLOUDP-297225: Add plugin telemetry tiny event #37

Merged
merged 8 commits into from
Feb 13, 2025
Merged

Conversation

blva
Copy link
Collaborator

@blva blva commented Feb 13, 2025

Proposed changes

Jira ticket: CLOUDP-297225

{2025-02-13 14:32:31.155485 +0000 GMT m=+0.007831251 atlascli map[alias:generate command:-kubernetes-config-generate eventType:plugin flags:[debug] result:SUCCESS]}]

Checklist

  • I have signed the MongoDB CLA
  • I have added tests that prove my fix is effective or that my feature works
  • I have added any necessary documentation in the document requirements section listed in CONTRIBUTING.md (if appropriate)
  • I have addressed the @mongodb/docs-cloud-team comments (if appropriate)
  • I have run make fmt and formatted my code

Further comments

@blva blva requested a review from fmenezes February 13, 2025 14:43

func withEventType() EventOpt {
return func(event Event) {
event.Properties["eventType"] = "plugin"
Copy link
Collaborator

Choose a reason for hiding this comment

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

discussed offline but we can't use eventtype we also tend to use snake case in properties if I'm not mistaken

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

updated!

Copy link
Collaborator

@cveticm cveticm left a comment

Choose a reason for hiding this comment

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

LGTM! Nice light weight solution!

@blva blva requested a review from fmenezes February 13, 2025 15:03
@blva blva merged commit 584a2b1 into main Feb 13, 2025
12 of 13 checks passed
@blva blva deleted the CLOUDP-297225_tel branch February 13, 2025 15:21
@cveticm cveticm mentioned this pull request Feb 14, 2025
5 tasks
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.

3 participants