Instrument kas with distributed tracing
The GitLab application is instrumented with Distributed Tracing using LabKit's tracing abstraction (which currently wraps OpenTracing).
This distributed tracing instrumentation should be extended to include kas
, including upstream calls to the RoR monolith, Gitaly etc
Example usage: https://godoc.org/gitlab.com/gitlab-org/labkit/tracing#example-package
-
Gitaly calls should be tagged as originating from KAS, so that if/when this polling becomes a problem, we know where it comes from. Example (see gitlab-com/gl-infra/readiness!46 (comment 426331665) for context)
Edited by Thong Kuah