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

Eventlog tests and documentation #4

Closed
wants to merge 126 commits into from

Conversation

Zsailer
Copy link

@Zsailer Zsailer commented Aug 22, 2019

This adds tests to #1 (I'll close that PR).

Here are some initial tests and documentation for the EventLog in JupyterHub.

minrk and others added 30 commits April 16, 2019 12:57
AS A developer of a Logout handler
I WANT to be able to call a function to kill spawners and
do other backend logout stuff and a separate function to
forward the user along the logout chain.

I believe this PR adds (moderately private) methods to the
Logout Handler to do just that.
Big thanks to Erik, Tim, and Min for the great comments!

Change names to be more clear, add function doc comments,
change scoping on some functions, add handle_logout to let
people take custom logout actions, extract
render_logout_page from get method, add TODO.
order should be preserved between multiple steps
test postgres with url-encoded password
preserves link targets, which mangling the directive header does not
[autodoc] move config sample to annotation
…_use_case

Adding the use case of the Elucidata: How Jupyter Notebook is used in…
Update to simplify the language related to spawner options
Windows doesn't have support for signal handling so it can't use the
signal handling capabilities of asyncio. Use the previous atexit
strategy on the Windows case instead.

Signed-off-by: Alejandro Del Castillo <alejandro.delcastillo@ni.com>
Fixes jupyterhub#2566 to some
degree by making the announcement stand out using twitter-bootstrap
classes `alert` and `alert-warning`. Perhaps we could theme twitter
bootstrap or this alert specifically with jupyter related colors as well
though?
avoids asyncio tracebacks in e.g. `jupyterhub --version`
re-raise exceptions in launch_instance_async
The default values are taken from environment variables defined by Spawner.get_env.
* Add missing responses (doesn't include all possible responses yet)
* Refactor invalid multi in body parameters into a single parameter
* Change form type into valid formData
* Fix use of required fields
* Apply a few other minor fixes
GeorgianaElena and others added 24 commits August 5, 2019 14:42
Replace header logo: jupyter -> jupyterhub
…-named-servers

Add `server_name` to `spawn_url`
- Introduce the EventLog class from BinderHub for emitting
  structured event data
- Instrument server starts and stops to emit events
- Defaults to not saving any events anywhere
They're pure python, and should be ok
jupyterhub still supports Python 3.5
Full circle, since the code in jupyter_telemetry
came from here: jupyter/telemetry#6
Move it to YAML, since jupyter_telemetry supports these
natively.
@Zsailer
Copy link
Author

Zsailer commented Aug 22, 2019

Oops. Sorry, rebased too soon and caused a bunch of spam here.

@Zsailer
Copy link
Author

Zsailer commented Aug 22, 2019

Closing since I opened jupyterhub#2698

@Zsailer Zsailer closed this Aug 22, 2019
yuvipanda pushed a commit that referenced this pull request Mar 10, 2022
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.