berkeley-dsep-infra / prob140hub

JupyterHub for UC Berkeley, Stat 140
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

Enable StackDriver Premium #32

Open yuvipanda opened 6 years ago

yuvipanda commented 6 years ago

David Culler wanted us to keep all the logs from the hub for this semester, so we can more accurately figure out usage patterns.

The easiest way to do this on GKE right now is:

  1. Enable StackDriver Premium
  2. Enable aggregated exports to export to GCS so we can fetch them after (https://cloud.google.com/logging/docs/export/aggregated_exports). Also only export hub logs

After we do (2), we can disable StackDriver Premium and stop paying for it. But enabling it now gives us a 30d window to do (2).

yuvipanda commented 6 years ago

@ryanlovett if you are too swamped for this, gimme access and lmk and I can get this done :)