Skip to content

Commit 043b5c4

Browse files
committed
metrics/exporter: define default port as 9922
Follow NFS-Ganesha and use the default Prometheus port-allocations for Samba-exporter (9922) as defined by: https://github.com/prometheus/prometheus/wiki/Default-port-allocations Signed-off-by: Shachar Sharon <[email protected]>
1 parent e60bcb6 commit 043b5c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/metrics/exporter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414

1515
var (
1616
// DefaultMetricsPort is the default port used to export prometheus metrics
17-
DefaultMetricsPort = int(8080)
17+
DefaultMetricsPort = int(9922)
1818
// DefaultMetricsPath is the default HTTP path to export prometheus metrics
1919
DefaultMetricsPath = "/metrics"
2020
)

0 commit comments

Comments
 (0)