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

Exposing Prometheus metrics #473

Open
znepb opened this issue Dec 2, 2024 · 0 comments
Open

Exposing Prometheus metrics #473

znepb opened this issue Dec 2, 2024 · 0 comments
Labels
suggestion New feature or request

Comments

@znepb
Copy link

znepb commented Dec 2, 2024

Description

Prometheus is a straightforward, yet powerful tool for monitoring servers and applications. There are already multiple mods that export Prometheus metrics, (most notably Nikolay's Fabric Exporter), however, Spark is in a unique position to provide much more useful information. Implementation of Prometheus metrics would allow administrators to view key performance metrics without needing access to the server console or to be in-game.

Proposed Behaviour

A Prometheus exporter for Spark could provide some key information about the server, such as:

  • TPS
  • MSPT
  • Server CPU Usage
  • Server Memory usage
  • Entity task usage
  • Block entity tick time
  • Network stack tick usage
  • And possibly more

Extra Details

Despite how useful of a feature this would be, it is likely a niche. It also requires the server to host a web server, which presents a fair amount of security issues.

@znepb znepb added the suggestion New feature or request label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant