Skip to content

[feat] Send agent-sandbox metrics to the telemetry pod - #369

Open
westrik wants to merge 2 commits into
mainfrom
agent_sandbox_telemetry
Open

westrik wants to merge 2 commits into
mainfrom
agent_sandbox_telemetry

Conversation

@westrik

@westrik westrik commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Include retool.telemetry.includeEnvVars on the agent-sandbox controller and proxy deployments, add STATSD_HOST/STATSD_PORT (telemetry service, UDP 9125) plus NODE_NAME to the sandbox Job template, and tag sandbox Jobs with telemetry.retool.com/service-name — all gated on telemetry.enabled.

Also allow UDP 9125 egress from the sandbox, controller, and proxy NetworkPolicies to the telemetry pod so the agent_executor statsd emissions (retool.ae.*) reach Grafana like backend and code-executor metrics do.

Include `retool.telemetry.includeEnvVars` on the agent-sandbox
controller and proxy deployments, add `STATSD_HOST`/`STATSD_PORT`
(telemetry service, UDP 9125) plus `NODE_NAME` to the sandbox Job
template, and tag sandbox Jobs with
`telemetry.retool.com/service-name` — all gated on
`telemetry.enabled`.

Also allow UDP 9125 egress from the sandbox, controller, and proxy
NetworkPolicies to the telemetry pod so the agent_executor statsd
emissions (`retool.ae.*`) reach Grafana like backend and
code-executor metrics do.
@greptile-apps

greptile-apps Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
charts/retool/Chart.yaml Increments the chart patch version to publish the telemetry integration.
charts/retool/templates/agent_sandbox_networkpolicy.yaml Adds telemetry-gated UDP/9125 egress rules using the telemetry pod’s shared selector.
charts/retool/templates/deployment_agent_sandbox.yaml Adds sandbox telemetry labels and environment configuration while reusing the shared helper for controller and proxy deployments.

Reviews (2): Last reviewed commit: "[chore] Bump chart version for agent-san..." | Re-trigger Greptile

@westrik
westrik marked this pull request as ready for review September 9, 2026 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants