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
| Type | Description |
|---|---|
promutils.Scope | A metrics scope object for publishing statistics. |