Arivnd Ramesh
02/26/2024, 5:36 PM@Observed
annotation in the new Observation API in Spring 3 working with suspended functions. I have something like this:
@Observed(contextualName = "MY SPAN NAME")
suspend fun myFunction(myArgs: String) {
// stuff happens, maybe another suspending function is called
return
}
But I'm not quite able to get the span name to show up in my APM app. I looked through the docs and have ensured all the necessary libraries exist (spring AOP, micrometer, statD registry, latest versions of all). Curious to hear if others have got this to work in their Kotlin Spring appsTasuku Nakagawa
03/05/2024, 1:19 PMTasuku Nakagawa
03/05/2024, 1:19 PM