git404hub

what is sdk fr?

flarelog-dev/sdk — explained in plain English

Analysis updated 2026-05-18

5TypeScriptAudience · developerComplexity · 2/5LicenseSetup · easy

tl;dr

A zero-dependency JavaScript SDK for logging, error tracking, and distributed tracing across Cloudflare Workers, Node.js, Vercel, and browsers, compatible with any OTLP backend.

vibe map

mindmap
  root((flarelog-sdk))
    What it does
      Collect logs and errors
      Distributed tracing
      Send to dashboards
    Platforms
      Cloudflare Workers
      Node.js
      Vercel
      Browsers
    Features
      Zero dependencies
      W3C trace propagation
      Auto-detects environment
    Backends
      FlareLog dashboard
      Grafana
      Honeycomb
      Datadog
    Setup
      npm install
      Set API key env var

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Add structured logging and error tracking to a Cloudflare Worker with a single npm install and no extra dependencies.

VIBE 2

Send traces from a distributed system spanning a browser, an edge function, and a Node.js backend to Grafana using OTLP.

VIBE 3

Drop in a zero-dependency observability layer to a Vercel deployment that auto-detects the environment and release version.

what's the stack?

TypeScriptOpenTelemetryOTLP

how it stacks up fr

flarelog-dev/sdkfarique/cursor-chat-explorerjoshuakgoldberg/github-sponsors-to-markdown
Stars555
LanguageTypeScriptTypeScriptTypeScript
Last pushed2026-07-07
MaintenanceActive
Setup difficultyeasyeasymoderate
Complexity2/52/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · easy time til it works · 5min

Zero external dependencies, needs an API key environment variable only if forwarding to the FlareLog cloud dashboard.

MIT, free to use, modify, and distribute for any purpose including commercial.

in plain english

FlareLog SDK is a JavaScript library for collecting and sending logs, errors, and traces from your application to a monitoring backend. It has no external dependencies of its own, which means adding it to a project does not pull in a chain of other packages to audit or update. The library works across several JavaScript environments: Cloudflare Workers (edge functions that run close to users), Vercel deployments, Node.js servers, and web browsers. The same single package covers all of them without needing platform-specific wrappers. Setup is minimal. Install the package, import it, create a logger, and call logger.info or similar methods. With zero configuration it prints to the console. Adding an API key in an environment variable causes it to forward the data to the FlareLog cloud dashboard instead. The SDK auto-detects the environment, release version, and platform, so those fields appear in your logs without manual setup. For teams using other observability platforms, the SDK speaks OTLP, a standard wire format for telemetry data. That means it can forward logs and traces directly to Grafana, Honeycomb, Datadog, or any other backend that accepts OTLP. Distributed tracing uses the W3C trace propagation standard, so a request that travels from a browser to a Cloudflare Worker to a Node.js backend can be followed as a single trace across all three. The README is short and points to external documentation for full setup guides, API reference, and framework-specific instructions. The license is MIT.

prompts (copy fr)

prompt 1
I want to add logging to my Cloudflare Worker using @flarelog/sdk. Show me the minimal setup to get logs appearing in the FlareLog dashboard with my API key.
prompt 2
I'm using @flarelog/sdk across a browser and a Node.js backend and want to connect traces end-to-end. How does W3C trace propagation work in this SDK?
prompt 3
I don't want to use FlareLog's dashboard and instead want to send telemetry to my own Grafana instance via OTLP. How do I configure the FlareLog SDK to point at a custom OTLP endpoint?

Frequently asked questions

what is sdk fr?

A zero-dependency JavaScript SDK for logging, error tracking, and distributed tracing across Cloudflare Workers, Node.js, Vercel, and browsers, compatible with any OTLP backend.

What language is sdk written in?

Mainly TypeScript. The stack also includes TypeScript, OpenTelemetry, OTLP.

What license does sdk use?

MIT, free to use, modify, and distribute for any purpose including commercial.

How hard is sdk to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is sdk for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.