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
| Type | Description |
|---|---|
promutils.Scope | A metrics scope object where the plugin can publish its statistics. |