# OpenTelemetry in your tests
Speaker: [[Manuel de la Peña]]
Company: [[Elastic]]
What is [[Observability]]?
- 3 pillars.
[[OpenTelemetry]]
- Instrument application once
- Add/change backend vendors as required
Use cases
- Observe the [[Continuous Improvement|CI/CD]] process
- Detect Git miscofniguration, bugs in [[Jenkins]]
- Notification and ownership
- When things fail in CI, teams should be notified of failures so they can remediate.
Options
- Ansible OpenTelemetry plugin
- otel-cli
- Pytest OpenTelemetry
- for observing Python tests
- Jenkins OpenTelemetry plugin
Pytest is only for Python, but Elastic needed more - Go, Java, .NET.
JUnit XML format as defacto standard
Jenkins OpenTelemetry plugin
junit2otel CLI
- Go Binary
- Reads XML file, enables tracing for test suites
[[Jaeger]] and OpenTelemetry collector