Readme
Example Hono app that integrates a Fiberplane API explorer and OpenTelemetry trace exporter.
createOpenAPISpec
utility creates a lightweight OpenAPI spec that lists all routes in the applicationcreateFiberplane
mounts a UI at the root route (/
), which can be used to explore the api's routesexport default instrument(app).fetch
enables tracing for all API routes
The tracing library relies on the environment variable FIBERPLANE_OTEL_ENDPOINT
to be set to an OpenTelemetry trace collector.
(See: https://www.val.town/v/fiberplane/OpenTelemetryCollector)
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
fiberplane-honoappwithfiberplane.web.val.run
Updated: February 18, 2025