Tracetest for DevOps, SREs, Observability, and Platform Teams
Stop getting paged in the middle of the night: start using OTel proactively in pre-production to ensure bugs don’t reach production
6 Ways Trace-Based Testing Matters to SREs
Coverage for your most important flows
- Integrate Tracetest with Playwright and Cypress to fully test your ‘happy path,' verifying both the frontend AND backend flows.
- Your trace is a blueprint when building a test, reducing effort from hours to minutes. No mocking required.
- Schedule tests to run periodically and alert the team of failures, providing synthetic tests across the entire stack.
- Can run in CI/CD and Production.
Run these trace-based tests as synthetic monitors
- Use tests to verify your important flows in production.
- Schedule tests to run periodically, and alert on failure to your favorite alerting tool, Slack, or a custom webhook.
- Every failed synthetic test will have a trace, allowing you to pinpoint the source of the problem.
- Can run test suites as synthetic monitors, verifying more complex scenarios.
Use Tracetest as part of performance testing
- Work with both k6 and Artillery.io to enable load tests to see inside the black box.
- Validate both functionality and performance of critical backend microservices as part of the load test.
- Use one assertion for multiple services with wildcards! Load tests fail if:
- Any microservice returns a failed status.
- Any database query takes longer than the maximum allowed time.
- Time to complete an asynchronous process exceeds the maximum allowed when under load.
Ensure Observability best practices are followed and enforced
- Ensure traces are following the OpenTelemetry semantic conventions.
- Look for common problems with your traces.
- Get alerts if security best practices are not followed in your traces.
- Enforce quality by failing PRs that don’t meet minimum OpenTelemetry standards.
Utilize Observability across the entire Engineering org
- Expand Observability value beyond reactive use by SREs in production.
- Have both Devs and QA Automation Engineers realize the value of instrumenting code by creating trace-based tests.
- Root-cause analysis of failed tests is 80% faster when leveraging Observability in pre-production.
- Orgs using Observability-Driven-Development realize the value of Observability across the entire team. Their instrumentation steadily improves.
Never get a 3 a.m. wake-up call ever again
- Tracetest allows observability to be used proactively, in tests.
- Improved tests in your CI/CD process can prevent regressions in production.
- Fail PRs that do not pass tests, keeping bugs out of production.
- If the system does break, orgs using Observability Driven Development will have marvelous trace data, improving MTTR and getting back to sleep.