Hi everyone, I was wondering if anyone here has be...
# spring
a
Hi everyone, I was wondering if anyone here has been able to get the
@Observed
annotation in the new Observation API in Spring 3 working with suspended functions. I have something like this:
Copy code
@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 apps
t
i believe this issue comment will help you