Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

AT Protocol 4 min read Release mediumAdept

Make the PDS Your Own: Customization and Metrics

The reference PDS release adds documented branding variables for the account management and OAuth screens: service name, logo, primary and semantic colors, footer links, and new light/dark background images. Contrast text color is derived automatically. Opt-in OpenTelemetry support auto-instruments HTTP, SQLite, S3 blob storage and Node runtime metrics, normalizes XRPC spans by NSID, and emits counters for account creation, sign-ins and OAuth grants. A bundled Prometheus v3/Grafana stack ingests OTLP directly without a Collector and runs in under 1GB. The default blob limit rises to 300MB and is advertised via describeServer, though existing installs must set PDS_BLOB_UPLOAD_LIMIT themselves, and a bug that hid stale OAuth sessions from the connected apps list is fixed.

Related posts

  • OpenTelemetry Basics on Heroku Fir

    Heroku Engineering mediumAdept

    Heroku's Fir platform has OpenTelemetry built in and acts as the telemetry collector, so apps can forward platform logs, metrics and traces to any OTLP-compatible backend without running their own collector. After a brief primer on OpenTelemetry signals and the split between SDKs and collectors, a Go sample app is deployed to a Fir space and wired to Grafana Cloud. The setup takes Grafana's OTLP endpoint and auth headers, converts the headers to JSON with sed, and registers them with `heroku telemetry:add`. Metrics, router traces and logs then appear in Grafana within minutes.

  • OpenTelemetry for JavaScript Observability at Zalando

    Zalando Engineering mediumAdept

    Zalando built thin OpenTelemetry-based observability SDKs for Node.js and the browser, sharing a common API package so isomorphic apps can be instrumented consistently. The Node.js SDK autoconfigures from Kubernetes environment variables and ships default runtime metrics (CPU, memory, GC, event loop lag) plus opt-in HTTP/Express instrumentation. The browser SDK was trimmed to about 30 KB by cherry-picking packages and lazy-loading the rest. It exports telemetry via sendBeacon through the Skipper edge proxy, gated on GDPR consent, and is exposed to frontend developers through Rendering Engine renderer APIs. Key lessons include avoiding OpenTelemetry context (Zone.js in browsers, and migration friction from OpenTracing) in favour of passing spans manually, and defining custom histogram buckets so Core Web Vitals such as LCP and CLS get meaningful percentiles.

  • How We Export Metrics to Third-Party Services

    Neon mediumAdept

    Neon streams Postgres and host metrics to Datadog, New Relic and any OTLP-compatible platform by running a per-project OpenTelemetry Collector colocated with compute pods in each region. Collectors are provisioned through the OTel Kubernetes Operator via a custom resource. Each one scrapes sql_exporter and Vector endpoints using Kubernetes pod service discovery filtered by project label, then applies memory limiting and batching before exporting. Per-project placement was chosen over per-user or per-org collectors to avoid cross-region scraping latency and to keep failure domains isolated, and the setup reuses the same scraping model as the internal vmagent/VictoriaMetrics monitoring pipeline.

  • Own Your Observability: Supabase Metrics API

    Supabase mediumAdept

    Supabase's Metrics API exposes roughly 200 Postgres health and performance metrics per project in Prometheus exposition format at a privileged endpoint authenticated with service-role Basic Auth, refreshed every minute. It can be scraped by Grafana Cloud, Datadog, AWS Managed Prometheus or any Prometheus-compatible backend, so database telemetry can be correlated with existing application observability. Suggested signals and alerts include connection saturation, CPU/memory above 80%, disk I/O wait, replication lag and post-deploy query regressions, plus using PgBouncer for bursty connection patterns.

  • Migrate Datadog telemetry with the OpenTelemetry Collector

    ClickHouse mediumAdept

    The OpenTelemetry Collector's Datadog receiver lets existing Datadog agents and SDKs send logs, traces and metrics to a Collector. The Collector translates them into the OpenTelemetry data model, and they can then be exported to any backend or dual-written alongside Datadog for side-by-side evaluation. ClickHouse contributed fixes upstream: proper log timestamps and severity mapping, promotion of resource attributes, reconstruction of 128-bit trace IDs for log-trace correlation, in-Collector JSON log decoding, and Zstandard support for Datadog Agent 7.59+. A worked example points a Datadog agent's datadog.yaml at ClickStack's Collector on port 8126. The receiver is still alpha: it is recommended for evaluating logs and traces, while metrics support covers only the v1/v2 intake endpoints and needs more testing.

The quest for software engineering knowledge.

Look:
Layout: