mirror of https://github.com/status-im/consul.git
Merge pull request #2304 from hashicorp/b-circonus-token
Redacts the Circonus API token from stats JSON.
This commit is contained in:
commit
07943339dc
|
@ -152,7 +152,7 @@ type Telemetry struct {
|
||||||
// CirconusAPIToken is a valid API Token used to create/manage check. If provided,
|
// CirconusAPIToken is a valid API Token used to create/manage check. If provided,
|
||||||
// metric management is enabled.
|
// metric management is enabled.
|
||||||
// Default: none
|
// Default: none
|
||||||
CirconusAPIToken string `mapstructure:"circonus_api_token"`
|
CirconusAPIToken string `mapstructure:"circonus_api_token" json:"-"`
|
||||||
// CirconusAPIApp is an app name associated with API token.
|
// CirconusAPIApp is an app name associated with API token.
|
||||||
// Default: "consul"
|
// Default: "consul"
|
||||||
CirconusAPIApp string `mapstructure:"circonus_api_app"`
|
CirconusAPIApp string `mapstructure:"circonus_api_app"`
|
||||||
|
|
Loading…
Reference in New Issue