Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide monitor information also through event bus API #233

Open
mcweba opened this issue Jan 10, 2025 · 0 comments
Open

Provide monitor information also through event bus API #233

mcweba opened this issue Jan 10, 2025 · 0 comments
Assignees

Comments

@mcweba
Copy link
Collaborator

mcweba commented Jan 10, 2025

The current implementation provides the monitor information through the HTTP API by calling

GET /queuing/monitor

this results in a json response like this:

{
  "queues": [
    {
      "name": "queue_1",
      "size": 3
    },
    {
      "name": "queue_2",
      "size": 2
    }
  ]
}

With this issue we want to introduce this API endpoint also through the event bus API.

The request object could look something like this:

{
    "operation": "monitor",
    "payload": {
        "emptyQueues": <boolean value to define whether to include empty queues or not>,
        "limit": <limit the amount of queues to return>
    }
}
@mcweba mcweba self-assigned this Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant