datasette 1.0a41

Simon Willison's Weblog · 3h ago
Model Releases Open Source

How-To How to actually use this

What changed: Datasette 1.0a41 adds OpenTelemetry support and a documented modal dialog Web Component for plugins.

How to use it:

  1. Upgrade Datasette to 1.0a41.
  2. Configure OpenTelemetry environment variables (e.g., OTEL_EXPORTER_OTLP_ENDPOINT) to send traces to your collector.
  3. Run Datasette; it will automatically emit traces for requests and SQL queries.
  4. In a plugin, import the documented modal Web Component to reuse Datasette's dialog UI instead of building your own.

Good for: developers adding observability or building plugins with consistent modals.

Release: datasette 1.0a41 Alec Garcia added support for OpenTelemetry to Datasette in this release. I've also refactored all of Datasette's modal dialogs to a single Web Component, which is now documented for other plugins to use . Tags: javascript , datasette , web-components , alex-garcia , opentelemetry

Read original article on Simon Willison's Weblog →