faas-flow
faas-flow copied to clipboard
Fass flow has an inncorrect flow name
Hello,
When faas flow is executing, the flow name does not correspond function name. The flow name is numeric (10 in my environment) as in example below:
...2022/05/31 19:25:41 stderr: 2022/05/31 19:25:41 Using default state store (consul) 2022/05/31 19:25:41 stderr: 2022/05/31 19:25:41 Using default data store (minio) 2022/05/31 19:26:07 stderr: 2022/05/31 19:26:07 Executing flow 10 2022/05/31 19:26:07 stdout: [Request 'cab6njocq3a7feq7jk5g'] Created...
This name mismatch (10 vs function name) causes issues in flow tower, traces are notmatched.
Thank you.
The flow name is assigned to 1st part of the IP address by getWorkflowNameFromHost function (https://github.com/faasflow/runtime/blob/ddf167f4bcfbe4136be631de2d493c1b166ee73f/controller/http/new_request_handler_wrapper.go#L73). Is this a bug? or environment issue?
oh,i met the same question as you @ctakgh! @s8sg can you please help?