Free OTTL Quick Reference
Master OpenTelemetry Transformation Language with our compact 3-page reference guide. Get instant access to core syntax, essential functions, common patterns, regex patterns, troubleshooting tips, and performance best practices.
OTTL Quick Reference
OpenTelemetry Transformation Language
set(span.status.code, STATUS_CODE_ERROR)
delete_key(span.attributes, "key")
replace_all_matches(log.body, "\\d", "*")
IsMatch(target, "pattern")
• Regex Patterns • Performance Tips
• 4 Contexts • Troubleshooting Guide
Why You Need This Cheatsheet
Everything you need for day-to-day OTTL work in a compact 3-page reference
Quick Daily Reference
Everything you need for day-to-day OTTL work in one compact guide. Core syntax, 15+ functions, and 4 telemetry contexts at your fingertips.
Ready-to-Use Patterns
Real-world examples including PII redaction, HTTP normalization, and metric conversion patterns you can copy and adapt immediately.
Troubleshooting & Best Practices
Complete troubleshooting checklist, performance optimization tips, and safety guidelines to avoid common pitfalls and expensive mistakes.
What's Inside the Cheatsheet
A compact 3-page reference covering everything you need for daily OTTL work
Core Syntax & Data Types
Complete syntax reference with 8 data types, operators, precedence rules, and statement structure.
15+ Essential Functions
Editors (set, delete_key, replace_match, limit) and Converters (IsMatch, ParseJSON, Concat, String) with syntax examples.
4 Telemetry Contexts
Complete path shortcuts for Resource, Span, Log, and Metric/DataPoint contexts with all available fields.
Common Patterns & Snippets
Real-world examples: PII redaction, HTTP normalization, and metric unit conversion with ready-to-use code.
Regex Patterns
Common regex patterns for email, IP address, UUID, and URL matching with double backslash syntax for OTTL strings.
Troubleshooting & Performance
Complete debugging checklist, performance optimization tips, and safety guidelines with DOs and DON'Ts.
Get Your Free OTTL Cheatsheet
Download your comprehensive reference guide and start working more efficiently with OTTL
Download Your Free Cheatsheet
Master OpenTelemetry Transformation Language with our compact 3-page reference guide covering core syntax, functions, patterns, regex, and best practices
✓ Instant download after submission
✓ No spam, just valuable content
✓ Unsubscribe anytime