Project

General

Profile

Actions

User story #9976

closed

API endpoint to get information about queue status of uploaded inventories

Added by François ARMAND almost 8 years ago. Updated almost 8 years ago.

Status:
Released
Priority:
3
Category:
Web - Nodes & inventories
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

We would like to add a new api endpoint for the inventory application spec as follow:

GET /api/info

And answer:

- if the queue is not saturated: HTTP status 200 ok

{
  "queueMaxSize": 200,
  "queueFillCount": 89,
  "queueSaturated": false
}

- if the queue is saturated: HTTP status 429 too many requests

{
  "queueMaxSize": 200,
  "queueFillCount": 200,
  "queueSaturated": true
}

Subtasks 2 (0 open2 closed)

Architecture #10005: Add documentation about inventory upload on root serverReleasedAlexis MoussetActions
Bug #10047: "Inventory workflow, from nodes to Root server" should be in Reference, not troubleshootingReleasedAlexis MoussetActions

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #11330: Inventory endpoint info api is reporting saturated off by oneReleasedNicolas CHARLESActions
Actions

Also available in: Atom PDF