Skip to content

Add atenet.egress.policy.decisions metric - #4213

Open
Rama Chavali (ramaraochavali) wants to merge 1 commit into
agent-substrate:mainfrom
ramaraochavali:feature/egress-policy-metric
Open

Rama Chavali (ramaraochavali) wants to merge 1 commit into
agent-substrate:mainfrom
ramaraochavali:feature/egress-policy-metric

Conversation

@ramaraochavali

@ramaraochavali Rama Chavali (ramaraochavali) commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

atenet-egress authorizes every actor request against the actor's EgressPolicy, but a denial only shows up as a 403 in the access log. Record a counter of policy decisions, by ate.egress.policy.decision (allowed or denied), so operators can see the denial rate and alert on spikes.

  • Tests pass
  • Docs updated

AI Disclosure : Generated with Claude

atenet-egress authorizes every actor request against the actor's
EgressPolicy, but a denial only shows up as a 403 in the access log.
Record a counter of policy decisions, by ate.egress.policy.decision
(allowed or denied), so operators can see the denial rate and alert on
spikes.

Only lookupPolicy's own denials (no policy, no rules) and
handleRequest's EvaluateRequest denials count. A canceled caller or an
unavailable control plane is not a policy decision and isn't counted;
those already show up as 5xx in the access log.

Signed-off-by: Rama Chavali <rama.rao@salesforce.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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant