Optional ReadonlycustomDeclarative metric definitions to pre-register.
Optional ReadonlydefaultDefault histogram bucket boundaries.
Optional ReadonlydefaultEnable built-in HTTP metrics.
Optional ReadonlydefaultDefault summary quantiles.
Optional ReadonlyendpointThe scrape endpoint path.
Optional ReadonlyexcludeRequest paths the HTTP metrics middleware skips entirely — no counter, histogram, or gauge is touched for them.
When supplied this list REPLACES the default ['/health', '/live', '/ready'] set rather than extending it; the plugin's own
endpoint is always excluded regardless, so /metrics can
never count its own scrapes.
Optional ReadonlyhttpEnable the metrics middleware for HTTP request tracking.
Plugin options for MetricsPlugin.