MCPcopy Create free account
hub / github.com/AgentOps-AI/agentops / _now_us

Function _now_us

app/api/agentops/common/rate_limit.py:19–21  ·  view source on GitHub ↗

Get the current time in microseconds.

()

Source from the content-addressed store, hash-verified

17
18
19def _now_us() -> int:
20 """Get the current time in microseconds."""
21 return int(time.time() * 1_000_000)
22
23
24def record_interaction(ip: str) -> None:

Callers 3

record_interactionFunction · 0.85
is_blockedFunction · 0.85
get_countFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…