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

Emit telemetry event on "Run job with input folder" checkbox click #523

Merged

Conversation

andrii-i
Copy link
Collaborator

Emit create-job.options.package_input_folder.{check/uncheck} on "Run job with input folder" checkbox click. Metric name is proposed because it is semantically in line with metrics already being emitted: 1, 2, 3.

Note that by default LogContext is empty so telemetry goes nowhere (Jupyter Scheduler operator needs to overwrite it with a custom logging function to actually use telemetry). So this PR is in line what we are already doing and does not expose Jupyter Scheduler users to anything.

@andrii-i andrii-i added the enhancement New feature or request label May 30, 2024
@sravyasdh
Copy link

LGTM! Thank you for adding this!

@andrii-i andrii-i added this to the 2.7.1 milestone May 31, 2024
@srdas srdas self-requested a review May 31, 2024 18:15
Copy link
Collaborator

@srdas srdas left a comment

Choose a reason for hiding this comment

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

All looks good. Tested the branch as well and everything is working as expected.

@andrii-i andrii-i merged commit 8b13516 into jupyter-server:main Jun 3, 2024
6 checks passed
@andrii-i andrii-i deleted the log_package_input_folder_click branch June 3, 2024 22:13
nsingl00 pushed a commit to nsingl00/jupyter-scheduler that referenced this pull request Jun 28, 2024
…upyter-server#523)

* emit on package_input_folder click

* remove unnecessary onChange event inline typing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants