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

Health/stats endpoint #187

Open
kam193 opened this issue Feb 4, 2024 · 0 comments
Open

Health/stats endpoint #187

kam193 opened this issue Feb 4, 2024 · 0 comments
Assignees
Labels
assess We still haven't decided if this will be worked on or not enhancement New feature or request

Comments

@kam193
Copy link

kam193 commented Feb 4, 2024

Is your feature request related to a problem? Please describe.
I'm looking into implementing some basic monitoring to ensure the overall system is in health. I observe some things like networking troubles etc. I'd like to have an API endpoint I can integrate with the monitoring system.

Describe the solution you'd like
The most basic and meaningful information would be to have an endpoint reporting the number of outstanding and queued submissions from Dispatcher and Ingester modules. Those give the best overall feeling, whether the system works or not.

Describe alternatives you've considered

  1. The current /system/status/ALL/ API is a great start, but it reports only if those modules are enabled, not how they work.
  2. The Dashboard tab is a great place, but requires manual observation.
  3. I assume this information could be extracted from Elasticsearch metrics, but it doesn't look like the best approach to get just basic info through dealing with deeply internal stuff.
  4. More information - like error numbers, per-service stats - can be, of course, useful, but there is a reason why they are delivered using websocets, and not a typical API. A limited, basic info should be enough to indicate if there is a general problem or not.

Additional context
Dashboard tab is great, but it's always nice to connect with a centralized monitoring :)

@kam193 kam193 added assess We still haven't decided if this will be worked on or not enhancement New feature or request labels Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assess We still haven't decided if this will be worked on or not enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants