Skip to main content
GET
/
metrics
Prometheus Metrics
curl --request GET \
  --url http://localhost:3773/metrics
"# HELP http_requests_total Total number of HTTP requests\n# TYPE http_requests_total counter\nhttp_requests_total{method=\"GET\",endpoint=\"/.well-known/agent.json\",status=\"200\"} 1\nhttp_requests_total{method=\"POST\",endpoint=\"/\",status=\"200\"} 6\nhttp_requests_total{method=\"POST\",endpoint=\"/agent/negotiation\",status=\"200\"} 2\n\n# HELP http_request_duration_seconds HTTP request latency\n# TYPE http_request_duration_seconds histogram\nhttp_request_duration_seconds_bucket{le=\"0.1\"} 1\nhttp_request_duration_seconds_bucket{le=\"0.5\"} 1\nhttp_request_duration_seconds_bucket{le=\"1.0\"} 1\nhttp_request_duration_seconds_bucket{le=\"+Inf\"} 9\nhttp_request_duration_seconds_sum 20.4\nhttp_request_duration_seconds_count 9\n\n# HELP agent_tasks_active Currently active tasks\n# TYPE agent_tasks_active gauge\nagent_tasks_active{agent_id=\"did:bindu:your_email_at_example_com:research_agent:aa8bf76b1d1947a493167220ce8dd7a0\"} 0\n\n# HELP http_request_size_bytes HTTP request body size\n# TYPE http_request_size_bytes summary\nhttp_request_size_bytes_sum 1868\nhttp_request_size_bytes_count 8\n\n# HELP http_response_size_bytes HTTP response body size\n# TYPE http_response_size_bytes summary\nhttp_response_size_bytes_sum 2637\nhttp_response_size_bytes_count 9\n\n# HELP http_requests_in_flight Current number of HTTP requests being processed\n# TYPE http_requests_in_flight gauge\nhttp_requests_in_flight 0\n"

Response

200 - text/plain

Prometheus metrics in text format

The response is of type string.