OpenTelemetry Span Builder — Construct, Validate, and Export OTel Spans
Configure span name and attributes and events and generate OpenTelemetry span setup code for popular SDKs
How to Use OpenTelemetry Span Builder — Construct, Validate, and Export OTel Spans
How to Use the OpenTelemetry Span Builder
Step 1: Name the Span
Enter a span name (e.g. http.server.request) and the service/tracer name that will create it.
Step 2: Choose a Span Kind
Pick INTERNAL, SERVER, CLIENT, PRODUCER, or CONSUMER to describe the span's role, following OpenTelemetry semantic conventions.
Step 3: Add Attributes and Events
Add key/value attributes (values are auto-typed as string, number, or boolean) and span events with their own optional attributes, such as cache.key=user:123, ttl=60.
Step 4: Pick an SDK
Select JavaScript (Node.js), Python, or Go to generate instrumentation code using each language's @opentelemetry/api, opentelemetry-api, or go.opentelemetry.io/otel package, including error recording and span status handling.
Step 5: Copy the Code
Copy the generated snippet and paste it into your service, adjusting the surrounding business logic as needed.
Frequently Asked Questions
Most Viewed Tools
Screen Size Converter — Diagonal Dimension Tool
Calculate screen width and height from diagonal size and aspect ratio. Convert between inches and centimeters for displays, TVs, and monitors with instant dimension calculations.
Use Tool →DPI Calculator — Print Resolution Tool
Calculate DPI (dots per inch), image dimensions, and print sizes. Convert between pixels and physical dimensions for printing and displays.
Use Tool →Seconds to Time Converter — HH:MM:SS Formatter
Convert seconds to HH:MM:SS time format instantly with precise calculations and easy-to-read formatting.
Use Tool →Password Entropy Calculator — Crack Time Estimator
Calculate the information-theoretic bit entropy of any password or API key. Detects character set pools automatically, shows the total number of possible combinations, and estimates crack time across five attack scenarios from rate-limited web logins to GPU cracking clusters.
Use Tool →TOTP Code Generator — 2FA Testing Tool
Generate time-based one-time passwords from a TOTP secret key. Enter your base32 secret, choose a period and digit length, and get the current and next codes with a live countdown timer. Useful for testing and debugging 2FA integrations.
Use Tool →JSONL Formatter — Line-by-Line Validator
Format, validate, and inspect JSON Lines (JSONL) and NDJSON files. Validates each line individually, reports parse errors by line number, outputs compact JSONL or a pretty-print preview, and lets you download the cleaned file.
Use Tool →TLS Cipher Suite Checker — Strength Analyzer
Check TLS protocol version compatibility and cipher suite strength ratings against current best practices. Supports IANA and OpenSSL cipher names — rates each suite as Strong, Weak, or Deprecated and explains why.
Use Tool →JSON to Zod — Schema Generator
Generate Zod validation schema code from a JSON sample object. Infers z.string(), z.number(), z.boolean(), z.array(), z.object(), and z.null() types automatically. Handles nested objects, arrays of objects with optional field detection, and outputs copy-ready TypeScript with import and z.infer type alias.
Use Tool →Related DevOps & Infrastructure Tools
DNS Record Validator — Live Lookup Tool
Look up live DNS records for any domain. Query A, AAAA, MX, TXT, CNAME, NS, SOA, and CAA records instantly via Cloudflare DNS-over-HTTPS — no installation required.
Use Tool →User Agent Parser — Browser & Device Decoder
Parse user agent strings to extract browser, operating system, device, and engine information. Essential for web analytics, device detection, and browser compatibility testing.
Use Tool →Kubernetes YAML Validator — K8s Manifest Schema & Security Audit
Validate Kubernetes YAML manifests for syntax errors and required field completeness. Checks Deployments, Services, Ingress, ConfigMaps, Secrets, PVCs, HPAs, CronJobs, and more — with per-document results and fix hints.
Use Tool →Random User Agent Generator — Browser String Tool
Generate random browser user agent strings for testing and development.
Use Tool →robots.txt Validator — Crawl Rule Checker
Validate your robots.txt file against the Robots Exclusion Protocol. Checks directive syntax, path formats, Crawl-delay values, and Sitemap URLs. Previews crawl rules per user-agent group. Free and runs entirely in your browser.
Use Tool →Query String Parser — URL Parameter Decoder
Parse URL query strings into readable key-value pairs. Decode parameters and inspect URL search queries with ease.
Use Tool →Helm Values Builder — Scaffold, Validate, and Export Helm values.yaml
Configure common Helm chart parameters and generate a values.yaml override file for deployments
Use Tool →SSL Certificate Validator — Chain & Expiry Checker
Paste a PEM certificate to instantly validate expiry, signature algorithm, key strength, SAN presence, and trust chain. Get a clear pass/warn/fail report for each check.
Use Tool →Share Your Feedback
Help us improve this tool by sharing your experience