This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Musing on the stats endpoint #1
Comments
If you want logs, I would probably put that on a separate endpoint. Adding container info makes sense, though. You don't want requesting stats to be too expensive, though. |
Ah, yeah. Maybe a separate API call then for health checks? We could flip it around and either have tmpnb report up to tmpnb-redirector, or some other shared key value store (e.g. etcd). |
Can this be closed thanks to jupyter/tmpnb#162? |
Most definitely! |
Ah, wait. No. This hasn't been implemented in the redirector. |
OK. Let me change the issue title to clarify that. I shall submit a PR soon. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This is a dupe of jupyter/tmpnb#95, but likely belongs in both since they're using the same "spec".
I'm kind of wishing we had a beautiful front-end stats page (which could just be at stats.example.org), or we could make two endpoints on a given tmpnb server
/stats
for a beautiful mockup of the data and/api/stats
for the raw JSON.In addition, some things I've wanted during a deploy:
docker logs
of individual containers)The text was updated successfully, but these errors were encountered: