Skip to content

Commit ec94520

Browse files
author
Artem Blaginin
committed
add doc for WithAttributesNamespace
1 parent 222a3b8 commit ec94520

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/metrics/prometheus.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ func WithNamespace(namespace string) PrometheusOption {
3737
}
3838
}
3939

40+
// WithAttributesNamespace sets the prometheus namespace for GaugeVec attributes
4041
func WithAttributesNamespace(namespace string) PrometheusOption {
4142
return func(m *Prometheus) {
4243
m.attributesNamespace = namespace

0 commit comments

Comments
 (0)