K8s trace context for APIServer is incorrect #124073
Labels
kind/bug
Categorizes issue or PR as related to a bug.
sig/instrumentation
Categorizes an issue or PR as relevant to SIG Instrumentation.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
What happened?
In Kubernetes release 1.28, the tracing structure for the API server is depicted as follows:
Within the API server's code structure, the spans "List(recursive=true) etcd3" and "SerializeObject" are expected to be nested under the "List" span. However, "SerializeObject" appears parallel to "List", which is not the intended behavior.
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/get.go
What did you expect to happen?
Within the API server's code structure, the spans "List(recursive=true) etcd3" and "SerializeObject" are expected to be nested under the "List" span.
How can we reproduce it (as minimally and precisely as possible)?
Anything else we need to know?
No response
Kubernetes version
Cloud provider
OS version
Unrelated to the OS version
Install tools
Container runtime (CRI) and version (if applicable)
Related plugins (CNI, CSI, ...) and versions (if applicable)
Unrelated to the plugins version
The text was updated successfully, but these errors were encountered: