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). > > 3. Missing metrics > > When I look at stats server output I see quite some metrics there > > which are not present in carbon plugin and I find them useful eg. > > > > respawn_count > > exceptions > > > > Probably other people might find some other metrics important for > > them. > > > > Wait for metrics subsystem, it's gonna be real easy to add anything ( > https://github.com/unbit/uwsgi/issues/24) From what I see this is about metrics generated by hosted app, right ? In such a case eg. exceptions won't be available there in case your app segfaulted. Cheers, Marcin _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
