Observed since 20 Oct, 21:58 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
agentforge-statsd
StatsD metrics emitter hook for AgentForge
StatsD metrics emitter for the AgentForge framework.
Implements the StepHook + FinishHook contracts on the
existing agentforge.hooks entry-point so installing the
package makes name: statsd available in
modules.observability config blocks.
pip install agentforge-statsd[statsd]
The [statsd] extra pulls in the statsd>=4.0 Python client.
Without the extra, the package is importable but the
production factory raises ModuleError with pip remediation.
from agentforge import Agent
from agentforge_statsd import StatsdHook
hook = StatsdHook.from_config(
host="statsd.internal",
port=8125,
prefix="agentforge.pr-reviewer",
)
agent = Agent(
model="bedrock:...",
on_step=hook,
on_finish=hook,
)
| Metric | Type | When |
|---|---|---|
<prefix>.step.<kind> | counter +1 | every step |
<prefix>.step.duration_ms | timing | every step with duration_ms > 0 |
<prefix>.tool.<name> | counter +1 | every step with tool_call |
<prefix>.run.finish.<reason> | counter +1 | on run finish |
<prefix>.run.duration_ms | timing | on run finish |
<prefix>.run.cost_usd | gauge | on run finish |
<prefix>.run.tokens_in | gauge | on run finish |
<prefix>.run.tokens_out | gauge | on run finish |
Apache-2.0.
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
agentforge-coreEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.13",
"evaluation": "NOT_EVALUATED"
} | agentforge-core~=0.4.0 | runtime |
statsdEnvironment{
"extras": "",
"marker": "extra == \"statsd\"",
"requires_python": ">=3.13",
"evaluation": "NOT_EVALUATED"
} | statsd>=4.0; extra == "statsd" | runtime |
bdist_wheel · 9.8 KB · Python py3
sdist · 9.3 KB · Python source
Observed since 20 Oct, 21:58 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:8b20e2c4047bba2226b581cf514a3588a34ad585e71808e3fbec687404de088d