npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@scopeblind/otel-exporter

v0.1.2

Published

OpenTelemetry exporter that translates Veritas Acta receipt DAGs into OTel traces/spans

Readme

@scopeblind/otel-exporter

ScopeBlind receipts in your existing observability stack.

An OpenTelemetry exporter that translates Veritas Acta receipt DAGs into OTel traces and spans. Every receipt shows up as a span. Click the deep link to see the full causal DAG in ScopeBlind Trace.

Install

npm install @scopeblind/otel-exporter

Quick Start

Three lines to add ScopeBlind receipts to an existing OTel pipeline:

import { createActaTraceProvider, recordReceiptSpan } from "@scopeblind/otel-exporter";
import { OTLPTraceExporter } from "@opentelemetry/exporter-trace-otlp-http";

// 1. Create a provider that forwards to your existing exporter
const provider = createActaTraceProvider({
  exporters: [new OTLPTraceExporter()],
});

// 2. Get a tracer
const tracer = provider.getTracer("my-agent-service");

// 3. Record receipts as spans
recordReceiptSpan(tracer, receipt);

What You Get

Each Acta receipt becomes an OTel span with:

| Attribute | Value | |-----------|-------| | acta.receipt_id | Receipt ID | | acta.tool_name | Tool that was called | | acta.decision | allow or deny | | acta.agent_id | Agent that requested the action | | acta.policy_hash | Hash of the policy that applied | | acta.issuer_id | Entity that issued the receipt | | acta.trace_url | Deep link to ScopeBlind Trace viewer |

  • Span name: acta:{receiptType} (e.g., acta:decision)
  • Status: OK for allow, ERROR for deny
  • Span links: parent_receipts become span links with acta.relation

Setup with Datadog

import { createActaTraceProvider } from "@scopeblind/otel-exporter";
import { OTLPTraceExporter } from "@opentelemetry/exporter-trace-otlp-http";

const provider = createActaTraceProvider({
  exporters: [
    new OTLPTraceExporter({
      url: "https://trace.agent.datadoghq.com/api/v0.2/traces",
    }),
  ],
});

Setup with Grafana Tempo

const provider = createActaTraceProvider({
  exporters: [
    new OTLPTraceExporter({
      url: "http://localhost:4318/v1/traces",
    }),
  ],
});

Setup with Honeycomb

const provider = createActaTraceProvider({
  exporters: [
    new OTLPTraceExporter({
      url: "https://api.honeycomb.io/v1/traces",
      headers: { "x-honeycomb-team": process.env.HONEYCOMB_API_KEY },
    }),
  ],
});

Manual Span Conversion

If you need finer control, use actaReceiptToSpan to get the raw attributes:

import { actaReceiptToSpan } from "@scopeblind/otel-exporter";

const { name, attributes, status, links } = actaReceiptToSpan(receipt);
// Attach to your own span however you like

Deep Links

Every span includes an acta.trace_url attribute that links back to the ScopeBlind Trace viewer. In Datadog, Grafana, or Honeycomb, this appears as a clickable link on the span detail panel.

import { generateTraceDeepLink } from "@scopeblind/otel-exporter/deeplink";

const url = generateTraceDeepLink("receipt_abc123");
// => "https://scopeblind.com/trace#receipt=receipt_abc123"

License

MIT