Registry / observability / ts-opentelemetry-api

ts-opentelemetry-api

JSON →
library0.20.0-beta.1rscratesunverified

This is a fork of opentelemetry-rust, providing OpenTelemetry API for tracing and metrics.

# Cargo.toml [dependencies] ts_opentelemetry_api = "0.20.0-beta.1"
INSTALL
IMPORT
SIG · TS-OPENTELEMETRY-A
T
ts-opentelemetry-api
observabilityrustv0.20.0-beta.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Tracer
✓ use ts_opentelemetry_api::trace::Tracer;

Creates a tracer and starts a span.

use ts_opentelemetry_api::trace::Tracer; use ts_opentelemetry_api::global; fn main() { let tracer = global::tracer("my_app"); tracer.in_span("operation", |_cx| {}); }
Debug
Known issues
gotchaThis is a fork; may not be compatible with upstream opentelemetry.
fix
Check documentation for differences from opentelemetry-rust.
affects: >=0.20.0-beta.1
Upgrade
Version history
0.20.0-beta.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
26
OpenAI (training)
1
Resources
ts-opentelemetry-api — cargo add ts-opentelemetry-api · libregistry