Repository navigation
Commit 1c2da22
committed
refactor(otel): unify compute driver tracing
Centralize compute-driver RPC descriptors, stream instrumentation, provider
routing, and standalone installation in openshell-otel. Use typed RPC
constants so gateway and in-process driver paths cannot panic on unknown
operation strings or repeat runtime method parsing.
Emit semantic-convention rpc.service and rpc.method attributes, preserve
trace context and resource identity across deployment modes, and route both
RPC boundary and backend crate spans to each selected driver provider. Leave
consumer-dropped watch spans unset while recording observed terminal status,
and avoid reboxing untraced external-driver streams.
Derive each driver tracing identity from Cargo package and crate metadata and
attach its descriptor to the compute-driver registration, keeping provider
selection and target routing tied to the registered implementation. Share
tracing setup and round-trip test support across Docker, Podman, Kubernetes,
and VM, and update the gateway tracing documentation.
Signed-off-by: Kris Hicks <khicks@nvidia.com>1 parent 43ca62e commit 1c2da22
30 files changed
Lines changed: 1936 additions & 1905 deletions
File tree
- architecture
- crates
- openshell-driver-docker/src
- openshell-driver-kubernetes/src
- openshell-driver-podman/src
- openshell-driver-vm/src
- openshell-gateway/src
- openshell-otel-test-support
- src
- openshell-otel
- src
- openshell-server/src
- compute
- docs/reference
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
756 | 756 | | |
757 | 757 | | |
758 | 758 | | |
759 | | - | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
760 | 764 | | |
761 | | - | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
762 | 775 | | |
763 | 776 | | |
764 | 777 | | |
| |||
0 commit comments