link to source code
IdentityServer emits OpenTelemetry traces for input validators, stores and response generators (see here for more information).
The samples shows how to setup Otel for console tracing.