Skip to content

Comments

Add nimtrace#3236

Merged
narimiran merged 1 commit intonim-lang:masterfrom
copyleftdev:add-nimtrace
Feb 18, 2026
Merged

Add nimtrace#3236
narimiran merged 1 commit intonim-lang:masterfrom
copyleftdev:add-nimtrace

Conversation

@copyleftdev
Copy link
Contributor

Add nimtrace

nimtrace — Zero-cost, structured, span-based tracing framework for Nim, inspired by Rust's tracing crate.

Features

  • Structured spans and events with typed fields
  • Zero-cost when disabled (-d:nimtraceDisabled)
  • Thread-local span stacks (no locks)
  • Pluggable subscribers (fmt, JSON, OTLP)
  • Environment-based filtering
  • Async context propagation
  • Auto-instrumentation via {.traced.} pragma
  • Pure stdlib, no external dependencies
  • 100 tests passing on default GC and ORC

Zero-cost structured tracing framework for Nim, inspired by Rust's tracing crate.
Pure stdlib, no external dependencies.

https://github.com/copyleftdev/nimtrace

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@narimiran narimiran merged commit 740e77c into nim-lang:master Feb 18, 2026
1 check passed
@Araq
Copy link
Member

Araq commented Feb 24, 2026

100 tests passing on default GC and ORC

default GC is ORC, isn't it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants