Skip to content

Commit 85b20ad

Browse files
committed
change comment
Signed-off-by: Siddharth <sagarwal16@atlassian.com>
1 parent d59be6b commit 85b20ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ func WithMetricsServer(address string) ServeOption {
165165
}
166166

167167
// WithMetricsRegistry configures a custom Prometheus registry for metrics.
168-
// If a custom registry is provided, metrics collection is automatically enabled.
168+
// Note: Metrics collection is enabled only when MetricsAddress is non-empty.
169169
func WithMetricsRegistry(registry *prometheus.Registry) ServeOption {
170170
return func(o *ServeOptions) error {
171171
o.MetricsRegistry = registry

0 commit comments

Comments
 (0)