1. Conduid
  2. Other
  3. Instrumentation
MCP server · Other

Instrumentation

Unclaimed Apache-2.0 other
35Low

Scored 4 days ago · breakdown

About Instrumentation

Instrumentation is an MCP server published by respanai in the Other category.

The repository has 48 stars and 15 forks, with the last commit 4 days ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/respanai/respan

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Instrumentation

Powered by Claude · Grounded in docs

I know everything about Instrumentation. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 3 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • !No dynamic code executionSource scan found eval or shell execution. Review how tool inputs reach it before granting credentials.

1 check has not been run yet.

Releases

0.1.60.1.6
0.1.50.1.5
0.1.40.1.4

README

Respan Tracing

Respan's library for sending telemetries of LLM applications in OpenLLMetry format.

Integrations

Configuration

1. Install

Python

pip install respan-ai openai

TypeScript/JavaScript

npm install @respan/respan openai

Replace openai with the provider SDK your application uses. The facade supplies the eligible first-party instrumentation adapters; TypeScript users should not install with --omit=optional because those adapters are optional dependencies of @respan/respan.

2. Set Environment Variables

Variable Required Description
RESPAN_API_KEY Yes Your Respan API key. Authenticates both proxy and tracing. Get it from the platform.
RESPAN_BASE_URL No Defaults to https://api.respan.ai/api.

The quickstart below routes OpenAI through the Respan gateway, so RESPAN_API_KEY authenticates both inference and telemetry export. When calling a provider directly, configure that provider's credentials and endpoint normally; Respan still uses RESPAN_API_KEY for telemetry.

Quickstart

3. Run Script

Python

import os
from openai import OpenAI
from respan import Respan

# Omit `instrumentations` to auto-discover the matching bundled adapter.
respan = Respan()

# Respan API key authenticates both proxy and tracing
respan_api_key = os.environ["RESPAN_API_KEY"]
respan_base_url = os.getenv("RESPAN_BASE_URL", "https://api.respan.ai/api")

client = OpenAI(api_key=respan_api_key, base_url=respan_base_url)

response = client.chat.completions.create(
    model="gpt-4.1-nano",
    messages=[{"role": "user", "content": "Say hello in three languages."}],
)
print(response.choices[0].message.content)
respan.shutdown()

TypeScript/JavaScript

import OpenAI from "openai";
import { Respan } from "@respan/respan";

const respanBaseURL =
  process.env.RESPAN_BASE_URL ?? "https://api.respan.ai/api";

// Omit `instrumentations` to auto-discover the matching bundled adapter.
const respan = new Respan({
  apiKey: process.env.RESPAN_API_KEY,
  baseURL: respanBaseURL,
});
await respan.initialize();

const client = new OpenAI({
  apiKey: process.env.RESPAN_API_KEY,
  baseURL: respanBaseURL,
});

const response = await client.chat.completions.create({
  model: "gpt-4.1-nano",
  messages: [{ role: "user", content: "Say hello in three languages." }],
});
console.log(response.choices[0].message.content);
await respan.shutdown();

4. View Dashboard

See your traces in the Respan platform.

Further Reading

Examples

Automatic Direct LLM Integrations

Install the facade and the provider SDK, omit the instrumentations option, and initialize Respan before the first provider call. Missing provider SDKs are skipped without failing startup and are visible through the instrumentation status API.

Provider Python SDK TypeScript SDK
OpenAI openai openai
Azure OpenAI openai openai
Anthropic anthropic @anthropic-ai/sdk
Vertex AI google-cloud-aiplatform @google-cloud/vertexai
Google GenAI google-genai —
AWS Bedrock boto3 @aws-sdk/client-bedrock-runtime
Cohere — cohere-ai
Together AI together together-ai
OpenRouter — @openrouter/sdk
Writer — writer-sdk
Ollama ollama —

respan-ai bundles the seven eligible Python adapters. A normal @respan/respan install includes the nine TypeScript adapters as optional dependencies.

Inspect the result after construction in Python with respan.get_auto_instrumentation_status(), or after await respan.initialize() in TypeScript with respan.getInstrumentationStatus().

Explicit Framework and Wrapper Integrations

LLM wrappers, agent frameworks, application frameworks, protocol/tooling integrations, observability bridges, and vector databases remain explicit opt-ins to prevent duplicate spans. Supplying instrumentations selects explicit mode and disables automatic discovery by default.

Python can intentionally combine explicit plugins with direct-SDK automatic discovery by setting is_auto_instrument=True. Use Respan(is_auto_instrument=False) to disable automatic discovery entirely.

In TypeScript, use disabledInstrumentations: ["openrouter"] to disable one automatic adapter, or instrumentations: [] to disable all automatic discovery. TypeScript explicit mode is currently exclusive and cannot be combined with automatic discovery.

Workflow and Task Decorators

Structure traces with @workflow / @task (Python) or withWorkflow / withTask (TypeScript). See the decorators example for details.

Propagate Attributes

Attach customer_identifier, thread_identifier, and metadata to all spans in scope. See the attributes example.

Respan Collector (at-least-once delivery)

The SDKs batch spans in memory and retry, but never write to disk, so spans still queued during a long outage or a process crash are lost. For long-running agents that must not lose spans, run the packaged Respan Collector next to the application — the upstream OpenTelemetry Collector with a persistent, bounded queue — and point RESPAN_BASE_URL at it (respan collector start or docker compose -f collector/docker-compose.yaml up -d).

Star us

Please star us if you found this helpful!

README fetched from the repository 3 days ago. The original is authoritative.

Questions

About Instrumentation

How do I install Instrumentation?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Instrumentation safe to use with an AI agent?

Its trust score is 35 out of 100 (low). It passes 4 of the 5 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Instrumentation still maintained?

Yes — the last commit was 4 days ago. The repository has 48 stars and 15 forks and 16 open issues.