ceph / chacra

A binary/file REST API to aid in multi-distro|arch|release management
9 stars 18 forks source link

adds the hostname and short_hostname config options #204

Closed andrewschoen closed 8 years ago

andrewschoen commented 8 years ago

We want thehostname config option so we can always be sure we are registering to shaman with the same hostname. There was an issue that required us to temporarily change the hostname on a chacra node and it incorrectly registered itself with shaman before that hostname was corrected.

We want the short_hostname config option so we can send a nice label to graphite for metrics reporting. Before this change the node 2.chacra.ceph.com was using the label 2 when sending metrics to graphite, which is not very helpful in identifying where the metric originated.