actions-runner-controller icon indicating copy to clipboard operation
actions-runner-controller copied to clipboard

Adding support for open telemetry

Open kwngo opened this issue 2 years ago • 6 comments

Is your feature request related to a problem? Please describe. Often we have trouble distinguishing whether root cause of any issue is something with the controller or our own self-hosted infrastructure. For example I'd like to see how long specific methods in the reconcilation loop are taking to run, to rule out any issues.

Describe the solution you'd like Similar to open metrics I'm thinking we can add support for open telemetry.

Describe alternatives you've considered We've enabled the open metrics which has already given us a lot more insight, but I think tracing will take it further.

Additional context

kwngo avatar Apr 25 '22 11:04 kwngo

@kwngo Hey! This doesn't sound too bad, but I'm unsure it is worth the effort, or how we should prioritize this over other important issues.

What are the exact use-cases you have in mind? Have you ever encountered any performance problems using ARC, caused by GitHub API slowness, K8s slowness, or ARC's logic bug that makes it very slow to respond, etc? Or is this being suggested only to prepare for such events?

mumoshu avatar Apr 26 '22 02:04 mumoshu

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar May 27 '22 02:05 github-actions[bot]

Until we have a concrete set of requirements for what we want from tracing, we might better hold on until the tracing framework is finalized and added to controller-runtime, so that we don't repeat the effort. https://github.com/kubernetes-sigs/controller-runtime/issues/305

mumoshu avatar Jul 16 '22 03:07 mumoshu

But adding some trace "logs" to some important code paths of ARC would still make sense, regardless of whether we adopt OpenTelemetry tracing. If anyone has any request to add a specific trace log to certain code path in ARC, please raise a feature request for that with your use-case. Thanks 🙏

mumoshu avatar Jul 25 '22 08:07 mumoshu

any ongoing effort? Im interested in working on it :)

pathcl avatar Dec 13 '23 18:12 pathcl