Sign in

Submit queues stats (v5)

documented

Submit queue statistics (v5).

PUT /api/v5/projects/{project_id}/queues-statsPerformance Monitoringno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.airbrake.io/api/v5/projects/{{$project_id}}/queues-stats?key={{AIRBRAKE_API_KEY}}" \
  -X PUT \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"environment": "{{$environment}}", "queues": [ {"queue": "{{$queue}}", "errorCount": {{$errorCount}}, "count": {{$count}}, "sum": {{$sum}}, "sumsq": {{$sumsq}}, "tdigest": "{{$tdigest}}", "time": "{{$time}}"} ] }'