Event Analytics: Error sending workflow start and end event for Duo Workflow
Issue:
Getting below error when trying to send analytics events using Duo Workflow Executor
2024-10-29T16:43:30.243+0530 ERROR duo_workflow_executor/main.go:153 Analytics Event Error: Error sending start_duo_workflow_execution for workflow 79
{"workflow_id": "79"}
main.sendAnalyticsEvent
gitlab.com/gitlab-org/ai-powered/ai-framework/duo_workflow_executor/main.go:153
main.main.func1
gitlab.com/gitlab-org/ai-powered/ai-framework/duo_workflow_executor/main.go:83
Steps to reproduce
-
Start any workflow using command
./bin/duo-workflow-executor --base-path "./workspace" \ --token="$GITLAB_OAUTH_TOKEN" \ --debug \ --insecure \ --realm="saas" \ --user-id="" \ --base-url="http://gdk.test:3000" \ --server="gdk.test:50052" \ --goal="What is 1+1?" \ --workflow-id="$WORKFLOW_ID" -
You should see above error in terminal/docker logs (If you're running executor in docker)