Testkit
Use this section when you want to run instrumented code against an in-memory OpenTelemetry Java backend and assert the telemetry it emits.
Start here
- Test metrics emitted by your code
- Test metrics against semantic conventions
- Test traces emitted by your code
- Test logs emitted by your code
- Use IOLocalContextStorage with the testkit
Related material
- For an overview of the available signal-specific and combined testkits, see Testkit.
- For metrics expectation details, see Metrics testkit reference.
- For traces expectation details, see Traces testkit reference.
- For logs expectation details, see Logs testkit reference.