summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@netdata.cloud>2022-12-02 11:03:57 +0200
committerGitHub <noreply@github.com>2022-12-02 11:03:57 +0200
commitb53dccd58881f2c6f060e50c5414564d3cde8d9c (patch)
tree4c3694e558b00a605d9e212a2ecd8b5e8dd37546 /daemon
parent99857f8fb2322b2aa26077f7b5a4254ae047d045 (diff)
replication fixes 9 (#14079)
* replication fixes 9 * no room metric is now absolute * decrement senders full and flip the actions on sender full and sender available * finer timings * execute all requests, unconditionally, once they are in the replication queue; worker charts are now sorted * remove left-over debug message * log verification of replication completion only when there are no pending requests any more * use up to 50% of the sender buffer for replication responses
Diffstat (limited to 'daemon')
-rw-r--r--daemon/global_statistics.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/daemon/global_statistics.c b/daemon/global_statistics.c
index 085eaef22b..42a23bd245 100644
--- a/daemon/global_statistics.c
+++ b/daemon/global_statistics.c
@@ -2322,7 +2322,7 @@ static void workers_utilization_update_chart(struct worker_utilization *wu) {
snprintf(context, RRD_ID_LENGTH_MAX, "netdata.workers.%s.value.%s", wu->name_lowercase, job_name_sanitized);
char title[1000 + 1];
- snprintf(title, 1000, "Netdata Workers %s Value of %s", wu->name_lowercase, string2str(wu->per_job_type[i].name));
+ snprintf(title, 1000, "Netdata Workers %s value of %s", wu->name_lowercase, string2str(wu->per_job_type[i].name));
wu->per_job_type[i].st = rrdset_create_localhost(
"netdata"
@@ -2334,7 +2334,7 @@ static void workers_utilization_update_chart(struct worker_utilization *wu) {
, (wu->per_job_type[i].units)?string2str(wu->per_job_type[i].units):"value"
, "netdata"
, "stats"
- , wu->priority + 5
+ , wu->priority + 5 + i
, localhost->rrd_update_every
, RRDSET_TYPE_LINE
);
@@ -2378,7 +2378,7 @@ static void workers_utilization_update_chart(struct worker_utilization *wu) {
snprintf(context, RRD_ID_LENGTH_MAX, "netdata.workers.%s.rate.%s", wu->name_lowercase, job_name_sanitized);
char title[1000 + 1];
- snprintf(title, 1000, "Netdata Workers %s Rate of %s", wu->name_lowercase, string2str(wu->per_job_type[i].name));
+ snprintf(title, 1000, "Netdata Workers %s rate of %s", wu->name_lowercase, string2str(wu->per_job_type[i].name));
wu->per_job_type[i].st = rrdset_create_localhost(
"netdata"
@@ -2390,7 +2390,7 @@ static void workers_utilization_update_chart(struct worker_utilization *wu) {
, (wu->per_job_type[i].units)?string2str(wu->per_job_type[i].units):"rate"
, "netdata"
, "stats"
- , wu->priority + 5
+ , wu->priority + 5 + i
, localhost->rrd_update_every
, RRDSET_TYPE_LINE
);