Skip to content
20 min readUpdated 3 Nov 2026

Observe and diagnose

Reaktor separates two kinds of signal. Runtime telemetry describes what the system did while it served a request: traces, metrics and logs, in OpenTelemetry form, emitted by the framework. Product analytics describe what people did: screens viewed, messages sent, events joined, declared by each app in its own catalog. Both carry the identity of the graph node that produced them, so a span, a product event and a crash report can be joined to the same screen, service or release. Crash reports and diagnosing one running instance have their own sections below.

Overview#

Where each signal of a running Reaktor product goes. Product events and service spans go to ClickHouse, infrastructure metrics, logs and traces go to Prometheus, Loki and Tempo, crashes go to Firebase Crashlytics, and a running debug build is read live without storing anything. Grafana and Hangar read them back, and every signal names the graph node that produced it.WHO SENDS ITWHERE IT IS KEPTWHERE YOU READ ITAppsproduct events, such asscreen_viewClickHouse analytics eventsthrough the analytics sinkand the analytics WorkerGrafana and the Analytics panefunnels, cohorts and retentionWorkers and appsone service span per callClickHouse service_spansWorkers write them; apps sendthem with their eventsGrafana dashboardseight dashboards, and Hangar'sTelemetry paneThe k3s clustermetrics, logs and tracesPrometheus, Loki and Tempocollected by AlloyGrafanaPrometheus rules feed Alertmanager,which has no channel to page yetPhone appscrashes, handled errorsand Android ANRsFirebase Crashlyticsthrough the Crashlytics SDK, withReaktor's session and graph keysFirebase console, Crashes paneand the Crashlytics MCP toolsDebug builds and Hangarwhat the app does right nowNothing is storedread live from the running appDevTools and Graph paneslive screens, network, memoryand the running graphEvery span, metric, log and crash key names what produced it: reaktor.graph.id, reaktor.node.id, reaktor.port.id and reaktor.snapshot.id
Every signal names the graph node that produced it, so a span, an event and a crash join on the same screen, service or release.
SignalSent byStored inRead with
Product events, such as screen_view or chat_message_sentApp code, through the analytics sink and the analytics WorkerClickHouse analytics eventsGrafana and Hangar's Analytics pane
Service spans: one row per service call, with build, node and sessionWorkers write them directly; apps send them with their product events through the analytics sinkClickHouse service_spansGrafana dashboards
Infrastructure metrics, logs and tracesAlloy on the k3s clusterPrometheus, Loki and TempoGrafana; Prometheus rules feed Alertmanager
OTLP from other producers/v1/traces, /v1/logs and /v1/metrics on the telemetry WorkerThe cluster storesGrafana
Crashes, handled errors and Android ANRsMobile apps, through the Crashlytics SDKFirebase CrashlyticsThe Firebase console, Hangar's Crashes pane and the Crashlytics MCP tools
What a running app is doing right nowDebug builds and the desktop hostNothing is storedHangar's DevTools and Graph panes

Alertmanager has no notification channel yet, so alerts are visible in Grafana, but nobody is paged.

When something breaks#

  1. Find the release and environment. Every span and crash report carries the build, so check which build the affected users run.
  2. Check that the signals are arriving before you trust an empty chart. An empty chart can mean no errors or a broken exporter.
  3. Narrow the problem to a service, node and time range, then read the traces and logs for that range.
  4. If an instance looks unhealthy, follow Diagnosing a running app to look at memory, threads and CPU, or to take a profile.
  5. Reproduce the failure away from production, fix it, and check the fix against the same symptom before you deploy.

Reading telemetry never gives permission to change production. Restarts, scaling, migrations and deploys go through their own gated operations.

When telemetry is missing, check in this order: did the producer emit it, did the client queue drop it, did ingestion accept it, did the export succeed, is it visible in the table or trace store, and can your query see it. Do not add a second collector because a chart is empty.

Kinds of signal#

SignalQuestion it answersOwnerExamples
Product analyticsWhat did users do, and where did they convert?The appscreen_view, campaign_joined, chat_message_sent
Runtime telemetryWhat happened inside the system for this request or graph operation?The frameworkGraph lifecycle, navigation, port calls, service calls, actor messages, queries
PerformanceHow fast and stable was the app, route, Worker or release?Framework and appStartup, dropped frames, web vitals, latency percentiles, bundle size, profiles
Operational auditWho or what changed the system?The workspaceDeploys, migrations, agent operations, data fixes

Storage and Grafana#

A service span is one row per service call. It records the trace, span and parent IDs, the application session, environment, island, contract, operation, build, node and graph digest, with start time, duration and status. Grafana reads these rows through a read-only ClickHouse user that can see only the span tables.

Grafana runs at telemetry.reaktor.build in a Cloudflare Container behind a Durable Object. It starts on the first interaction and sleeps after a few idle minutes; its SQLite database is replicated to R2 with Litestream and restored on each start. Ingestion and backend queries never wake it. Eight dashboards read the span tables: Executions, Performance, Errors, Sources, Mobile Fleet, Web and Browser, Desktop, and Coverage Gaps. Prometheus evaluates the alert rules continuously, but Alertmanager has no notification channel yet.

Telemetry in the framework#

Reaktor uses OpenTelemetry as its internal model as well as its transport, so there is no Reaktor-specific span, metric or log type and no translation layer. Propagation is W3C traceparent and tracestate. On the JVM and Android the framework uses opentelemetry-java; on iOS, JavaScript and Workers it uses the OpenTelemetry Kotlin API, which is still experimental, so that dependency stays inside reaktor-telemetry.

The reaktor-telemetry module contains:

  • TelemetryAdapter, which installs the SDK, exporters and propagators and is exposed as Feature.Telemetry.
  • GraphTelemetry, which records graph lifecycle, navigation, port and child-graph spans without changing node code.
  • A port interceptor chain, port semantics (request, mailbox, stream, state and reference) and a plan visitor that decides which ports to instrument, installs the hooks and removes them again.
  • ReaktorSpanProcessor, a bounded span queue that counts accepted, exported, dropped and failed spans, and HttpOtlpTransport, which ships OTLP/JSON batches and reports failures instead of blocking on retries.
  • AnalyticsSink, SinkAnalyticsAdapter and CrashlyticsAdapter for product events and crash reports.

Every signal names its node#

Reaktor's own contribution is a semantic convention. Every span, metric and log carries the architectural identity that produced it, so a trace read months later still resolves against the graph:

reaktor.graph.id      = bestbuds
reaktor.node.id       = ChatService
reaktor.port.id       = sendMessage
reaktor.port.shape    = request
reaktor.edge.id       = ChatInteractor→ChatService
reaktor.contract.id   = chat.send-message.v2
reaktor.snapshot.id   = git:a41302
reaktor.activation.id = <runtime only, never a metric dimension>

The snapshot names the source and deployment; the activation names one running instance. Keeping them apart is what lets a historical trace find the graph it ran against.

Telemetry is a layer over the graph#

Telemetry never adds nodes to the application graph, because millions of span nodes would destroy what makes the graph useful: a stable description of what can connect. There are three related structures instead:

G   ARCHITECTURE GRAPH    "what can connect?"          stable nodes, ports and edges
M   METRICS OVERLAY       "how has this behaved?"      calls/s 42 · p95 84 ms · errors 0.3%
T   EXECUTION GRAPH       "what happened this time?"   ChatScreen.send → ChatService.sendMessage → Worker → Postgres

Each span maps back to the node, port or edge responsible for it. A trace waterfall is the execution graph; "show this trace on the graph" is the architecture graph with that mapping drawn on it; a latency heatmap is the architecture graph with an hour of the metrics overlay. Hangar's panes draw these three structures and keep no data model of their own.

Hangar's Telemetry pane on its Signals view: three failing calls of notification-worker ranked on the left with their error and latency, a coverage and blind-spots line above them, and the graph map on the right.
The Signals view, here with test data: each problem with its error and latency, the graph it belongs to beside it, and a blind-spots line for spans that name no graph node.

What gets instrumented#

Instrumentation comes from the graph, so node code holds no telemetry calls. Policies are declared on the graph and inherited by modules, nodes and ports, so the common case writes almost nothing:

graph.telemetry { standard() }

paymentPort.telemetry { detailed(); payloads = None }
animationFramePort.telemetry { traces = Off; metrics = AggregateOnly }

A visitor walks the graph and compiles a plan: which ports get spans, which metrics exist, the sampling, redaction and propagation rules. The plan is itself something Hangar can show, so you can see what is instrumented without reading code. Calls made through a port are intercepted; a raw object reference handed out by a port is not, and the plan marks that as a coverage boundary.

Rules#

Cardinality. OpenTelemetry SDKs keep at most 2,000 attribute combinations per metric stream, so an unbounded attribute on a metric silently loses data. Keep high-detail identity on spans and logs.

Safe as a metric dimensionSpans and logs only
module, node_type, port_type, port_shapeuser_id, session_id, trace_id, request_id
operation, runtime, deployment, transportmessage_id, activation_id, raw URLs
status, error_category, reaktor.node.id, reaktor.snapshot.idArbitrary graph values

Stable IDs are not enough on their own: node × port × contract × snapshot × status can exceed the limit, and snapshots accumulate with every release. Give each instrument a projected cardinality and enforce it with OpenTelemetry views.

Payloads are off by default. Telemetry records the shape of a value, such as SendMessageRequest · 481 bytes · Success, and leaves its content out. Fields can be marked @Telemetry.PII or @Telemetry.Safe, and the visitor turns those marks into redaction rules. Baggage crosses service boundaries and can reach third parties, so it is an allowlist that starts empty.

Asynchronous work uses links. For mailboxes, queues and pub/sub, the consumer's span links to the producer's span instead of becoming its child. Links handle batches and fan-out correctly; a producer span never stretches to cover later processing.

Telemetry does not instrument itself. Exporting a span must not produce a span about the export. The telemetry plane uses its own channel, while its health (queue depth, drops, last successful export) is still reported.

Product analytics#

Each app owns its product events. In BestBuds, BestBudsEvents defines the event names and parameter keys, and Compose helpers such as TrackScreenView and TrackSearch emit them. The path to storage is:

event helper → Feature.Analytics → SinkAnalyticsAdapter
  → HttpAnalyticsSink (memory buffer and persisted queue, batches of 50, 30 s timer, 3 retries with backoff, flush on background)
  → analytics Worker → ClickHouse

Firebase Analytics is not used; Firebase serves only push delivery, App Distribution and Crashlytics.

AreaEvents
Lifecyclescreen_view, app_foregrounded, app_backgrounded
Onboardingonboarding_started, onboarding_question_answered, onboarding_question_skipped, onboarding_completed
Campaignsdiscover_viewed, campaign_card_clicked, campaign_detail_viewed, campaign_join_intent, campaign_joined, campaign_left, campaign_search
Eventsevents_viewed, event_viewed, event_saved, event_unsaved, event_rsvp, event_created, event_search
Chat and friendschat_list_viewed, chat_opened, chat_message_sent, reactions and friend profile views
Moderation and botsModeration checks and removals, campaign bot runs and messages

Hangar's Analytics pane reads bestbuds.analytics_events through the Data pane's bounded, read-only ClickHouse session, after a click, and keeps the results while you move between tabs:

  • Performance: events, people and sessions over 30 days, events per day, each event's last seven days against the seven before, platforms and builds, and screens viewed.
  • Funnels: people reaching each step of onboarding, chat and campaigns.
  • Cohorts and retention: people grouped by the day they were first seen in the last 60 days, and whether they came back the next day or a week or more later.
  • Findings from the data itself: a platform whose events carry no app version, onboarding that sends no events while people are active, and session counts high enough to mean the session ID is regenerated too often.

Privacy rules the app follows today: chat events carry a length bucket and flags, never the message; locations are coarse cells, never coordinates; search events carry the query length and result count, never the query; the client queue is bounded; and raw events in ClickHouse are readable only with elevated access. The HTTP sink does not yet enforce consent, so consent and a kill switch are still the app's job.

Crash reports#

Reaktor apps report crashes with Firebase Crashlytics. Crashlytics collects and groups crashes, handled errors and Android ANRs, processes symbols and alerts. Reaktor adds what Crashlytics cannot know: which session, graph node, route and backend trace a crash belongs to. Product analytics stay in Reaktor's own pipeline, and Firebase Analytics is not used.

Who does what#

JobDone by
Android and iOS crashes, handled errors and supported Android ANRsCrashlytics
Startup, network and custom timingsFirebase Performance, plus Reaktor's own performance reports
Session, trace, graph and build identityReaktor, propagated into crash context, service spans and analytics
Frame, CPU and memory investigationReaktor's DevTools and the platform profilers
Reproducing a crash and comparing releasesShadow
Reading crash reports from Hangar and agentsThe workspace kernel, through Hangar's Crashes pane and the Crashlytics MCP tools

How it is wired#

reaktor-telemetry has a CrashlyticsAdapter with Android and Darwin implementations that record exceptions, logs and the user ID. BestBuds installs them in BestBudsActivity and BestBudsViewController. Android applies the Crashlytics Gradle plugin, and the iOS distribution lanes upload dSYMs with upload_ios_dsyms_to_crashlytics!.

Hangar's Crashes pane reads Firebase reports through a kernel node, so it needs no device connection. When the provider cannot be read, because of missing credentials, an unavailable API or a partial window, the pane says so instead of showing zero crashes.

Release builds#

  • Map every bundle ID and tier to its own Firebase app registration, so development crashes cannot reach production dashboards and alerts. An environment key alone does not isolate crash-free rates or alerts.
  • Start crash reporting and set the build and environment keys before any product code runs. Test the launch from the home screen, without DevTools, Xcode or a debugger attached.
  • Keep the exact R8 mapping, native symbols, app dSYMs and the embedded Kotlin framework dSYMs for each distributed build. A successful upload is not the goal; readable frames for that exact build are. A deliberately broken symbol configuration should fail the release lane.
  • Test on physical devices: handled Kotlin errors, unhandled Kotlin/Native errors, platform crashes and Android ANRs. After a test crash, relaunch the app so the report uploads; on iOS, detach the debugger before forcing the crash.

Joining a crash to the graph#

Reaktor keeps its own application session, with clear start, foreground, background and logout boundaries. It is separate from Firebase's internal session, the sign-in session, graph activations and trace IDs. A small set of custom keys carries the rest:

ContextKeys
Buildreaktor_graph_id, reaktor_snapshot_id, source_revision, service_version
Locationreaktor_node_id, reaktor_route, reaktor_port_id, reaktor_contract_id
Runtimedeployment_environment_name, reaktor_session_id, backend_region
Failing operationreaktor_trace_id, reaktor_operation

Crashlytics allows 64 keys and 64 KB of rolling logs per session, so leave room for product context and treat logs as breadcrumbs: they hold too little to be a journal. Record routes as patterns and leave concrete URLs out. Custom keys describe the process at the moment of the crash: when several service calls run at once, one global trace key cannot say which call a fatal crash belongs to. Attach the operation to handled errors directly, and treat the route and session on a fatal crash as context: they do not say which call caused it.

The session travels further than the crash report. Requests carry traceparent and an allowlisted session entry in baggage, which the backend validates and writes into its logs and service spans. Baggage never grants access.

Timings#

Firebase Performance adds startup, network and custom timings. It is a separate SDK, so check each HTTP engine and Compose route it is supposed to cover. Reaktor's service boundaries record operation timings, and its performance reports hold frame, startup and memory budgets; a budget whose measurement is missing reports "no collector", never "passed".

Before launch, an app needs at least a small client journal: route changes, service outcomes and retries, build and graph context, and references to crash reports. It needs a disk budget, batching, retries and drop counters. Telemetry must never block startup or a user request.

Alerts#

Crashlytics reports stability. Grafana covers availability, latency, message delivery and infrastructure. Zero crashes in a quiet app is normal, so do not alert on the absence of crashes; test that reports still arrive with a controlled crash from a development build with a known build number and delivery window.

Privacy#

  • Use a pseudonymous account ID only where it is approved, and clear it and any account-specific breadcrumbs on logout and account switch.
  • Scrub credentials and personal data from logs, keys and exception messages before they leave the device.
  • Firebase keeps crash traces for 90 days. Clearing a user ID does not delete old reports, and deleting one customer's reports goes through Firebase support, so account deletion must account for it separately.
  • Firebase decides where Crashlytics data is processed. Storage location for Reaktor's own journals is set independently.

Investigating with Shadow#

A Crashlytics issue can become a Shadow case. The case carries the issue reference, the session and operation references that exist, the exact build, the environment and the node. Shadow can then replay the failure in a sanitized workspace and keep it as a regression case, while Crashlytics stays the record of the crash itself.

Diagnosing a running app#

Monitoring finds a symptom. Diagnosis explains where the time or memory went. A healthy endpoint can hide a growing heap, leaked subscriptions, too many threads or an oversized app, so this page covers what to measure on one instance, how to prove a leak, how to profile a JVM service and how to load-test a change. Every measurement should name its runtime, build, collector, unit and time window, or it cannot be compared with the next one.

What to measure#

AreaMeasurementsRead them carefully
App sizeDownload size, installed size, code, native libraries, assets, symbols, change since the last buildMeasure APK or AAB, IPA, web chunks, server archive and container image separately
InstancesDesired and ready replicas, process count, uptime, restarts and exit reasonsSeparate helpers and sidecars from app processes
CPUCPU time, limits, throttling, runnable threads, event-loop lagSay whether a percentage is of one core, the allocation or the host
Threads and tasksOS threads, executor queues, coroutines, actor mailbox backlogThreads, coroutines and actors are different counts
Managed memoryHeap used and committed, live set after GC, allocation rate, GC pausesUsed is not committed, committed is not resident, and allocation is not retention
Native memoryRSS, physical footprint, direct buffers, stacks, metaspace, native and FFI allocationsPlatforms define these differently; never compare Android PSS with iOS footprint
ResourcesFile handles, sockets, connection pools, disk and cache bytesCheck the peak, and that counts return to normal when work stops
User experienceCold and warm start, missed frames, stalls, crashes, ANRsRecord the device tier and display refresh rate
Graph lifecycleActive scopes, pending work, open capabilities, subscriptions and interceptors left after detachAfter a graph detaches, counts should return to a known baseline

Keep these apart. App size is a property of the build and memory a property of the run; a single health score that hides a missing measurement is worse than no score.

Where the measurements come from#

RuntimeEverydayDeeper
JVM server and desktopHost and container metrics, management APIs, process inventoryJFR and JMC, thread dumps, heap analysis, native memory tracking
AndroidDevTools frame, memory and startup readings in debug builds; Crashlytics for crashes and ANRsAndroid Studio profilers, Perfetto, simpleperf, LeakCanary
iOSDevTools readings in debug builds; CrashlyticsInstruments: allocations, leaks and the time profiler
BrowserNavigation, resource and error timingsPerformance recordings, heap snapshots, detached DOM and listener checks
Workers and Durable ObjectsCPU time, duration and errors from CloudflareLocal runtime captures; process and heap numbers do not exist here
Native codeProcess counters and owned allocationsNative profilers and sanitizers

Crashlytics does not give a memory timeline and cannot prove a leak. When a measurement has no collector on a platform, show it as missing, because a zero reads as a real value.

Proving a leak#

  1. Fix the build, device, flags, workload and starting state. Warm caches first, then repeat one bounded cycle many times: open a chat, send and close it; attach and detach a graph; apply a live update.
  2. Measure the idle baseline, the peaks and the level after the system goes quiet. Allow for caches, GC timing and pools. Growing RSS alone is only a suspicion.
  3. Compare live sets after GC, or the objects retained between cycles. Use heap dominators and paths to GC roots for managed memory, allocation tracking for native memory, and handle counts for everything else.
  4. Name the owner that keeps the memory: a listener, scope, coroutine job, timer, class loader, native handle, direct buffer or cache. Tie it to a graph lifecycle when you can.
  5. Show that the fix bounds the growth and releases the resource, on the same cycle and workload. Keep the dumps, since heap dumps can contain user data.

Profiling a JVM service#

Start from a hypothesis, because each symptom needs different evidence:

SymptomLook first atThen
Slow and CPU-boundCPU samples, GC and runnable threadsAttribute hot stacks to an operation and source line
Slow but CPU idleWall-clock stacks, locks, I/O and pool queuesSeparate slow dependencies from contention
Frequent GCAllocation samples and the live set over timeSeparate short-lived churn from retention
Heap grows after GCHeap comparisonDominators and paths to roots
RSS grows, heap stableNative memory, buffers, threads and mappingsNative memory tracking for JVM internals, OS tools for the rest
Slow first requestStart-up, JIT and class-loading timelineReport cold, warm and steady state separately

Capture against the right process and keep the output:

jcmd "$JVM_PID" VM.flags
jcmd "$JVM_PID" GC.heap_info
jcmd "$JVM_PID" Thread.print -l
jcmd "$JVM_PID" JFR.start name=diagnosis settings=profile duration=60s filename="$PROFILE_DIR/diagnosis.jfr"

JFR's default settings are cheap enough to leave on; profile records more for a bounded investigation. Open the recording in JMC. Heap dumps can force a full GC, so never take them on a health-check path.

For a suspected native leak inside the JVM, start the process with -XX:NativeMemoryTracking=summary, then compare before and after the reproducing workload:

jcmd "$JVM_PID" VM.native_memory baseline
jcmd "$JVM_PID" VM.native_memory summary.diff

Native memory tracking covers only HotSpot's own allocations. For CPU, wall-clock, allocation and lock profiles, use async-profiler and pin its version and mode; allocation samples show churn, and retention needs a heap comparison.

On Workers, do not time CPU with performance.now() around a loop: Worker clocks advance only on I/O. Use the CPU time Cloudflare reports.

Load tests#

Run a candidate against real, isolated dependencies. Recorded or simulated dependencies are fine for testing orchestration but say nothing about real capacity or latency.

TestQuestion
SmokeDoes the whole journey work?
LoadDoes expected demand meet the latency and error targets?
StressWhere does demand exceed capacity, and how does the system shed it?
SpikeDoes the system absorb a burst and settle again?
SoakDoes memory and resource use stay bounded over hours?
FaultDoes a defined failure keep data correct, and does the system recover?
Cold startWhat happens before caches, JIT and pools are warm?

Choose the arrival model from the question. An open model schedules requests regardless of response time; a closed model holds a fixed number of users who wait for each answer, so a slowing service quietly reduces its own load. Report offered, admitted, successful and failed requests with their totals, and count timeouts as failures. Quote p95 and p99 only when there are enough samples to support them.

Measure warm-up, steady state and recovery as separate intervals. Give baseline and candidate the same starting data and capacity, repeat runs when the host is shared, and judge results against an absolute target as well as a relative change, because a percentage of an almost-zero baseline means little.

For faults, choose one boundary and inject one failure there: a timeout, a lost acknowledgement after commit, a duplicate delivery, out-of-order input or a disconnect. Afterwards check the stored data, what the user saw and which side effects happened. With at-least-once queues, test deduplication by stable operation IDs; an HTTP 200 does not prove that exactly one row or one notification exists.

Budgets#

A release can declare the measurements it requires: the target, metric, unit, collector and the rule that accepts it. Each result is passed, exceeded, no collector, or measurement failed. A skipped measurement never counts as passed.

What it improves#

The usual approachWhat goes wrongWhat Reaktor does
A framework-specific span and metric type, translated into OpenTelemetry on exportTwo models drift, and the translation loses dataOpenTelemetry is the only model, and reaktor.* attributes name the graph node, port and snapshot
Telemetry calls written by hand in node codeCoverage drifts, and nobody can say what is instrumentedPolicies on the graph compile into an instrumentation plan that Hangar can show
A crash report on its ownNothing links it to the session, screen, service call or releaseCustom keys and an allowlisted session entry join a crash to its node, route and backend trace
An empty chart read as "no errors"A broken exporter looks like a healthy systemCheck that signals arrive before trusting a chart, and a measurement with no collector shows as missing
One health score per instanceA missing measurement hides inside the scoreSeparate measures per runtime, each naming its build, collector, unit and window

Limitations#

  • The OTLP/JSON encoder writes attributes, status and timing, but not span events or links, so exported traces lose some causality.
  • Failed batches are counted but not kept, so telemetry is not a durable record of what happened. Replay needs its own journal, described in Shadow.
  • A phone → Worker → server → queue path is one trace only where every boundary carries traceparent. Not every boundary does yet.
  • The BestBuds app propagates trace context on service calls and its backends record the spans, but the app does not install GraphTelemetry itself; Hangar does, for the graphs it hosts.
  • Alertmanager has no notification channel, so nobody is paged.

Planned#

  • A typed analytics catalog. Each app would declare its events in Kotlin with parameters, privacy class, owner and retention, and the catalog would generate constants, debug-build validation, docs and dashboard seeds. Unknown events, unknown parameters and personal-data-like parameter names would fail tests.

    val bestbudsAnalytics = reaktorAnalytics("bestbuds") {
        event("chat_message_sent") {
            owner("messaging")
            forbid("message_body")
            param("length_bucket", EnumType("0", "1-9", "10-49", "50-199", "200-499", "500+"))
            param("has_media", BooleanType)
        }
    }
    
  • Capture as a graph command. CaptureTelemetry(target = node("ChatService"), mode = Detailed, duration = 30.seconds) would raise the detail for one node for a bounded time and revert on its own, through the same approval path as any other change.

  • Shadow comparisons. Paired baseline and candidate runs would be summarised in Workers Analytics Engine, with history in R2 and Iceberg. Shadow describes the design.

Reference#

  • The framework: the reaktor-telemetry module: TelemetryAdapter, GraphTelemetry, the port interceptors, ReaktorSpanProcessor, HttpOtlpTransport, AnalyticsSink, SinkAnalyticsAdapter and CrashlyticsAdapter.
  • BestBuds: BestBudsEvents for the event catalogue, and BestBudsActivity and BestBudsViewController, which install the Crashlytics adapters.
  • Related pages: Deployment, DevTools pane, Data pane for the ClickHouse session, and Shadow.