Skip to content

Commit

Permalink
fix docs for veneur-prometheus (#730)
Browse files Browse the repository at this point in the history
  • Loading branch information
choo-stripe authored Jun 20, 2019
1 parent e437947 commit 3c3bc47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/veneur-prometheus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Usage of ./veneur-prometheus:
-key string
The path to a private key to use for mTLS. Only used if using mTLS.
-p string
A prefix to append to any metrics emitted. Do not include a trailing period.
A prefix to append to any metrics emitted. Include a trailing period. (e.g. "myservice.")
-s string
The host and port — like '127.0.0.1:8126' — to send our metrics to. (default "127.0.0.1:8126")
```
2 changes: 1 addition & 1 deletion cmd/veneur-prometheus/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ var (
interval = flag.String("i", "10s", "The interval at which to query. Value must be parseable by time.ParseDuration (https://golang.org/pkg/time/#ParseDuration).")
ignoredLabelsStr = flag.String("ignored-labels", "", "A comma-seperated list of label name regexes to not export")
ignoredMetricsStr = flag.String("ignored-metrics", "", "A comma-seperated list of metric name regexes to not export")
prefix = flag.String("p", "", "A prefix to append to any metrics emitted. Do not include a trailing period.")
prefix = flag.String("p", "", "A prefix to append to any metrics emitted. Include a trailing period. (e.g. \"myservice.\")")
statsHost = flag.String("s", "127.0.0.1:8126", "The host and port — like '127.0.0.1:8126' — to send our metrics to.")

// mTLS params for collecting metrics
Expand Down

0 comments on commit 3c3bc47

Please sign in to comment.