[COMPASS-5165] Set up telemetry test in Compass e2e tests Created: 13/Oct/21  Updated: 29/Oct/23  Resolved: 22/Oct/21

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: 1.29.4

Type: Task Priority: Major - P3
Reporter: Anna Henningsen Assignee: Anna Henningsen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: COMPASS-4946
Story Points: 3
Documentation Changes: Not Needed
Sprint: Iteration Novokuybyshevsk

 Description   

We base the testing of this functionality off the existing logging end-to-end tests and the existing Analytics integration tests in mongosh. Specifically, we set up a local HTTP server and inject its address, together with a fake API key, into the tested Compass process using environment variables. We then verify that for the critical path that the Compass logging end-to-end test covers, the telemetry events are emitted as expected.



 Comments   
Comment by Githook User [ 26/Oct/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat: add initial Segment telemetry code (#2531)

  • feat: add initial Segment telemetry code
  • Expand the compass-logging package and the compass main package
    as described in the technical design, similar to the existing
    logging code COMPASS-5163
  • Expand the logging e2e tests to cover at least one Segment
    identify and one Segment track call COMPASS-5165
Comment by Githook User [ 25/Oct/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat: add initial Segment telemetry code (#2531)

  • feat: add initial Segment telemetry code
  • Expand the compass-logging package and the compass main package
    as described in the technical design, similar to the existing
    logging code COMPASS-5163
  • Expand the logging e2e tests to cover at least one Segment
    identify and one Segment track call COMPASS-5165
Comment by Githook User [ 22/Oct/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat: add initial Segment telemetry code (#2531)

  • feat: add initial Segment telemetry code
  • Expand the compass-logging package and the compass main package
    as described in the technical design, similar to the existing
    logging code COMPASS-5163
  • Expand the logging e2e tests to cover at least one Segment
    identify and one Segment track call COMPASS-5165
Comment by Githook User [ 22/Oct/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: feat: add initial Segment telemetry code (#2531)

  • feat: add initial Segment telemetry code
  • Expand the compass-logging package and the compass main package
    as described in the technical design, similar to the existing
    logging code COMPASS-5163
  • Expand the logging e2e tests to cover at least one Segment
    identify and one Segment track call COMPASS-5165
Comment by Githook User [ 21/Oct/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna@addaleax.net', 'username': 'addaleax'}

Message: feat: add initial Segment telemetry code

Generated at Wed Feb 07 22:38:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.