Metrics Collection

Ostrzeżenie

Ta dokumentacja została napisana dla SpongeAPI 7 i możliwe, że jest już przestarzała. Jeśli masz ochotę wspomóc w jej aktualizacji, prosimy, utwórz PR!

Collection of metrics from servers that use your plugin can be an incredibly useful tool for knowing what direction to take your plugin in. However, the Umieszcznie pluginu na Ore (under External Connections) state that plugins may only collect metrics if informed consent has been granted. Such consent must be opt-in, metrics collection must be off by default.

To simplify gathering consent, Sponge provides an API that allow plugins to check for this consent in a central way.

Metrics collection consent is on a per-plugin basis. Plugins must not assume that consent for one plugin means consent for all.