Back to 9Minecraft
Wiki 9Minecraft Wiki 9Minecraft

Fabric Exporter Mod FAQ

10 questions players actually ask, answered.

How do I start using Fabric Exporter after installing it?
Create or edit your exporter.properties file in your server directory to set the port where metrics will be exposed, then configure Prometheus to scrape that endpoint by adding it to your prometheus.yml file's scrape_configs section.
What port should I use for the exporter?
You can specify any available port in your exporter.properties file using the server-port property; just make sure it's not already in use by another service and that your firewall allows Prometheus to access it.
Do I need Prometheus installed to use this mod?
Yes, Prometheus is required to collect and store the metrics that Fabric Exporter exposes; without it, the mod will still run but the data won't be captured.
Why can't Prometheus connect to my Fabric Exporter?
Check that the IP address and port in your Prometheus config match your server's actual address and the port set in exporter.properties, verify your firewall allows the connection, and ensure the mod is running on the server.
Can I view the metrics in Grafana instead of Prometheus?
Yes, you can add Prometheus as a data source in Grafana and create custom dashboards to visualize the metrics that Fabric Exporter provides.
What happens if I restart my server—do I lose the metrics?
Prometheus stores historical data separately from your server, so restarting your server won't erase previously collected metrics; Fabric Exporter will resume sending new data once the server is back online.
Does this mod work with modded servers or only vanilla?
Fabric Exporter works with any Fabric server regardless of which other mods are installed, as long as Fabric itself is present.
How often does the mod send metrics to Prometheus?
Prometheus pulls metrics from the exporter at intervals defined in your Prometheus config's scrape_interval setting, which you can customize based on how frequently you want data updates.
Can I expose metrics to multiple Prometheus instances?
Yes, you can configure multiple Prometheus servers to scrape the same Fabric Exporter endpoint, and each will independently collect and store the data.
What metrics does Fabric Exporter actually collect?
The mod exposes general server metrics like player count, TPS, memory usage, and other JVM statistics; check the mod's documentation or Prometheus interface to see the complete list of available metrics.