egress dashboard: tabs like the agents board, with totals on the first
The board was one page of would-deny panels. It now has three tabs: overview (requests, agents active, refused, credential challenges, data transferred, status over time, busiest agents and destinations), refused (the hosts each agent was refused) and would-deny (the old panels). The module-eval check pins the tab layout and both squid log layouts the queries parse.
This commit is contained in:
parent
9193f37963
commit
6b0c06800b
3 changed files with 1860 additions and 276 deletions
|
|
@ -301,7 +301,7 @@ host. It never decrypts TLS, so it holds no signing key. It caches nothing.
|
|||
rule lets through gets a second log line,
|
||||
`would_deny user=<agent> method=<m> host=<h> port=<p> result=<r>`, from the
|
||||
`would_denied` `access_log` in `hive-squid.nix`; the usual request line keeps
|
||||
its format. The `egress` dashboard in Grafana lists the hosts per agent. Only
|
||||
its format. The **would-deny** tab of the `egress` dashboard in Grafana lists the hosts per agent. Only
|
||||
the operator changes the mode: nothing moves an agent to `restricted` after a
|
||||
time or a count. The self-check's users aren't agents,
|
||||
so `deny-canary.invalid` stays a 403.
|
||||
|
|
|
|||
|
|
@ -203,7 +203,7 @@ kept.
|
|||
- `agents`: per-agent resource usage and Claude Code activity.
|
||||
- `authelia`, `bao`, `queue`: the identity provider, the secret store and the NATS queue.
|
||||
- `claude-usage`: Claude use by model, effort, token type and source. Filter by hive, service (agents or the review classifier) and agent. The service filter separates the classifier's API-key spend from the agents.
|
||||
- `egress`: the requests that agents in `log` mode made to hosts restricted mode would refuse, by agent and host. Filter by agent.
|
||||
- `egress`: what agents send through the egress proxy, in three tabs. **overview** has the totals (requests, agents active, refused, credential challenges, data transferred), requests over time by status, and the busiest agents and destinations. **refused** lists the hosts the proxy refused for each agent. **would-deny** lists what agents in `log` mode reached that restricted mode would refuse. Filter by agent.
|
||||
- `controller`: the swarm controller's job graph by state, and the push and commit rates it sees on the forge.
|
||||
- `review-classifier`: review requests by outcome, the verdict mix, results per check, retried asks, and run duration p50 and p95.
|
||||
- `forge`: what the forge holds, and the forge process's CPU, memory and descriptors.
|
||||
|
|
|
|||
|
|
@ -592,8 +592,8 @@ modes (**allow unrestricted**, **log**, **restrict**) set the mode with a
|
|||
`PUT` without the list resets a stored list to the default. An agent with no
|
||||
stored list sends the flags alone. `log` sends `unrestricted_internet: false`
|
||||
with `internet_log: true`; the other two leave `internet_log` out, which ends
|
||||
logging. The **egress** dashboard in Grafana shows the hosts a `log` agent
|
||||
reached.
|
||||
logging. The **would-deny** tab of the **egress** dashboard in Grafana shows the hosts a
|
||||
`log` agent reached.
|
||||
The hive's egress proxy applies the flag to each agent's proxy credential (see
|
||||
[the egress proxy](../networking/network.md#egress-proxy-squid)). An agent sends its
|
||||
credential from its next start after it has fetched it, so a flag change applies
|
||||
|
|
|
|||
Loading…
Reference in a new issue