Hi Łukasz, On Thu, 17 Jan 2013 09:40:52 +0100 Marcin Deranek <[email protected]> wrote:
> Hi Łukasz, > > On Tue, 15 Jan 2013 18:50:14 +0100 > Łukasz Mierzwa <[email protected]> wrote: > > > 2013/1/15 Marcin Deranek <[email protected]> > > > > > 1. Hostnames with dots > > > In our environment (CentOS/RedHat) hostnames are FQDN as > > > recommended by RedHat/CentOS(*) This does not play nicely with > > > carbon metric names as dot is a namespace separator. > > > > > > > dots as separator are carbon/graphite feature, but if uWSGI uses > > fqdn as default name it should replace all dots with underscores. > > But I doubt that it does, I bealive that it uses hostname not fqdn - > > those are two different things, and AFAIK hostname should not > > contain domain, fqdn is for whole thing. > > Verify: > > `hostname` - should return host name without domain (for example > > node1) `hostname -f` - should return whole fqdn (for example > > node1.domain.com) > > I think you haven't read docs I sent links to. On RedHat like systems > hostname = fqdn, so you need to use "hostname -s" to get what other > systems return with just "hostname". BTW: We like fqdn in graphite > metrics. > As far as I can see we do replace dots with underscore for carbon-id > (Why ? This is user configurable option, so he should be able to put > the right thing there. Automatically substituting strings limits his > ability to eg. specify subtree in case he want to do so). As far as I can see we still keep things as they were in respect to hostname - the rest was nicely addressed: thank you. Are there any plans to replace dots with underscore in hostname ? Marcin _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
