summaryrefslogtreecommitdiff
path: root/src/feature/relay
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2022-11-08 12:47:17 -0500
committerDavid Goulet <dgoulet@torproject.org>2022-11-08 12:47:17 -0500
commit56ee2131f19c462e2e4be294b61128a10b8ce374 (patch)
tree8c2d024fd62c862dd18fc72ce2d5630501f50aa8 /src/feature/relay
parent2adc73afdb0d7beeeb086e276c409d7cc5904a91 (diff)
parent00633bc619046e09536d742e5f862d75c35e476f (diff)
downloadtor-56ee2131f19c462e2e4be294b61128a10b8ce374.tar.gz
tor-56ee2131f19c462e2e4be294b61128a10b8ce374.zip
Merge branch 'maint-0.4.7'
Diffstat (limited to 'src/feature/relay')
-rw-r--r--src/feature/relay/relay_metrics.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/feature/relay/relay_metrics.c b/src/feature/relay/relay_metrics.c
index 076ac68618..cd80c5e95e 100644
--- a/src/feature/relay/relay_metrics.c
+++ b/src/feature/relay/relay_metrics.c
@@ -395,6 +395,15 @@ fill_cc_values(void)
sentry = metrics_store_add(the_store, rentry->type, rentry->name,
rentry->help);
metrics_store_entry_add_label(sentry,
+ metrics_format_label("state", "slow_start_exit"));
+ metrics_store_entry_add_label(sentry,
+ metrics_format_label("action", "gamma_drop"));
+ metrics_store_entry_update(sentry,
+ tor_llround(cc_stats_vegas_gamma_drop_ma));
+
+ sentry = metrics_store_add(the_store, rentry->type, rentry->name,
+ rentry->help);
+ metrics_store_entry_add_label(sentry,
metrics_format_label("state", "on_circ_close"));
metrics_store_entry_add_label(sentry,
metrics_format_label("action", "cwnd"));
@@ -461,6 +470,15 @@ fill_cc_values(void)
metrics_store_entry_add_label(sentry,
metrics_format_label("action", "above_ss_cwnd_max"));
metrics_store_entry_update(sentry, cc_stats_vegas_above_ss_cwnd_max);
+
+ sentry = metrics_store_add(the_store, rentry->type, rentry->name,
+ rentry->help);
+ metrics_store_entry_add_label(sentry,
+ metrics_format_label("state", "process_sendme"));
+ metrics_store_entry_add_label(sentry,
+ metrics_format_label("action", "delta_drop"));
+ metrics_store_entry_update(sentry,
+ tor_llround(cc_stats_vegas_delta_drop_ma));
}
/** Helper: Fill in single stream metrics output. */