---
title: "Build a dinosaur runner game with Deno, pt. 6"
description: "The final stage of the Deno dinosaur runner series adds observability using Deno Deploy's built-in logs, traces and metrics dashboards."
url: "https://swe.quest/articles/build-a-dinosaur-runner-game-with-deno-pt-6-d21d409df6156ed0"
canonical: "https://deno.com/blog/build-a-game-with-deno-6"
source: "Deno"
published: "2026-02-23"
difficulty: "medium"
kind: "How-to"
reading_minutes: 9
tags: ["observability","javascript","typescript"]
---

# Build a dinosaur runner game with Deno, pt. 6

A post on [Deno](https://swe.quest/sources/deno.md), published 2026-02-23, 9 min read, How-to. Original: [https://deno.com/blog/build-a-game-with-deno-6](https://deno.com/blog/build-a-game-with-deno-6)

## Summary

The final stage of the Deno dinosaur runner series adds observability using Deno Deploy's built-in logs, traces and metrics dashboards. A logging middleware emits one structured JSON line per HTTP request, and route handlers log business events like score submissions and customization saves. Custom OpenTelemetry spans wrap the leaderboard, score submission and customization routes, carrying attributes, events and recorded exceptions. Platform metrics (status codes, latency, CPU, memory, GC time, bandwidth) are used to spot anomalies before drilling into traces, and the \`--tunnel\` flag sends local telemetry to the same dashboards for verification before deploying.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [JavaScript](https://swe.quest/tags/javascript.md) (Languages)
- [TypeScript](https://swe.quest/tags/typescript.md) (Languages)

## Prerequisites

- TypeScript basics ([easy posts on TypeScript](https://swe.quest/tags/typescript.md?difficulty=easy))
- HTTP middleware
- Deno Deploy

## Keywords

Deno, Deno Deploy, OpenTelemetry, Oak, PostgreSQL

## Related posts

- [How to get deep traces in your Node.js backend with OTel and Deno](https://swe.quest/articles/how-to-get-deep-traces-in-your-node-js-backend-with-otel-and-deno-e60be1ff8da59b5c.md): Deno · 2025-03-13 · Medium · 6 min read · Observability, JavaScript, Runtimes & VMs
  Running an unmodified Node.js Express server under Deno 2.2+ with the \`--unstable-otel\` flag yields OpenTelemetry traces and span-correlated logs with no code changes.
- [Zero-config Debugging with Deno and OpenTelemetry](https://swe.quest/articles/zero-config-debugging-with-deno-and-opentelemetry-84e6e1786536c301.md): Deno · 2025-04-09 · Medium · 9 min read · Observability, Debugging, Runtimes & VMs, TypeScript
  Deno's built-in OpenTelemetry support (enabled with --unstable-otel) automatically correlates console.log output with trace IDs, creates spans for incoming and outgoing HTTP requests, propagates W3C tracecontext headers across services, and records request-count and latency metrics by status code, all without code changes.
- [Deno 2.2: OpenTelemetry, Lint Plugins, node:sqlite](https://swe.quest/articles/deno-2-2-opentelemetry-lint-plugins-node-sqlite-9a3401e2c9c180a2.md): Deno · 2025-02-19 · Medium · 17 min read · JavaScript, TypeScript, Observability, Developer tools, Static analysis
  Deno 2.2 adds built-in OpenTelemetry that auto-instruments console.log, Deno.serve and fetch and exports to an OTLP endpoint behind the --unstable-otel flag.
- [Build a dinosaur runner game with Deno, pt. 1](https://swe.quest/articles/build-a-dinosaur-runner-game-with-deno-pt-1-e4d3faa91fec67fd.md): Deno · 2025-12-08 · Medium · 5 min read · JavaScript, TypeScript, Deployment, Serverless
  Part one of a series building a browser dinosaur runner game sets up a Deno project that serves static files and deploys it.
- [Sentry JavaScript SDK v11 adds tracing for all JS platforms](https://swe.quest/articles/sentry-javascript-sdk-v11-adds-tracing-for-all-js-platforms-2ee0190e0544fb8c.md): Sentry · 2026-10-09 · Medium · 12 min read · Observability, JavaScript, Build systems, Runtimes & VMs
  Sentry's JavaScript SDK v11 replaces OpenTelemetry export-patching instrumentations (require-in-the-middle, import-in-the-middle, shimmer) with a source-code transformer that injects node:diagnostics\_channel tracingChannel calls into library functions, plus integrations that subscribe to those channels and emit Sentry spans.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
