datadog在请求中未识别资源名称
我从Datadog代理开始用于GO应用程序。我正在考虑实施APM跟踪,以确定API请求如何流动和正在触发的功能。
在我当前的应用程序中,我有一条调用另一个功能的路由。这里的最终目标是将路由和功能同时记录为两个独立的资源(此外,将它们记录为跨度图)。但是,当前,只有API调用作为资源记录在DataDog中,但函数调用却没有。
我想做的是在痕迹列表中捕获它们两个,以便它们可以基于特定资源生成可视化(例如:log_func)
我的 main.go file file to上传 https://gith.gith.gith.gith.github.com/baljit92/baljit92/87870f38cf20d.2 e2
I am getting start with DataDog agent for my Go application. I am looking at implementing APM tracing to identify how the API request flows and the functions that are being triggered.
In my current app, I have a route that calls another function. The end goal here is to record both the route and the function as two separate resources (in addition the recording them as a span graph). However, currently, only the API call gets recorded in DataDog as a resource but the function call does not.
What I want to do is capture both of them in the Traces list so that they I can generate visualizations based on specific resources (for example: log_func)
My main.go file is uploaded here https://gist.github.com/baljit92/87870f38cf20df9e2a30f30e4993de48
Here is a screenshot of what I see on Datadog APM. As per the screenshot, log_func only appears under Span List and not under the Traces list.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论