You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+34-1
Original file line number
Diff line number
Diff line change
@@ -234,4 +234,37 @@ public class MyPluginCommand extends PluginCommand {
234
234
235
235
You can easily collect metrics about your own plugin.
236
236
237
-
[//]: #(TODO: Add a section about how to provide a health check from your own plugin.)
237
+
#### Add compile-time dependency to your plugin
238
+
239
+
1. Get the latest `minecraft-prometheus-exporter-3.0.0.jar` from the [releases](https://github.com/sladkoff/minecraft-prometheus-exporter/releases) page.
240
+
2. Add the jar to your project's classpath.
241
+
242
+
#### Create a health check
243
+
244
+
Create your custom health check by extending the `HealthCheck` class.
0 commit comments