Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] v6.4 Trace Completion API 调用返回500 #6276

Closed
2 of 3 tasks
YuanChuan11 opened this issue Apr 28, 2024 · 1 comment · Fixed by deepflowio/deepflow-app#235
Closed
2 of 3 tasks

[BUG] v6.4 Trace Completion API 调用返回500 #6276

YuanChuan11 opened this issue Apr 28, 2024 · 1 comment · Fixed by deepflowio/deepflow-app#235
Assignees
Labels
bug Something isn't working

Comments

@YuanChuan11
Copy link

Search before asking

  • I had searched in the issues and found no similar feature requirement.

DeepFlow Component

Server

What you expected to happen

根据官网文档调用Trace Completion API( https://deepflow.io/docs/zh/integration/output/query/trace-completion/)时报错
调用接口:http://${deepflow_server_node_ip}:${port}/v1/stats/querier/tracing-completion-by-external-app-spans。
返回500错误码和如下报错信息。
{
"OPT_STATUS": "INTERNAL_SERVER_ERROR",
"DESCRIPTION": "'str' object has no attribute 'signal_source'"
}

deepflow-app打印的错误日志如下:
'str' object has no attribute 'signal_source'Traceback (most recent call last): File "/root/app/common/utils.py", line 105, in wrapper response = await function(*args, **kwargs) File "/root/app/application/application.py", line 41, in l7_flow_app_tracing status, response, failed_regions = await TracingCompletion( File "/root/app/application/tracing_completion.py", line 38, in query rst = await self.trace_l7_flow(time_filter=time_filter, File "/root/app/application/tracing_completion.py", line 416, in trace_l7_flow set_all_relate(dataframe_flowmetas, related_map, network_delay_us) File "/root/app/application/l7_flow_tracing.py", line 631, in set_all_relate if ti.signal_source != L7_FLOW_SIGNAL_SOURCE_OTEL:AttributeError: 'str' object has no attribute 'signal_source'

How to reproduce

No response

DeepFlow version

deepflow-server v6.4
deepflow-agent v6.4
deepflow-app v6.4

DeepFlow agent list

No response

Kubernetes CNI

No response

Operation-System/Kernel version

No response

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@YuanChuan11 YuanChuan11 added the bug Something isn't working label Apr 28, 2024
@1473371932 1473371932 assigned taloric and 1473371932 and unassigned 1473371932 Apr 28, 2024
@taloric taloric linked a pull request May 14, 2024 that will close this issue
@taloric
Copy link
Contributor

taloric commented May 14, 2024

@YuanChuan11 plz try the latest version

@taloric taloric closed this as completed May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants