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

Add new vs code endpoint #443

Merged
merged 3 commits into from
Feb 22, 2021
Merged

Add new vs code endpoint #443

merged 3 commits into from
Feb 22, 2021

Conversation

anthmatic
Copy link
Contributor

Description and Context

To support the VS Code extension, a new analytics endpoint has been created. This PR adds that endpoint to the existing usage tracking function.

Screenshots

TODO

Who to Notify

const path = `${FILE_MAPPER_API_PATH}/cms-cli-usage`;
const endpointMapping = {
'cli-interaction': 'cms-cli-usage',
'vscode-extension-interaction': 'vscode-extension-usage',
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe create an enum for the possible eventName values?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks @gcorne. I updated this if you don't mind taking another look I'd appreciate it

@anthmatic anthmatic merged commit 4e27bc0 into master Feb 22, 2021
@anthmatic anthmatic deleted the add/vscode-usage-tracking-ep branch February 22, 2021 17:00
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