Skip to content

Commit 375851d

Browse files
committed
1 parent 606c43d commit 375851d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Supports all Steam game servers which speak the UDP-based A2S query protocol, fo
1717
The image is hosted on Docker Hub. ([Link](https://hub.docker.com/r/armsnyder/a2s-exporter))
1818

1919
```
20-
docker run --rm -p 9856:9856 armsnyder/a2s-exporter --address myserver.example.com:12345
20+
docker run --rm -p 9841:9841 armsnyder/a2s-exporter --address myserver.example.com:12345
2121
```
2222

2323
### Arguments
@@ -34,7 +34,7 @@ Flag | Variable | Help
3434

3535
Flag | Variable | Default | Help
3636
--- | --- | --- | ---
37-
--port | A2S_EXPORTER_PORT | 9856 | Port for the metrics exporter.
37+
--port | A2S_EXPORTER_PORT | 9841 | Port for the metrics exporter.
3838
--path | A2S_EXPORTER_PATH | /metrics | Path for the metrics exporter.
3939
--namespace | A2S_EXPORTER_NAMESPACE | a2s | Namespace prefix for all exported a2s metrics.
4040
--a2s-only-metrics | A2S_EXPORTER_A2S_ONLY_METRICS | false | If true, excludes Go runtime and promhttp metrics.

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ var buildVersion = "development"
2020
func main() {
2121
// Flags.
2222
address := flag.String("address", envOrDefault("A2S_EXPORTER_QUERY_ADDRESS", ""), "Address of the A2S query server as host:port (This is a separate port from the main server port).")
23-
port := flag.Int("port", envOrDefaultInt("A2S_EXPORTER_PORT", 9856), "Port for the metrics exporter.")
23+
port := flag.Int("port", envOrDefaultInt("A2S_EXPORTER_PORT", 9841), "Port for the metrics exporter.")
2424
path := flag.String("path", envOrDefault("A2S_EXPORTER_PATH", "/metrics"), "Path for the metrics exporter.")
2525
namespace := flag.String("namespace", envOrDefault("A2S_EXPORTER_NAMESPACE", "a2s"), "Namespace prefix for all exported a2s metrics.")
2626
a2sOnlyMetrics := flag.Bool("a2s-only-metrics", envOrDefaultBool("A2S_EXPORTER_A2S_ONLY_METRICS", false), "If true, skips exporting Go runtime metrics.")

0 commit comments

Comments
 (0)