Repository navigation
Commit 9cc5f6e
authored
feat(observability): export OTLP over HTTP/protobuf to any collector (#5082)
Every OTLP export (gateway traces, OCSF logs, supervisor traces, and the
agent trace relay) spoke gRPC only, so trace backends that accept only
OTLP/HTTP needed a translating collector in between.
Each [openshell.gateway.otlp] table accepts protocol = "grpc" or
"http/protobuf". A table without its own endpoint uses the whole shared
collector; a table with its own endpoint inherits nothing from it. Compute
drivers take the collectors through one shared set of flags, read from
the same environment variables that supervisors receive, and pass them on
through one SupervisorOtlp value that replaces the per-lane driver fields.
OTLP/HTTP goes through a single client in openshell-otel, shared by the
SDK exporters and the relay, that bounds each request by the export
timeout and fails exports whose response is incomplete or larger than
64 KiB. Exporters send no query parameters, so an endpoint with a query
string is a configuration error.
Refs #5067
Signed-off-by: Kris Hicks <khicks@nvidia.com>1 parent 634ca7d commit 9cc5f6e
55 files changed
Lines changed: 2405 additions & 701 deletions
File tree
- crates
- openshell-core
- src
- 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
- tests
- openshell-server
- src
- openshell-supervisor
- src
- backend_setup
- otlp_relay
- deploy/helm/openshell
- docs
- how-it-works/gateways
- observability
- e2e/rust
- skills/debug-openshell-cluster
- tests/suites/features
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
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 | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
61 | 66 | | |
62 | | - | |
| 67 | + | |
63 | 68 | | |
64 | 69 | | |
65 | 70 | | |
| |||
0 commit comments