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

feat(telemetry): add telemetry wrapper for cli #2210

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

matthieu-crouzet
Copy link
Contributor

Proposed change

Add telemetry wrapper for cli

Related issues

@matthieu-crouzet matthieu-crouzet requested a review from a team as a code owner October 1, 2024 14:24
void (async () => {
try {
const { createCliWithMetrics } = await import('@o3r/telemetry');
return createCliWithMetrics('@o3r/workspace:set-version', cliFn, { logger, preParsedOptions: options });
Copy link
Contributor Author

Choose a reason for hiding this comment

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

example made once, I will wait for the approval to make the other ones in another PR

@matthieu-crouzet matthieu-crouzet force-pushed the feat/cli-wrapper branch 3 times, most recently from a8ac773 to 9d47150 Compare October 2, 2024 07:19
@matthieu-crouzet matthieu-crouzet linked an issue Oct 2, 2024 that may be closed by this pull request
1 task
kpanot
kpanot previously approved these changes Oct 2, 2024
@matthieu-crouzet matthieu-crouzet added this pull request to the merge queue Oct 2, 2024
Merged via the queue into main with commit 7dbeef8 Oct 2, 2024
29 checks passed
@matthieu-crouzet matthieu-crouzet deleted the feat/cli-wrapper branch October 2, 2024 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: Retrieve metrics on CLI usage
3 participants