Skip to content

com.hypixel.hytale.metrics

Package: com.hypixel.hytale.metrics

Server metrics and monitoring infrastructure. Provides a registry-based system for collecting, encoding, and reporting JVM and application-level metrics via BSON serialization.

TypeKindDescription
ExecutorMetricsRegistryclassA metrics registry that ensures encoding runs on the metric’s own executor thread via `ExecutorMetric.
InitStackThreadinterfaceInterface for threads that capture their initialization stack trace.
JVMMetricsclassCollects JVM-level metrics including memory usage (heap, non-heap, pools), garbage collection stats, thread states, class loading counts, and CPU load.
MetricProviderinterfaceFunctional interface for metric value providers.
MetricResultsclassCollects and merges encoded metric results from multiple MetricsRegistry instances.
MetricsRegistryclassGeneric registry that maps string identifiers to metric provider functions.
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.