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

Rename telemetry events #453

Merged

Conversation

datho7561
Copy link
Contributor

@datho7561 datho7561 commented Apr 14, 2021

Use . consistently as the separator in event names. Prefix event names with xml.. Group the binary download events into xml_binary_download. Add a parameter status that indicates if the download succeeded, failed or was aborted.

Signed-off-by: David Thompson davthomp@redhat.com

@datho7561
Copy link
Contributor Author

@fbricon

src/server/binary/binaryServerStarter.ts Outdated Show resolved Hide resolved
src/server/binary/binaryServerStarter.ts Outdated Show resolved Hide resolved
@fbricon
Copy link
Collaborator

fbricon commented Apr 14, 2021

Please use . instead of _ as separator

src/telemetry.ts Outdated Show resolved Hide resolved
src/telemetry.ts Outdated Show resolved Hide resolved
@datho7561
Copy link
Contributor Author

Please use . instead of _ as separator

I thought that there was some issue with using .?

@fbricon
Copy link
Collaborator

fbricon commented Apr 14, 2021

I thought that there was some issue with using .?

No the issue is with :. Using . is consistent with the rest of our existing events

@datho7561
Copy link
Contributor Author

No the issue is with :. Using . is consistent with the rest of our existing events

Okay. LemMinX's reporting is also inconsistent then (lemminx uses server_start, server_stop). I'll take a look at what needs to be done to change it in LemMinX as well.

Use `.` consistently as the separator in event names.
Prefix event names with `xml.`.
Group the binary download events into `xml_binary_download`.
Add a parameter `status` that indicates if the download succeeded, failed or was aborted.

Signed-off-by: David Thompson <davthomp@redhat.com>
@datho7561 datho7561 changed the title Change the names of the telemetry events Rename telemetry events Apr 14, 2021
@datho7561 datho7561 marked this pull request as ready for review April 14, 2021 19:11
@datho7561 datho7561 modified the milestone: 0.17.0 Apr 14, 2021
@datho7561
Copy link
Contributor Author

eclipse/lemminx#1017

@datho7561 datho7561 requested a review from fbricon April 16, 2021 14:27
@fbricon fbricon merged commit 458f7e9 into redhat-developer:master Apr 16, 2021
@datho7561 datho7561 deleted the change-download-event-name branch April 16, 2021 17:59
@datho7561 datho7561 added this to the 0.17.0 milestone Apr 16, 2021
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.

None yet

2 participants