You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 40b8371
Browse filesBrowse the repository at this point in the historyBrowse files
feat(gateway): identify gateways in exported traces
Attach the configured gateway installation name and compute driver to the
gateway OpenTelemetry resource so operators can filter traces from multiple
installations that share a collector. Forward the gateway name and OTLP
endpoint to managed external drivers so their distinct service resources carry
the same installation identity.
Keep service.name stable per process type, omit blank resource values, and
leave per-span operation names and request attributes unchanged.
Refs #2507
Signed-off-by: Kris Hicks <[email protected]>
Copy file name to clipboardExpand all lines: crates/openshell-driver-vm/README.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,10 @@ First run takes a few minutes while `mise run vm:setup` stages libkrun/libkrunfw
40
40
By default `mise run gateway:vm`:
41
41
42
42
- Listens on plaintext HTTP at `127.0.0.1:18081`.
43
-
- Registers the CLI gateway `vm-dev` by writing `~/.config/openshell/gateways/vm-dev/metadata.json`. It does not modify the workspace `.env`.
43
+
- Configures the gateway installation name as `vm-dev` and registers the same
44
+
name with the CLI by writing
45
+
`~/.config/openshell/gateways/vm-dev/metadata.json`. It does not modify the
46
+
workspace `.env`.
44
47
- Persists the gateway SQLite DB under `.cache/gateway-vm/gateway.db`.
45
48
- Places the VM driver state (per-sandbox `overlay.ext4`, image cache, and `run/compute-driver.sock`) under `/tmp/openshell-vm-driver-$USER-vm-dev/` so the AF_UNIX socket path stays under macOS `SUN_LEN`.
46
49
- Writes `.cache/gateway-vm/gateway.toml` with `[openshell.drivers.vm].driver_dir = "$PWD/target/debug"` so the freshly built `openshell-driver-vm` is used instead of an older installed copy from `~/.local/libexec/openshell`, `/usr/libexec/openshell`, or `/usr/local/libexec`.
@@ -68,7 +71,7 @@ Override defaults via environment:
68
71
# custom port (fails fast if in use)
69
72
OPENSHELL_SERVER_PORT=18091 mise run gateway:vm
70
73
71
-
# custom CLI gateway name + namespace
74
+
# custom gateway installation/CLI name + namespace
0 commit comments