* Return noop instrument if name is invalid * Validate instrument name in default meter * Use API Usage logger and include stack trace * Rename methods to check* instead of is* |
||
|---|---|---|
| .. | ||
| src | ||
| README.md | ||
| build.gradle.kts | ||
README.md
OpenTelemetry API
- The code in this module is the implementation of stable OpenTelemetry signals.
- Semantic Conventions for OpenTelemetry are in the
opentelemetry-semconvmodule. - The default implementation of the interfaces in this module is in the OpenTelemetry SDK module.
- The interfaces in this directory can be implemented to create alternative implementations of the OpenTelemetry library.
Running micro-benchmarks
From the root of the repo run ./gradlew clean :api:jmh to run all the benchmarks
or run ./gradlew clean :api:jmh -PjmhIncludeSingleClass=<ClassNameHere>
to run a specific benchmark class.
Logging API mis-use
Define logging.level.io.opentelemetry.ApiUsageLogging=TRACE to enable TRACE logging for invalid API calls.