Skip to content

Commit b4c9101

Browse files
atheurerportante
authored andcommitted
Trafficgen also needs change from hostname to host for CDM
1 parent 74d05f2 commit b4c9101

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

agent/bench-scripts/postprocess/trafficgen-postprocess-cdm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ for my $client_hostname (@client_hostname_dirs) {
143143
$$trial_metric{'type'},
144144
$client_hostname,
145145
"trafficgen",
146-
"%source%_%hostname%_%type%" . $$trial_metric{'name_format'},
146+
"%source%_%host%_%type%" . $$trial_metric{'name_format'},
147147
$trial{$$trial_metric{'key'}},
148148
$trial{'stats'}{'trial_stop'});
149149
$metric_sample{'metric'}{'begin'} = $trial{'stats'}{'trial_start'};
@@ -158,7 +158,7 @@ for my $client_hostname (@client_hostname_dirs) {
158158
$$trial_stats_metric{'type'},
159159
$client_hostname,
160160
"trafficgen",
161-
"%source%_%hostname%_%type%" . $$trial_stats_metric{'name_format'},
161+
"%source%_%host%_%type%" . $$trial_stats_metric{'name_format'},
162162
$trial{'stats'}{$$trial_stats_metric{'key'}}{$$trial_stats_metric{'field'}},
163163
$trial{'stats'}{'trial_stop'});
164164
$metric_sample{'metric'}{'begin'} = $trial{'stats'}{'trial_start'};
@@ -173,7 +173,7 @@ for my $client_hostname (@client_hostname_dirs) {
173173
$$trial_stats_device_metric{'type'},
174174
$client_hostname,
175175
"trafficgen",
176-
"%source%_%hostname%_%type%" . $$trial_stats_device_metric{'name_format'},
176+
"%source%_%host%_%type%" . $$trial_stats_device_metric{'name_format'},
177177
$trial{'stats'}{$$dev_pair{$$trial_stats_device_metric{'key'}}}{$$trial_stats_device_metric{'field'}},
178178
$trial{'stats'}{'trial_stop'});
179179
$metric_sample{'metric'}{'begin'} = $trial{'stats'}{'trial_start'};

0 commit comments

Comments
 (0)