Add option to set nodename instead of hostname on telemetry values

This commit is contained in:
Jorge Marey
2016-12-13 22:10:39 +01:00
parent fccf115c56
commit a39cebb744
5 changed files with 11 additions and 0 deletions

View File

@@ -45,6 +45,10 @@ The following options are available on all telemetry configurations.
- `disable_hostname` `(bool: false)` - Specifies if gauge values should be
prefixed with the local hostname.
- `use_node_name` `(bool: false)` - Specifies if gauge values should be
prefixed with the name of the node, instead of the hostname. If set it will
override [disable_hostname](#disable_hostname) value.
- `publish_allocation_metrics` `(bool: false)` - Specifies if Nomad should
publish runtime metrics of allocations.