• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
billy_pedals

billy_pedals

OpenTelemetryCollector

Remix of fiberplane/OpenTelemetryCollector
Public
Like
OpenTelemetryCollector
Home
Code
8
app
4
db
6
deps
3
otel
3
README.md
H
index.ts
logger.ts
openapi.ts
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
Code
/
Search
index.ts
https://billy_pedals--3e2763e1b6d34dcd84d3f05db0444f49.web.val.run
README.md

What is this?

You're looking at a self-hosted OpenTelemetry tracing collector on ValTown, my friend!

More specifically, this is a service you can fork and run that receives traces from Hono APIs that have been instrumented with @fiberplane/hono-otel.

Under the hood, it uses OpenTelemetry's javascript libraries to receive traces, then it transforms and stores the tracing data in a sqlite db on ValTown.

A Hono api exposes HTTP endpoints for receiving and querying traces, and we mount a Fiberplane API Playground to be able test the routes out.

Deploying this service

All you gotta do is:

  1. Fork this project
  2. Add a secure token to the environment variable AUTH_TOKEN

Connecting a Service

Create a Hono app, or fork the sample here:

https://www.val.town/v/fiberplane/fiberplaneHonoTracingStarter

Then, in your service, you'll just need to configure environment variables to point to your instance of the OpenTelemetry collector.

FIBERPLANE_OTEL_ENDPOINT=https://fiberplane--63a45c54f65a11efa403569c3dd06744.web.val.run/v1/traces FIBERPLANE_OTEL_TOKEN=secret-token-for-valtown-fiberplane-otel-collector

The FIBERPLANE_OTEL_TOKEN in your connected service should be the same value that you configured as the AUTH_TOKEN in the collector.

Rough Edges

Deno support can vary with OpenTelemetry's javascript libraries. We're working on improving things, but here are a few issues we've noticed:

  • Log statements are recorded twice
HTTP
  • index.ts
    billy_pedals--3e…49.web.val.run
Code
appdbdepsotelREADME.md
H
index.ts
logger.tsopenapi.ts
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.