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 80a2f8a
Browse filesBrowse the repository at this point in the historyBrowse files
feat(supervisor): gate the agent trace relay behind [otlp.agent]
The relay started whenever a sandbox supervisor had a trace endpoint, so
enabling gateway trace export also changed every workload's environment.
Make it opt-in: `[openshell.gateway.otlp.agent]` with `enabled = true`
turns it on, and its optional `endpoint` falls back to the shared
`[openshell.gateway.otlp]` endpoint, like the OCSF table.
The gateway validates the endpoint and drivers pass it to supervisors as
OPENSHELL_OTLP_AGENT_ENDPOINT, separate from OPENSHELL_OTLP_ENDPOINT.
Docker, Podman (including the Podman Machine host alias), Kubernetes and
VM drivers carry it, in-process and as standalone binaries. The shared
Kubernetes supervisor still does not relay.
The relay now acknowledges OTLP metrics and logs exports with an empty
success and discards them, so agent SDKs that export every signal to the
generic endpoint stop retrying. Discards are counted and logged once.
Local dev gateway tasks, the Skaffold values and the e2e harness enable
the table; OPENSHELL_E2E_OTLP_AGENT=0 runs the inert case with trace
export still on.
Signed-off-by: Roland Huß <[email protected]>
Copy file name to clipboardExpand all lines: .agents/skills/helm-dev-environment/SKILL.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -170,9 +170,10 @@ trace-context annotation. The same command exposes OTLP/gRPC on
170
170
`http://127.0.0.1:4317`and, when deployed, the Kubernetes gateway on
171
171
`http://127.0.0.1:8090`. The local `gateway:docker`, `gateway:podman`, and
172
172
`gateway:vm`tasks detect the collector listener at startup and enable trace
173
-
export only while it is reachable. Spans an agent exports from inside a sandbox
174
-
arrive through the supervisor's relay with `openshell.telemetry.source=agent`
175
-
and share `openshell.sandbox.id` with that sandbox's supervisor spans.
173
+
export, OCSF log export, and the agent trace relay only while it is reachable.
174
+
Spans an agent exports from inside a sandbox arrive through the supervisor's
175
+
relay with `openshell.telemetry.source=agent` and share `openshell.sandbox.id`
176
+
with that sandbox's supervisor spans.
176
177
177
178
The Skaffold profile for HA reverse-proxy development is available from
"the gateway supervisor topology does not export supervisor OTLP traces or OCSF events; shared sandbox instances keep console logs and gateway log push"
1092
+
"the gateway supervisor topology does not export supervisor OTLP traces or OCSF events or relay workload traces; shared sandbox instances keep console logs and gateway log push"
1085
1093
);
1086
1094
}
1087
1095
let driver = Self {
@@ -8757,6 +8765,18 @@ mod tests {
8757
8765
]
8758
8766
);
8759
8767
8768
+
let driver = KubernetesComputeDriver::new_for_test(KubernetesComputeConfig {
0 commit comments