Skip to content

Count actor DNS queries by egress policy decision - #3395

Open
Lior Lieberman (LiorLieberman) wants to merge 3 commits into
agent-substrate:mainfrom
LiorLieberman:dns-denied-metric
Open

Lior Lieberman (LiorLieberman) wants to merge 3 commits into
agent-substrate:mainfrom
LiorLieberman:dns-denied-metric

Conversation

@LiorLieberman

@LiorLieberman Lior Lieberman (LiorLieberman) commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

Part of #3228. The sandbox DNS relay answers a name the egress policy doesn't allow with NXDOMAIN, and nothing counted those denials.

Both ateworkers now emit ate.dns.queries with an ate.dns.decision label, allowed or denied. A denied query gets NXDOMAIN.

There's no actor or atespace label, per the cardinality rules. A log of which actor looked up which name could come in a follow-up.

AI use: AI-assisted for code and tests, I reviewed the diff.

  • Tests pass
  • Docs updated

Comment thread internal/atunnel/dns/dnshandler.go Resolved
Signed-off-by: Lior Lieberman <liorlieberman@google.com>
Signed-off-by: Lior Lieberman <liorlieberman@google.com>
Signed-off-by: Lior Lieberman <liorlieberman@google.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants