Skip to content

Commit

Permalink
Merge pull request #564 from nats-io/surveyor-accounts
Browse files Browse the repository at this point in the history
surveyor: add accounts to monitor metrics
  • Loading branch information
wallyqs authored Sep 2, 2022
2 parents 05584d5 + 2e4d387 commit 7e37602
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion helm/charts/surveyor/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ apiVersion: v2
name: surveyor
description: NATS Monitoring, Simplified.
type: application
version: 0.14.0
version: 0.14.1
appVersion: 0.4.0
4 changes: 4 additions & 0 deletions helm/charts/surveyor/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ spec:
- -s={{ . }}
{{- end }}

{{- with .accounts }}
- --accounts
{{- end }}

{{- with .timeout }}
- --timeout={{ . }}
{{- end }}
Expand Down
3 changes: 3 additions & 0 deletions helm/charts/surveyor/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ config:
# Expected number of servers
expectedServers: 1

# Enable monitoring account metrics.
accounts: false

# Required if NATS auth is enabled
# credentials:
# secret:
Expand Down

0 comments on commit 7e37602

Please sign in to comment.