Telemetry, analytics, and usage
The platform uses several signals to show what is happening during workflow execution and platform operation. Logs explain task activity and recorded user actions, traces connect work across clients and services, metrics show health and load, alerts report recent failures, and analytics records product use for service insight.
Observability model
Observability is split by the question a signal answers. Workflow logs and traces help explain one run. Metrics show trends across workers, queues, tenants, and platform services. Product analytics describes how people and clients use the platform. Audit logs record user and API-key actions for an accountable history. Operational alerts turn selected runtime events into notifications.
The signals follow separate paths so an operational tool can be used without treating product analytics as a health signal. Audit records use a durable queue before they reach analytical storage, so a short OLAP outage does not block the request that records an action. The analytical repository can run on a dedicated OLAP database with its own pool, which keeps analytical reads and maintenance separate from request traffic.
Signal paths
The following diagram shows how client activity and platform activity become diagnostic or usage data.
flowchart LR
A[Workflow client and worker] --> L[Workflow logs]
A --> T[Trace spans]
B[API and engine services] --> T
B --> M[Operational metrics]
C[User and client actions] --> U[Usage analytics]
C --> AL[Audit log outbox]
AL --> ALS[Audit log storage and archive]
D[Failed workflow runs] --> A1[Operational alerts]
E[Durable stream activity] --> S[Minute tenant byte totals]
L --> V[Built-in run view]
T --> O[Trace search and run view]
M --> P[Prometheus or OTLP tools]
U --> H[Analytics service]
ALS --> AD[Audit history]
A1 --> N[Tenant alert delivery]
The data and runtime platform provides the broader runtime context. The database schema and migrations page explains the persistent data model that supports run and tenant history. The repositories, messaging, and configuration page explains the shared service foundations that feed these signals. The OLAP and observability services page covers the related analytical storage and service boundaries.
References: frontend/…/logging.mdx• L11-50 frontend/…/opentelemetry.mdx• L8-18 frontend/…/prometheus-metrics.mdx• L7-14 pkg/…/audit_log.go• L20-27 pkg/…/audit_log.go• L65-115 pkg/…/olap.go• L271-280 pkg/…/olap.go• L370-402 pkg/…/olap_stream_bytes.go• L13-21
Logging
Logging gives a workflow owner a human-readable record of task activity. A task can send messages through the built-in context logger or connect an existing logger to the SDK, then the platform exposes those messages in its workflow log view. The run view supports both live monitoring and later review of the same task record.
Workflow log stream
The workflow log stream belongs to a task run. It is intended for debugging and run monitoring rather than for measuring fleet-wide rates. The run view filters entries by text, level, and retry attempt, loads older entries as needed, and refreshes while the task is running. It shows timestamps and run context, while structured fields and error details remain available without replacing the main message. A custom logger lets an application keep its own logging setup while still sending task messages to the platform.
Run-list reads that include payloads reject result sets above 1,000 returned records. This bounds the memory and serialization cost of diagnostic reads. Callers that do not need payloads can omit them. Workflow-run reads return one row per requested run, and a DAG run uses the latest finished child output when that output is available.
Run and event data assembly uses the stored payload when an offloaded payload is not available. This expected fallback does not emit an error-level diagnostic, which keeps normal payload fallback behavior out of noisy operational logs.
References: frontend/…/logging.mdx• L11-18 frontend/…/logging.mdx• L44-50 frontend/…/logging.mdx• L54-68 frontend/…/use-logs.tsx• L106-161 frontend/…/use-logs.tsx• L163-265 frontend/…/log-viewer.tsx• L235-267 frontend/…/log-viewer.tsx• L339-543 pkg/…/olap.go• L50-67 pkg/…/olap.go• L840-896 pkg/…/olap.go• L1320-1394 pkg/…/olap.go• L1400-1546 pkg/…/olap_list_workflow_runs_test.go• L127-156 pkg/…/olap_list_workflow_runs_test.go• L184-188
Audit log delivery
Audit logs provide a durable record of actions by users and API keys on tenant resources. The platform first stores each valid record in a core-database outbox, then an OLAP controller copies it into audit-log storage. This separates request success from OLAP availability and lets failed copies remain queued for retry.
The delivery contract is safe for redelivery. Each record keeps its identifier and insertion time, and the OLAP write skips a record that is already present with the same tenant and key. A failed batch remains together for a later attempt, while a bounded flush prevents one OLAP write from holding the outbox transaction open indefinitely.
References: pkg/…/audit_log.go• L20-27 pkg/…/audit_log.go• L29-63 pkg/…/audit_log.go• L65-115 pkg/…/audit_log.go• L118-150 pkg/…/olap.go• L271-280
Distributed tracing
Tracing follows one operation across the client, workflow trigger, worker, API, and supporting services. Each trace is a set of linked spans that carries run context so an engineer can move from a trigger to the work that it caused.
Trace context
The SDK creates producer spans when a client starts or schedules work and consumer spans when a worker handles that work. It propagates W3C trace context from the producer to the worker. The shared telemetry layer also supports root spans and links for work that does not have one direct parent, plus delayed span start times for work whose result is known later. Custom spans inside a task can keep the Hatchet run attributes, which connects application work to the task run.
References: frontend/…/opentelemetry.mdx• L132-180 pkg/…/telemetry.go• L189-229 pkg/…/telemetry.go• L232-274
Service trace export
Hatchet services can export their own spans to an OpenTelemetry Collector through OTLP over gRPC. The API server and engine are configured as separate trace sources. Export is off when no collector endpoint is set, and a sampling ratio can reduce the number of exported traces.
Service spans carry service identity and can include deployment context such as pod, namespace, and cloud region. The exporter can use authenticated secure or insecure transport as required by the collector. The API middleware also records request failures as span errors and protects known sensitive query values from trace attributes.
References: frontend/…/opentelemetry.mdx• L5-20 frontend/…/opentelemetry.mdx• L34-48 pkg/…/telemetry.go• L27-110 api/…/telemetry.go• L29-39 api/…/telemetry.go• L42-65 api/…/telemetry.go• L93-127
Trace lookup
The observability API turns a workflow run into a trace view for the run's tenant. It first finds the trace for the external run ID, then returns the trace spans in pages. This gives the UI a tenant-scoped way to inspect timing and relationships without exposing traces from another tenant.
References: api/…/traces.go• L15-20 api/…/traces.go• L41-69 pkg/…/olap.go• L3946-4065 pkg/…/olap.go• L4068-4245
Metrics
Metrics turn repeated platform behavior into values that monitoring systems can query. The platform exposes both scrape-based Prometheus metrics and OpenTelemetry metrics so operators can monitor queues, task outcomes, worker capacity, database health, and data-processing load.
Prometheus metrics
Prometheus metrics are available at two scopes. Global metrics describe an engine process or deployment. Tenant metrics describe workflow and worker behavior for one tenant and can be returned in Prometheus text format through an authenticated API endpoint.
The tenant endpoint can be disabled by entitlement. A Prometheus server must be configured behind it because the API obtains the tenant series from that server rather than calculating the full result itself.
References: frontend/…/prometheus-metrics.mdx• L14-24 frontend/…/prometheus-metrics.mdx• L28-46 api/…/get_prometheus_metrics.go• L15-30 api/…/get_prometheus_metrics.go• L32-69
OpenTelemetry metrics
OpenTelemetry metrics report platform conditions that are useful for service diagnosis. The shared recorder covers database health, temporary data-table size, recent run counts, active worker capacity, and active SDK information. It exports through the same collector model as internal traces when metrics export is enabled, using the service and deployment identity attached to the telemetry resource.
References: pkg/…/metrics.go• L13-35 pkg/…/metrics.go• L37-163 pkg/…/metrics.go• L166-247 pkg/…/telemetry.go• L113-186 frontend/…/opentelemetry.mdx• L38-48
Run status records
Run status records turn task and workflow events into the current state shown by run views and status metrics. The OLAP path treats retry number as the main order, then uses a fixed status priority for events that belong to the same retry. This keeps late or repeated messages from moving a run back to an older state.
The same rule applies when a task is first stored, when events update it, and when a task is reconciled from its full event history. A newer retry count advances even when its first observed status is already terminal. A failure from an attempt that will retry remains an event but does not make the task terminal. A task created directly in a terminal state carries that state from the start, so later message order does not change its meaning.
When workflow runs contain child tasks, accepted task state changes also feed the workflow-level status. This keeps task views, workflow views, and status metrics based on the same state decision.
References: pkg/…/olap.go• L1770-1826 pkg/…/olap.go• L1887-1904 pkg/…/olap.go• L1939-1955 pkg/…/olap.go• L1958-2110 pkg/…/olap.go• L2222-2240 pkg/…/olap_status_update_test.go• L205-260 pkg/…/olap_status_update_test.go• L263-353 pkg/…/olap_status_update_test.go• L356-428
Signal data retention
Observability data uses time-partitioned OLAP storage so the platform can keep recent run, event, payload, OpenTelemetry, audit, and durable stream usage records available while removing data outside the configured retention period. Scheduled maintenance creates current and near-future partitions, cleans up old partitions, and defers work when database locks or deadlocks would conflict with active writes. Audit-log partitions remain in the database for 24 hours after they end before the controller archives them. The archive job runs hourly and uses a lease so concurrent controller work does not archive the same partition.
Metric reads use minute-level aggregate data when it is complete. They include pending aggregate changes during the catch-up period and can fall back to source run data for older ranges. This keeps metric results usable while aggregate processing catches up. The aggregate rows converge to the source rows after compaction finishes, including writes, updates, deletes, and committed transactions only.
References: pkg/…/olap.go• L422-430 pkg/…/olap.go• L493-620 pkg/…/olap.go• L1691-1756 pkg/…/olap.go• L2716-2741 internal/…/controller.go• L366-390 internal/…/controller.go• L470-483 internal/…/archive_audit_logs.go• L11-41 pkg/…/olap_aggregates_test.go• L26-79 pkg/…/olap_partition_test.go• L44-162 pkg/…/olap_partition_test.go• L183-274
Metric scope
Metric labels define what can be compared safely. Tenant, workflow, status, worker label, slot type, and other labels support focused views. Values with many unique identifiers can create too many time series, so metadata intended for Prometheus export must use low-cardinality values.
Global engine counters are process-local. A scrape must cover every relevant engine pod and queries must aggregate across pods when the question concerns the whole deployment.
References: frontend/…/prometheus-metrics.mdx• L15-25 frontend/…/prometheus-metrics.mdx• L208-254 frontend/…/prometheus-metrics.mdx• L397-414
Usage analytics
Usage data has two roles. Product analytics records product actions for service insight and product decisions. Durable stream usage records tenant byte volume for usage and capacity views. Both are tenant-aware, but they follow separate paths from operational health signals.
Event model
Analytics events use a resource and an action, such as a workflow being created or a run being replayed. The event can carry a resource ID, actor or tenant context, source information, and other properties. User, token, tenant, organization, and account context lets the analytics service group activity without changing the platform's runtime identity model.
References: pkg/…/analytics.go• L9-27 pkg/…/analytics.go• L30-87 pkg/…/analytics.go• L94-101 pkg/…/posthog.go• L83-137
Analytics collection
When PostHog analytics is enabled, the server sends events, user identities, tenant groups, and feature-flag checks to the configured analytics service. Count events can be aggregated before they are sent, which reduces event volume while keeping a count and its event-time range. When analytics is disabled, the server uses a no-op provider so callers do not need a separate control path.
References: pkg/…/server.go• L403-425 pkg/…/loader.go• L612-650 pkg/…/posthog.go• L139-188 pkg/…/posthog.go• L190-255 pkg/…/analytics.go• L189-207
Tenant analytics choice
Analytics collection is tenant-aware. The tenant model includes an analytics opt-out choice, and the web application checks that choice before it captures or identifies a user. This keeps a tenant's product-analytics preference separate from the logs, traces, and metrics needed to operate the platform.
References: pkg/…/tenant.go• L43-50 pkg/…/models.go• L3043-3052 frontend/…/use-analytics.tsx• L19-69
Durable stream usage
Durable stream usage records the number of bytes published and delivered for each tenant in one-minute buckets. Each process flushes its local totals to shared OLAP storage. The repository adds the values to the existing tenant and minute row, so concurrent flushes contribute to one durable usage total rather than replacing each other.
The write path removes empty reports, clamps negative values to zero, and sorts tenant IDs before the upsert. This gives concurrent flushes one lock order and avoids rows for tenants with no stream traffic. The shared database pool keeps usage writes outside each tenant's own database budget.
References: pkg/…/olap_stream_bytes.go• L13-49 pkg/…/olap.go• L271-280 pkg/…/olap.sql• L2710-2720 sql/…/v1-olap.sql• L1391-1399 cmd/…/20261105230000_add_stream_bytes_aggregate.sql• L1-15 pkg/…/olap_stream_bytes_test.go• L15-63
Diagnostic surfaces
Engineers use different surfaces for different time scales. A run view answers what happened in one execution. A trace view answers where time or errors moved across service boundaries. Prometheus and OpenTelemetry tools answer whether the platform is healthy over time. Analytics answers how the product is used. Audit history answers which user or API key changed a tenant resource. Tenant alerts report selected failures without requiring a person to watch a run view.
Surface selection
| Question | Primary signal | Main surface |
|---|---|---|
| What did a task print? | Workflow logs | Workflow run log view |
| Which service or task consumed time? | Trace spans | Trace search and run observability view |
| Are queues, workers, or databases under pressure? | Operational metrics | Prometheus or an OpenTelemetry metrics backend |
| Which product action occurred? | Usage analytics | Configured analytics service |
| Which user or API key changed a resource? | Audit logs | Audit history |
| Did recent workflow runs fail? | Operational alerts | Tenant alert delivery |
References: frontend/…/logging.mdx• L11-13 frontend/…/opentelemetry.mdx• L132-180 frontend/…/prometheus-metrics.mdx• L76-117 pkg/…/analytics.go• L94-101 pkg/…/audit_log.go• L29-44 internal/…/process_alerts.go• L13-29
Failed-run alerts
Failed-run alerts turn recent workflow failures into tenant-scoped notifications. The OLAP controller checks active tenants, reads failed runs from a bounded finished-time window, and sends the results to the alert service. It applies a small time lag so a run whose completion is visible before its write transaction commits is not skipped. The window starts at the last alert point and does not reach farther back than 24 hours.
The repository returns the run data needed by the alert. It reads from the primary pool because replica lag beyond the alert window could permanently skip a failure. A retry that updates a failed run's completion time can therefore appear in a later alert window. The query also limits the number of runs returned for one alert cycle.
References: internal/…/process_alerts.go• L13-29 internal/…/process_alerts.go• L33-74 pkg/…/olap.go• L1363-1397 pkg/…/olap_list_workflow_runs_test.go• L158-182
Change checklist
When these files or sections are changed, remember to consider these:
- Keep trace context propagation aligned between SDK producer spans and worker consumer spans. A mismatch breaks the parent-child view of a run.
- Keep tenant scope and authorization aligned between trace lookup and tenant metrics endpoints. A broad query can expose another tenant's operational data.
- Keep Prometheus labels low-cardinality. Adding run IDs or other unique values can create an unbounded number of time series.
- Keep analytics resource and action names stable. Changing them silently breaks usage reports and event trends.
- Keep analytics opt-out checks aligned between server-side events and browser capture. A new capture path can bypass the tenant preference.
- Keep buffered exporters and analytics aggregators in the service shutdown path so pending signals are flushed before process exit.
- Keep log filters, page cursors, and sort direction aligned with the log API. A mismatch can skip entries or show the wrong history when a reader changes filters.
- Keep live log refresh and log-line identity aligned with the task status and API response. A mismatch can stop updates or show duplicate entries.
- Keep run and event payload fallbacks aligned with their diagnostic policy. Missing offloaded data should use the stored value without reintroducing noisy error logs for an expected fallback.
- Keep payload caps based on returned records rather than requested limits. A change can reject valid sparse pages or allow an oversized payload read.
- Keep DAG output selection aligned with child event order. A change can show an older child result or return more than one row for one workflow run.
- Keep OLAP partition creation, retention cleanup, index maintenance, and audit-log archiving aligned with the configured retention period. Lock conflicts must remain retryable so maintenance does not disrupt active signal writes.
- Keep the OLAP repository's analytical pool and maintenance connection boundary aligned. A change can leave reads working while partition creation or retention cleanup fails.
- Keep audit-log outbox identity stable from enqueue through the OLAP insert. Redelivery must skip an existing record without losing a valid action.
- Keep audit-log batch failure behavior aligned with outbox retry semantics. A partial success must not acknowledge entries that were not copied.
- Keep task and workflow status ordering aligned across event ingestion, replay reconciliation, and status metrics. A change can turn a late message into a stale or terminal state.
- Keep retried failures separate from terminal failures. A change can mark a task and its workflow failed before the engine starts the next attempt.
- Keep aggregate queries aligned with their delta rows and completeness boundary. Reading only compacted rows can undercount data while compaction is still in progress.
- Keep alert reads on a source that satisfies the alert lag window. A change to a lagging replica can make a failure disappear permanently from alert delivery.
- Keep alert windows aligned with the completion-write lag and retry timestamp updates. A mismatch can skip a newly failed or retried run.
- Keep tenant discovery, failed-run lookup, and alert delivery in the same tenant scope. A mismatch can omit a tenant's failures or send the wrong tenant's data.
- Keep stream byte flushes aligned with the minute bucket and additive upsert contract. A change can replace prior process totals or place usage in a bucket that consumers do not read.
- Keep the stream usage table in both the base OLAP schema and the migration path. A missing path can leave new or upgraded deployments unable to store usage totals.
- Keep stream byte writes on the shared pool and preserve tenant ordering. A change can consume tenant database budgets or make concurrent flushes contend in different lock orders.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| No OTLP collector URL | Internal traces and OpenTelemetry metrics are not exported. | Configure a collector endpoint on each service that must emit data. |
| An invalid trace sampling ratio is configured | Tracing initialization fails instead of starting with the requested sampling policy. | Use a valid numeric sampling ratio. |
| A collector uses plaintext but TLS remains enabled | Trace or metric export cannot connect. | Set the insecure transport option only for a collector that does not use TLS. |
| Sensitive query data enters a trace | Secrets can appear in diagnostic data. | Use the query middleware's redaction list and exclude OAuth callback routes. |
| A Prometheus scrape covers only some engine pods | Global counters under-report or appear to be missing. | Scrape every engine role and aggregate process-local counters. |
| A high-cardinality value becomes a metric label | Prometheus storage and query cost can grow quickly. | Export only low-cardinality metadata values. |
| A trace or analytics exporter is not shut down cleanly | Buffered spans or events can be lost. | Call the service shutdown functions during orderly termination. |
| PostHog is unavailable during a feature-flag check | The flag result falls back to the configured default. | Set the default deliberately for each flag use. |
| The audit-log outbox cannot reach OLAP | Valid audit entries remain queued and are retried instead of appearing in audit history. | Keep the outbox consumer running and retain the queued messages until the OLAP write succeeds. |
| An audit-log batch is delivered more than once | The same action can be written twice if its stable key is not preserved. | Preserve the entry identifier and insertion time and use the tenant-scoped duplicate check. |
| One audit-log entry fails validation or decoding | The whole outbox batch remains blocked until the message expires or is fixed. | Validate before enqueue and keep the payload contract stable. |
| The log API stops returning pages in newest-first order | Older-page loading and live insertion can skip or repeat entries. | Preserve the ordering and timestamp cursor contract used by the run view. |
| A running task is reported with a non-running status | The run view does not keep its live log state or can show the wrong empty message. | Keep task status updates consistent with the log stream lifecycle. |
| Two log entries share the same timestamp and message | The run view can treat distinct entries as one record. | Provide a stable event identity when log lines can collide on display fields. |
| An offloaded run or event payload has no retrieved value | The view receives the stored payload instead of the offloaded value. | Keep the stored payload available and avoid treating this expected fallback as an error-level diagnostic. |
| A payload-enriched list returns more than 1,000 records | The diagnostic read is rejected instead of returning an oversized in-memory result. | Lower the page size or set payload inclusion to false. |
| A DAG run's child outputs are read without a stable latest-event rule | The run can show an older child result or duplicate the DAG row. | Keep one DAG result row and select the latest finished child output. |
| Status events arrive out of order across retries | A run can regress to an older state or keep an old retry count. | Choose the highest retry first and use status priority within the same retry. |
| A retried failure is treated as terminal | A task and its workflow can appear failed before the next attempt runs. | Record the failure event but exclude it from terminal status updates when the engine will retry it. |
| The alert query uses a lagging replica | A failed run can fall outside the next alert window and never be reported. | Read failed runs from the primary pool or keep replica lag below the alert lag. |
| The alert query reaches the current time without a commit lag | A late-committing failed run can fall outside the next alert window. | Keep the alert query end time behind the current time. |
| A retry does not refresh the failed run's completion time | A later failure can be missed by the alert window. | Preserve the completion-time update contract for retry changes. |
| OLAP partition work meets a lock conflict or deadlock | Partition creation, cleanup, or index repair is deferred until a later maintenance run. | Classify the conflict as retryable and keep partition work independent from active signal writes. |
| Audit-log archiving meets a partition lock conflict | Older audit-log partitions remain in place until a later archive cycle. | Treat the conflict as retryable and use the archive lease for the next scheduled run. |
| The controller cannot resolve its internal tenant before audit-log archiving | The archive cycle skips its work and audit-log partitions remain longer than planned. | Keep internal-tenant discovery available to the controller and inspect the next scheduled cycle after the error. |
| Metric aggregation is read without its pending deltas | Recent status or event counts can be lower than the source data. | Combine compacted rows with deltas until the aggregate range is complete. |
| Aggregate compaction counts rolled-back source writes | Metrics can report data that never committed. | Keep source writes and aggregate deltas in the same transaction and compare only committed rows. |
| A stream usage flush is repeated for the same local totals | Published or delivered bytes are counted more than once. | Flush each local interval once or add an idempotent flush identity before retrying a failed write. |
| Concurrent stream flushes use different tenant row orders | Flushes can wait on each other or deadlock. | Sort tenant IDs before the additive upsert. |
| A stream usage table is missing from an upgraded database | Byte totals cannot be stored after the service starts using the new write path. | Apply the migration and keep the table in the base OLAP schema. |
| The dedicated OLAP pool cannot run partition maintenance | Analytical reads can work while partition creation or retention cleanup fails. | Keep the OLAP repository's pool and underlying maintenance connection aligned. |
Key files
| File | Why to read it |
|---|---|
| pkg/…/telemetry.go | Shared OpenTelemetry setup, export behavior, trace context, and resource identity. |
| api/…/telemetry.go | API request tracing, sensitive query handling, and error status recording. |
| api/…/traces.go | Tenant-scoped trace lookup for workflow runs. |
| pkg/…/metrics.go | The platform health, OLAP, worker, and SDK metric groups. |
| api/…/get_prometheus_metrics.go | Tenant-scoped Prometheus response and entitlement boundary. |
| pkg/…/analytics.go | Analytics event vocabulary, context fields, and no-op contract. |
| pkg/…/posthog.go | Server-side analytics, count aggregation, groups, and feature-flag fallback. |
| frontend/…/use-analytics.tsx | Browser event and identity capture with the tenant opt-out check. |
| frontend/…/use-logs.tsx | Task log retrieval, filtering, history paging, and live refresh for the run view. |
| frontend/…/log-viewer.tsx | The log surface that presents task state, context, levels, metadata, and errors. |
| pkg/…/audit_log.go | Core-database audit-log queueing, redelivery behavior, and OLAP handoff. |
| internal/…/process_alerts.go | Tenant discovery, failed-run alert windows, and alert delivery. |
| internal/…/controller.go | OLAP controller scheduling for partition work, audit-log archiving, status updates, alerts, aggregate processing, and metric processing. |
| internal/…/archive_audit_logs.go | Audit-log archive timing, lease use, and retry behavior for partition lock conflicts. |
| pkg/…/olap.go | Run, event, payload, status, aggregate, trace, audit-log, and failed-run alert persistence, plus support for a dedicated analytical database. |
| pkg/…/olap_stream_bytes.go | Tenant stream byte accounting and the shared OLAP write contract. |
| sql/…/v1-olap.sql | The durable minute-level stream usage table in the base OLAP schema. |
| cmd/…/20261105230000_add_stream_bytes_aggregate.sql | The upgrade and rollback path for stream usage storage. |
| pkg/…/olap_aggregates_test.go | Guarantees that compacted aggregates and pending deltas match source rows during concurrent writes. |
| pkg/…/olap_partition_test.go | Verifies partition creation, retention work, concurrent controllers, and lookup uniqueness. |
| pkg/…/olap_status_update_test.go | Verifies retry ordering, replay reconciliation, and non-terminal retried failures. |
| pkg/…/olap_list_workflow_runs_test.go | Verifies DAG output selection, payload bounds, and failed-run lookup across status and retry changes. |
| pkg/…/olap_stream_bytes_test.go | Verifies that concurrent tenant flushes add to the right minute totals and ignore empty reports. |
| pkg/…/audit_log_test.go | Verifies audit-log enqueueing, retry-safe insertion, and validation boundaries. |
| frontend/…/opentelemetry.mdx | User-facing trace model and SDK-to-worker context flow. |
| frontend/…/prometheus-metrics.mdx | Metric scopes, scrape limits, labels, and operational query guidance. |
| frontend/…/opentelemetry.mdx | Internal service trace and metric export model. |