Skip to main content
GET
/
metrics
Prometheus Metrics
curl --request GET \
  --url http://localhost:3773/metrics
"# HELP http_requests_total Total HTTP requests\n# TYPE http_requests_total counter\nhttp_requests_total{method=\"GET\",endpoint=\"/health\",status=\"200\"} 1234\n# HELP http_request_duration_seconds HTTP request latency\n# TYPE http_request_duration_seconds histogram\nhttp_request_duration_seconds_bucket{le=\"0.1\"} 100\n# HELP agent_tasks_active Currently active tasks\n# TYPE agent_tasks_active gauge\nagent_tasks_active{agent=\"first_agent\"} 5\n# HELP agent_tasks_completed_total Total completed tasks\n# TYPE agent_tasks_completed_total counter\nagent_tasks_completed_total{agent=\"first_agent\",status=\"completed\"} 42\n"

Response

200 - text/plain

Prometheus metrics in text format

The response is of type string.