Skip to main content

PluginSetupContext

This interface is made available to the plugin loader during plugin initialization. It provides access to a metrics scope for publishing statistics.

Methods


MetricsScope()

@classmethod
def MetricsScope() - > promutils.Scope

Provides a metrics scope to publish statistics under. Callers use this to report metrics related to plugin operations.

Returns

TypeDescription
promutils.ScopeA metrics scope object for publishing statistics.