argoproj / argoproj/argo-workflows

Expose/Improve logging for Workflow Event Bindings

Open
#6,245 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
17k
Forks
3.7k
Avg merge
1d 20h
Merged PRs (30d)
138

Description

# Summary
It seems to be impossible to tell what is happening with Workflow Event Bindings from the UI.

![image](https://user-images.githubusercontent.com/38877728/123767522-d0511b80-d8c7-11eb-989b-4c07474cb90d.png)

There are a few logged items in the Argo Server pod, but even that is very minimal:

```
time="2021-06-29T08:51:52.395Z" level=info msg="finished unary call with code OK" grpc.code=OK grpc.method=ReceiveEvent grpc.service=event.EventService grpc.start_time="2021-06-29T08:51:52Z" grpc.time_ms=11.579 span.kind=server system=grpc
```

Instead I propose to add much more logging so you can actually tell if something is happening, and to expose that logging to the UI so you can view what happened when you made your event call.

# Use Cases

I would use this when debugging, such that I would be able to tell if it received the event, and if it did receive the event why it didn't trigger any workloads.

---

**Message from the maintainers**:

Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the ReceiveEvent handling reported in the Argo Server pod and the existing Workflow Event Bindings view in the UI. Define which event-processing states should be logged and displayed, then verify that the UI explains both received events and events that do not trigger workloads.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
backend, frontend, observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.