Skip to content

Commit cd54ca2

Browse files
synareteobnoxxx
authored andcommitted
README: use proper port number
The current default smbmetrics port number is 9922. Reflect this in top-level README file. Signed-off-by: Shachar Sharon <[email protected]>
1 parent 8848207 commit cd54ca2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ $ make image-build
1616
## Query metrics
1717

1818
When running (by privileged user) along-side active SMB server, `smbmetrics`
19-
exports a set of gauge metrics over HTTP via port `8080`. Most metrics become
19+
exports a set of gauge metrics over HTTP via port `9922`. Most metrics become
2020
visible only when active SMB connections exists. Execute the folowing `curl`
2121
command on the same machine where you run `smbmetrics` instance:
2222

2323
```console
24-
$ curl --request GET "http://localhost:8080/metrics"
24+
$ curl --request GET "http://localhost:9922/metrics"
2525
```
2626

2727
## Exported metrics
@@ -45,7 +45,7 @@ The following example is from a setup with 2 shares and 2 users connected and
4545
performing SMB file-system operations from 4 different machines:
4646

4747
```console
48-
$ curl --request GET "http://localhost:8080/metrics"
48+
$ curl --request GET "http://localhost:9922/metrics"
4949

5050
# HELP smb_metrics_status Current metrics-collector status versions
5151
# TYPE smb_metrics_status gauge

0 commit comments

Comments
 (0)