Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit e5ee174

Browse files
committed
fix stats prefix for mt-gateway
1 parent 7969cef commit e5ee174

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/mt-gateway/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ var (
2929

3030
// stats
3131
statsEnabled = flag.Bool("stats-enabled", false, "enable sending graphite messages for instrumentation")
32-
statsPrefix = flag.String("stats-prefix", "tsdb-gw.stats.default.$hostname", "stats prefix (will add trailing dot automatically if needed)")
32+
statsPrefix = flag.String("stats-prefix", "mt-gateway.stats.default.$hostname", "stats prefix (will add trailing dot automatically if needed)")
3333
statsAddr = flag.String("stats-addr", "localhost:2003", "graphite address")
3434
statsInterval = flag.Int("stats-interval", 10, "interval in seconds to send statistics")
3535
statsBufferSize = flag.Int("stats-buffer-size", 20000, "how many messages (holding all measurements from one interval) to buffer up in case graphite endpoint is unavailable.")

0 commit comments

Comments
 (0)