-
Notifications
You must be signed in to change notification settings - Fork 40
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
Adding required instrumentation #14
Conversation
} | ||
|
||
function isUsageReportingEnabled() { | ||
return process.env.DISABLE_USAGE_REPORTING; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's document how to opt-out of the usage reporting, please.
Also, it's worth mentioning what all will be collected, and everything is anonymous and cannot be used for identifying a run.
bin/helpers/config.js
Outdated
@@ -11,5 +11,7 @@ config.rails_host = hosts[config.env].rails_host; | |||
config.cypress_v1 = `${config.rails_host}/automate/cypress/v1`; | |||
config.buildUrl = `${config.cypress_v1}/builds/`; | |||
config.buildStopUrl = `${config.cypress_v1}/builds/stop/`; | |||
config.usageReportingUrl = `http://127.0.0.1:8000/send_event_cy_internal`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What http://127.0.0.1:8000 points to?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will point to the endpoint where data will be sent. Will update this before merging
} | ||
|
||
exports.getUserAgent = () => { | ||
return `BStack-Cypress-CLI/1.x (${os.arch()}/${os.platform()}/${os.release()})`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nagpalkaran95 Can we get the exact version of the CLI?
Like BStack-Cypress-CLI/<full_version> (${os.arch()}/${os.platform()}/${os.release()})
?
@@ -1,6 +1,6 @@ | |||
{ | |||
"name": "browserstack-cypress-cli", | |||
"version": "1.1.0", | |||
"version": "1.1.3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is handled during the package publishing, not needed.
…-cli into CYP_123_instrumentation
User facing changelog
PR Tasks
used, system details and errors that users get so that we can improve the way
users run their Cypress tests on BrowserStack.
browserstack.json
is an invalid json