2013/1/17 Marcin Deranek <[email protected]>

> Hi Łukasz,
> 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).


Sorry, I didn't noticed those links at the bottom.
I see that dots are replaced with underscores only if You do not specify
--carbon-id, so You can manually set this to whatever You like.
I could make a patch that adds ability to specify a char that will be used
as a replacement for all dots in automatically guessed hostname.


> > 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.
>

I think that metrics will be generic subsystem, all currently generated
data will be still generated by master process (as it is right now), so
exceptions will be graphed properly as they are today (if there is a metric
for it, but I don't recall).
User will be able to push metrics from using uWSGI API, so if those metrics
are calculated by some math inside user app, than if that app segfault data
is lost (but app can store those data in cache/redis/whatever, so there is
easy solution for that).
But this is something Roberto needs to answer, maybe add comment on github?

-- 
Łukasz Mierzwa
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to