We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d59be6b commit 85b20adCopy full SHA for 85b20ad
sdk.go
@@ -165,7 +165,7 @@ func WithMetricsServer(address string) ServeOption {
165
}
166
167
// WithMetricsRegistry configures a custom Prometheus registry for metrics.
168
-// If a custom registry is provided, metrics collection is automatically enabled.
+// Note: Metrics collection is enabled only when MetricsAddress is non-empty.
169
func WithMetricsRegistry(registry *prometheus.Registry) ServeOption {
170
return func(o *ServeOptions) error {
171
o.MetricsRegistry = registry
0 commit comments