We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b0ac5e7 + 5eab66b commit ec5ac7bCopy full SHA for ec5ac7b
src/main/kotlin/com/cosmotech/api/metrics/MonitorServiceAspect.kt
@@ -32,7 +32,7 @@ class MonitorServiceAspect(private var meterRegistry: MeterRegistry) {
32
"connectorId")
33
34
@Pointcut(
35
- "within(@org.springframework.stereotype.Service *)" + " && within(com.cosmotech..*Impl)")
+ "within(@org.springframework.web.bind.annotation.RestController *) && within(com.cosmotech..*Controller)")
36
@Suppress("EmptyFunctionBlock")
37
fun cosmotechPointcut() {}
38
0 commit comments