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

Diagnostic API and service for Inputs #20958

Merged
merged 4 commits into from
Nov 26, 2024
Merged

Diagnostic API and service for Inputs #20958

merged 4 commits into from
Nov 26, 2024

Conversation

patrickmann
Copy link
Contributor

/nocl new feature
Relates to issue #20683

A new API and service to provide data for the Input Setup Wizard.
The new endpoint:
GET system/inputs/diagnostics/{inputId}

Returns a JSON data structure, currently only with a single object representing the message count by stream. We may add to this in future. E.g.:

{
  "stream_message_count": {
    "Default Stream": 204,
    "RandomGET": 179
  }
}

In case of no data we return an empty map:

{
  "stream_message_count": {}
}

@patrickmann patrickmann marked this pull request as ready for review November 14, 2024 14:53
Copy link
Contributor

@AntonEbel AntonEbel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@AntonEbel AntonEbel merged commit c82f761 into master Nov 26, 2024
6 checks passed
@AntonEbel AntonEbel deleted the streamcounts branch November 26, 2024 21:24
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

Successfully merging this pull request may close these issues.

2 participants