Skip to content

Conversation

addaleax
Copy link
Collaborator

Specifically:

  • Rename mongosh:api-call to mongosh:api-call-with-arguments for
    a bit more accuracy, and drop mongosh:deprecated-api-call in
    favor of a more generla mongosh:api-call event that provides
    information useful for telemetry.
  • Track top-level API calls of async APIs, avoiding tracking of
    nested calls and omitting synchronous APIs since they are used
    internally fairly extensively.

Specifically:

- Rename `mongosh:api-call` to `mongosh:api-call-with-arguments` for
  a bit more accuracy, and drop `mongosh:deprecated-api-call` in
  favor of a more generla `mongosh:api-call` event that provides
  information useful for telemetry.
- Track top-level API calls of async APIs, avoiding tracking of
  nested calls and omitting synchronous APIs since they are used
  internally fairly extensively.
Copy link
Collaborator

@mcasimir mcasimir left a comment

Choose a reason for hiding this comment

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

Great! finally we are able to know which apis are actually used .. also super neat unify calls and deprecations.

@addaleax addaleax merged commit fc6f399 into main Oct 22, 2021
@addaleax addaleax deleted the 977-dev branch October 22, 2021 11:56
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