• Deploy to the dev server.

@panopticon///bin/web

  • Fix the size of the input textbox.

  • Change the request logger to use @panopticon///lib/instrument.WithSpan.

@panopticon///lib/data

  • Figure out why migrations fail to run.

    • This was caused by Migrate closing the database even after successful runs. I’ve removed that and all is well. The migration source, in the embedded io.FS, doesn’t get closed, which might leave some memory on the floor, but it’s small enough that I don’t really care right now.

@panopticon///lib/log

A demo of how instrument looks now

  • Add support for changing debug/trace mode at runtime.

  • Contextualize log lines with their parent span, if one exists.

  • Rename to @panopticon///lib/instrument.

  • Make the context carry values properly for context.WithTimeout and others.

  • Make the log output contain filename and line metadata.

  • Output JSON when the stream is not a TTY.

  • Add support for tracing.

@panopticon///lib/db

  • Instrument queries.