File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
tencent-logback-example/src/main/java/com/example Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 22TENCENT_SECRET_ID = your_tencent_secret_id
33TENCENT_SECRET_KEY = your_tencent_secret_key
44
5- # Required: TraceRoot APM trace token (for Tencent provider)
5+ # Required: Tencent APM trace token (for Tencent trace provider)
66TRACE_TOKEN = your_trace_token
77
88# Optional: Tencent Cloud CLS logset name (like AWS log group)
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ private static void initializeTraceRoot() {
8080 tencentCredentials .setLogset (
8181 System .getenv ("TENCENT_LOGSET" )); // Optional: CLS logset name (like AWS log group)
8282 tencentCredentials .setTraceToken (
83- System .getenv ("TRACE_TOKEN" )); // Required: APM trace token for authentication
83+ System .getenv ("TRACE_TOKEN" )); // Required: Tencent APM trace token for authentication
8484
8585 // Set credentials on config
8686 config .setTencentCredentials (tencentCredentials );
You can’t perform that action at this time.
0 commit comments