All Mods Resource Packs Data Packs Shaders Modpacks Plugins
FabricExporter

FabricExporter

by ruscalworld • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

FabricExporter

Fabric mod that adds a Prometheus exporter with general metrics of your server.

Grafana Dashboard


It's a server-side mod that exposes metrics of your Fabric server in Prometheus format. So, it requires you to have at least Prometheus installed to collect provided metrics. I recommend also using Grafana to visualize data.

If you want to get TPS and MSPT metrics, you should also install Spark as mod for your Fabric server.

Exposed metrics

Here is a list of metrics that are collected by FabricExporter.

  • Metrics collected by Minecraft doesn't require anything, but may cause errors when running on old Minecraft versions
  • Metrics collected by Spark require Spark to be installed

You can disable any of these metrics in config.

Prometheus name Description Config property Collected by
minecraft_loaded_chunks Amount of currently loaded chunks on server enable-loaded-chunks Minecraft
minecraft_total_loaded_chunks Amount of total loaded chunks on server enable-total-loaded-chunks Minecraft
minecraft_mspt Count of milliseconds per tick (MSPT) enable-mspt Spark
minecraft_tps Count of ticks per second (TPS) enable-tps Spark
minecraft_players_online Amount of currently online players on your server enable-players-online FabricExporter
minecraft_entities Amount of currently loaded entities on your server enable-entities FabricExporter
minecraft_handshakes Count of handshake requests enable-handshakes FabricExporter

Getting started

To use this mod you should have at least Fabric server and Prometheus installed.

Installing mod

  1. Download the mod from Releases page.
  2. Drop downloaded mod jar to the mods folder.
  3. Start your server to generate config file.
  4. Open config/exporter.properties, ensure that server-port value is an open port that can be accessed by your Prometheus and change it if required.
  5. Restart the server if you made changes in config.

Configuring Prometheus

  1. Open your Prometheus config file (it located at /etc/prometheus/prometheus.yml by default).
    sudo nano /etc/prometheus/prometheus.yml
  2. Add FabricExporter endpoint to the scrape_configs section. Don't forget to replace 127.0.0.1 with address of your server and 25585 with port specified in server-port property in exporter.properties file.
  • job_name: 'fabric' static_configs:
    • targets: ['127.0.0.1:25585']
  1. Restart Prometheus service.
    sudo service prometheus restart

Importing Grafana dashboard

If you want to use Grafana, you can use my dashboard as template. I assume that you have already created a Prometheus data source in Grafana. So, let's import dashboard for FabricExporter.

  1. Log in to your Grafana and go to Create -> Import tab.
  2. Type 14492 in "Import via grafana.com" field and click "Load".
  3. On the next page change settings as you wish and click "Import".

Configuring

After your server starts, FabricExporter will create exporter.properties file in the config folder. You should use this file to configure the mod. In this file you can see some general settings and metrics settings.

General settings

Property Description Default value
server-port Port on what the web server will listen for requests 25585
update-interval Interval between gauge metrics updates in milliseconds 1000
use-spark If set to false, FabricExporter will be independent from Spark true

Metrics settings

You can disable any metric that registered via MetricRegistry (all metrics by default) using exporter.properties file. Names of properties consist of enable and metric name without prefix and _ replaced with -. For example, if you want to disable minecraft_players_online, you should set enable-players-online to false. You can also see list of available properties in "Exposed metrics" section. If you can't find property for some metrics, you can manually add it. All metrics are enabled by default.

License

MIT license. Read more in LICENSE

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.2
Fabric
4mo ago 1
26.1
Fabric
7mo ago 1
1.21.11
Fabric
10mo ago 1
1.21.10
Fabric
last yr. 1
1.21.9
Fabric
last yr. 1
1.21.8
Fabric
last yr. 1
1.21.7
Fabric
last yr. 1
1.21.6
Fabric
last yr. 1
1.21.5
Fabric
last yr. 1
1.20.1
Fabric
last yr. 1
1.21.4
Fabric
last yr. 1
1.21.4
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.20.2
Fabric
last yr. 1
1.20.4
Fabric
last yr. 1
1.20.1
Fabric
last yr. 1
1.19.3
Fabric
last yr. 1
1.19
Fabric
last yr. 1
1.19
Fabric
last yr. 1
1.18 1.17.1 1.16.5
Fabric
last yr. 1
1.17.1 1.16.5
Fabric
last yr. 1
1.17.1 1.16.5
Fabric
last yr. 1
1.17
Fabric
last yr. 1
1.16.5
Fabric
last yr. 1
[1.0.22] 1.0.22 by ruscalworld on Jun 21, 2026
Download
No changelog was specified.
[1.0.21] 1.0.21 by ruscalworld on Mar 31, 2026
Download
No changelog was specified.
[1.0.20] 1.0.20 by ruscalworld on Dec 23, 2025
Download
No changelog was specified.
[1.0.19] 1.0.19 by ruscalworld on Oct 24, 2025
Download
No changelog was specified.
[1.0.18] 1.0.18 by ruscalworld on Oct 24, 2025
Download
No changelog was specified.
[1.0.17] 1.0.17 by ruscalworld on Aug 15, 2025
Download
No changelog was specified.
[1.0.16] 1.0.16 by ruscalworld on Jul 02, 2025
Download
No changelog was specified.
[1.0.15] 1.0.15 by ruscalworld on Jun 24, 2025
Download
No changelog was specified.
[1.0.14] 1.0.14 by ruscalworld on Apr 01, 2025
Download
No changelog was specified.
[1.0.14] 1.0.14 by ruscalworld on Apr 01, 2025
Download
No changelog was specified.
[1.0.14] 1.0.14 by ruscalworld on Jan 04, 2025
Download
No changelog was specified.
[1.0.13] 1.0.13 by ruscalworld on Dec 17, 2024
Download
No changelog was specified.
[1.0.12] 1.0.12 by ruscalworld on Nov 10, 2024
Download
No changelog was specified.
[1.0.11] 1.0.11 by ruscalworld on Jul 17, 2024
Download
No changelog was specified.
[1.0.11] 1.0.11 by ruscalworld on Mar 01, 2024
Download
No changelog was specified.
[1.0.11] 1.0.11 by ruscalworld on Dec 10, 2023
Download
No changelog was specified.
[1.0.10] 1.0.10 by ruscalworld on Jun 20, 2023
Download
No changelog was specified.
[1.0.9] 1.0.9 by ruscalworld on Jan 28, 2023
Download
The project has been updated to root project 'FabricExporter'. No changelog was specified.
[1.0.8] 1.0.8 by ruscalworld on Jul 26, 2022
Download
The project has been updated to root project 'FabricExporter'. No changelog was specified.
[1.0.7] 1.0.7 by ruscalworld on Jun 30, 2022
Download
The project has been updated to root project 'FabricExporter'. No changelog was specified.
[1.0.6] 1.0.6 by ruscalworld on Dec 03, 2021
Download
The project has been updated to root project 'FabricExporter'. No changelog was specified.
[1.0.5] 1.0.5 by ruscalworld on Sep 07, 2021
Download
The project has been updated to root project 'FabricExporter'. No changelog was specified.
[1.0.4] 1.0.4 by ruscalworld on Aug 06, 2021
Download
The project has been updated to root project 'FabricExporter'. No changelog was specified.
[1.0.3] 1.0.3 by ruscalworld on Jun 24, 2021
Download
The project has been updated to root project 'FabricExporter'. No changelog was specified.
[1.0.1] 1.0.1 by ruscalworld on May 25, 2021
Download
The project has been updated to root project 'FabricExporter'. No changelog was specified.
FabricExporter Icon
Download FabricExporter
Select game version
Select platform