From 115470837e90467fb5866d43bcae3f6856d4d6dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Mon, 11 Feb 2013 20:51:58 +0100 Subject: [PATCH] fixed carbon requests metric --- plugins/carbon/carbon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/carbon/carbon.c b/plugins/carbon/carbon.c index b557388079..ee126ec632 100644 --- a/plugins/carbon/carbon.c +++ b/plugins/carbon/carbon.c @@ -175,7 +175,7 @@ void carbon_push_stats(int retry_cycle) { unsigned long long worker_busyness = 0; unsigned long long total_harakiri = 0; - wok = carbon_write(&fd, "%s.%s.requests %llu %llu\n", u_carbon.root_node, uwsgi.hostname, u_carbon.id, (unsigned long long) uwsgi.workers[0].requests, (unsigned long long) uwsgi.current_time); + wok = carbon_write(&fd, "%s%s.%s.requests %llu %llu\n", u_carbon.root_node, uwsgi.hostname, u_carbon.id, (unsigned long long) uwsgi.workers[0].requests, (unsigned long long) uwsgi.current_time); if (!wok) goto clear; for(i=1;i<=uwsgi.numproc;i++) {