🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

@zephyrcloud/telemetry-edge

Package Overview
Dependencies
Maintainers
4
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zephyrcloud/telemetry-edge

Edge-safe telemetry helpers and semantic conventions for Zephyr

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
4
Created
Source

@zephyrcloud/telemetry-edge

Edge-safe telemetry helpers and semantic conventions for Zephyr runtimes (Cloudflare Workers, Fastly, Akamai, Netlify, Lambda@Edge).

This package intentionally excludes Node SDKs and any Node-only APIs. It focuses on helpers, propagation, and semantic conventions.

Installation

pnpm add @zephyrcloud/telemetry-edge

Usage

Trace propagation headers

import { getTraceHeaders } from "@zephyrcloud/telemetry-edge";

const headers = getTraceHeaders();
await fetch("https://example.com/api", {
  headers: { ...headers, "Content-Type": "application/json" },
});

Helpers + semantic conventions

import {
  withSpan,
  addSpanAttributes,
  ATTR_ZEPHYR_REQUEST_ID,
} from "@zephyrcloud/telemetry-edge";

const result = await withSpan(tracer, "handle-request", async () => {
  addSpanAttributes({ [ATTR_ZEPHYR_REQUEST_ID]: requestId });
  return doWork();
});

Keywords

opentelemetry

FAQs

Package last updated on 12 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts