Metrics

constructor(plugin: Plugin, serviceId: Int)

Creates a new Metrics instance.

Parameters

plugin

Your plugin instance.

serviceId

The id of the service. It can be found at What is my plugin id?