Is there a sample code for axon, spring boot and opentelemetry? I tried to implement a project on spring boot 3.0 and axon 4.7. For some reason traceId and spanId are not passed to the query. On calling RestController identifiers are generated but not passed to the query. It seems to me that a code example would help many developers. Below is the log of my application, where you can see that the identifiers are not passed to the metadata of the query.
{"@timestamp":"2023-02-15T22:41:44.02+03:00","@version":"1","message":"Got a request","logger_name":"ru.foris.crm.controller.MyController","thread_name":"http-nio-7656-exec-1","level":"INFO","level_value":20000,"traceId":"860e6ba8e517688c7ae6c8ac7e25cedb","spanId":"615148b7d857d9bc","caller_class_name":"ru.foris.crm.controller.MyController","caller_method_name":"userName","caller_file_name":"MyController.kt","caller_line_number":18}
{"@timestamp":"2023-02-15T22:41:44.031+03:00","@version":"1","message":"Dispatched message: [GetActiveServicesByPhoneNumberQuery(phone=79161472285, serviceCodes=[])], metaData: []","logger_name":"org.axonframework.extensions.logging.LoggingInterceptor","thread_name":"http-nio-7656-exec-1","level":"TRACE","level_value":5000,"traceId":"860e6ba8e517688c7ae6c8ac7e25cedb","spanId":"615148b7d857d9bc","caller_class_name":"org.axonframework.extensions.logging.LoggingInterceptor","caller_method_name":"lambda$handle$0","caller_file_name":"LoggingInterceptor.java","caller_line_number":60}
{"@timestamp":"2023-02-15T22:41:44.113+03:00","@version":"1","message":"on entry getProductOfferingsService with 79161472285 Bearer 4e57dd07-4443-336e-b39a-6cdd1bf1969f PAPI_SUPERTEST","logger_name":"ru.foris.crm.port.adapter.publicapi.PublicApiAdapter","thread_name":"QueryProcessor-0","level":"DEBUG","level_value":10000,"traceId":"00000000000000000000000000000000","spanId":"0000000000000000","caller_class_name":"ru.foris.crm.port.adapter.publicapi.PublicApiAdapter","caller_method_name":"getProductOfferingsService","caller_file_name":"PublicApiAdapter.kt","caller_line_number":12}