Skip to content

Commit

Permalink
Change circonus_broker_search_tag to circonus_broker_select_tag to ma…
Browse files Browse the repository at this point in the history
…tch option in consul
  • Loading branch information
maier committed Jul 22, 2016
1 parent d92dd0d commit 28e5e63
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion command/agent/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ type Telemetry struct {
// should be used based on *where* this particular instance is running.
// (e.g. a specific geo location or datacenter, dc:sfo)
// Default: none
CirconusBrokerSelectTag string `mapstructure:"circonus_broker_search_tag"`
CirconusBrokerSelectTag string `mapstructure:"circonus_broker_select_tag"`
}

// Ports is used to encapsulate the various ports we bind to for network
Expand Down
2 changes: 1 addition & 1 deletion command/agent/config_parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ func parseTelemetry(result **Telemetry, list *ast.ObjectList) error {
"circonus_check_instance_id",
"circonus_check_search_tag",
"circonus_broker_id",
"circonus_broker_search_tag",
"circonus_broker_select_tag",
}
if err := checkHCLKeys(listVal, valid); err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion website/source/docs/agent/config.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ nodes, unless otherwise specified:
A special tag which, when coupled with the instance id, helps to narrow down the search results when neither a Submission URL or Check ID is provided. By default, this is set to service:app (e.g. "service:consul").
* `circonus_broker_id`
The ID of a specific Circonus Broker to use when creating a new check. The numeric portion of `broker._cid` field in a Broker API object. If metric management is enabled and neither a Submission URL nor Check ID is provided, an attempt will be made to search for an existing check using Instance ID and Search Tag. If one is not found, a new HTTPTRAP check will be created. By default, this is not used and a random Enterprise Broker is selected, or, the default Circonus Public Broker.
* `circonus_broker_search_tag`
* `circonus_broker_select_tag`
A special tag which will be used to select a Circonus Broker when a Broker ID is not provided. The best use of this is to as a hint for which broker should be used based on *where* this particular instance is running (e.g. a specific geo location or datacenter, dc:sfo). By default, this is not used.
* `leave_on_interrupt`: Enables gracefully leaving when receiving the
Expand Down

0 comments on commit 28e5e63

Please sign in to comment.