Skip to content

如何打开nodejs项目中的trace日志 #1

@guguji5

Description

@guguji5

问:如何打开nodejs项目中的trace日志?因为请求后,在trace中查询不出来

参考链接:https://opentelemetry.io/docs/languages/js/getting-started/nodejs/#troubleshooting

改动:14757a6

步骤1: 日志中可以打印出来traceid

Image

步骤2: 根据该id,可以在flashcat 中查询出来,,maybe 延迟1分钟左右

Image

如果查不出来,那就是后端丢数据了,群里反馈给后端同事

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions