@SpringBootApplication(scanBasePackages={"com.coze.loop.spring","trace.annotation"})
public class AnnotationTraceExample
extends Object
This example uses the spring-boot-starter module, which automatically configures the CozeTraceAspect to handle the @CozeTrace annotation.
| Modifier and Type | Class and Description |
|---|---|
static class |
AnnotationTraceExample.LlmService |
| Constructor and Description |
|---|
AnnotationTraceExample() |
@CozeTrace(name="root") public static void main(String[] args)
Copyright © 2026. All rights reserved.