Skip to main content
Glama
test_slo.py261 B
from monitoring.slo import SLO def test_slo_evaluation(): slo = SLO(latency_p95_ms=1000, success_rate=0.99) assert slo.evaluate({"p95_ms": 900, "success_rate": 0.995}) is True assert slo.evaluate({"p95_ms": 1200, "success_rate": 0.995}) is False

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Zazzles2908/EX_AI-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server