Skip to main content

PluginSetupContext

PluginSetupContext is the interface made available to the plugin loader when initializing the plugin.

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 where the plugin can publish its statistics.