Skip to content

chore(topology): split build_pieces into smaller functions#17037

Merged
StephenWakely merged 5 commits intomasterfrom
stephen/build_pieces_refactor
Apr 5, 2023
Merged

chore(topology): split build_pieces into smaller functions#17037
StephenWakely merged 5 commits intomasterfrom
stephen/build_pieces_refactor

Conversation

@StephenWakely
Copy link
Contributor

A tiny refactor, this function was getting a bit too long.

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>
Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>
@StephenWakely StephenWakely requested a review from a team April 3, 2023 14:26
@netlify
Copy link

netlify bot commented Apr 3, 2023

Deploy Preview for vector-project canceled.

Name Link
🔨 Latest commit 735cfd6
🔍 Latest deploy log https://app.netlify.com/sites/vector-project/deploys/642d608ea8282e0008b235e0

@github-actions github-actions bot added the domain: topology Anything related to Vector's topology code label Apr 3, 2023
Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>
@StephenWakely StephenWakely requested a review from fuchsnj April 3, 2023 14:30
@datadog-vectordotdev
Copy link

datadog-vectordotdev bot commented Apr 3, 2023

Datadog Report

Branch report: stephen/build_pieces_refactor
Commit report: 343b73d

vector: 0 Failed, 0 New Flaky, 1854 Passed, 0 Skipped, 5m 23.44s Wall Time

@github-actions
Copy link

github-actions bot commented Apr 3, 2023

Regression Detector Results

Run ID: c8301ea3-7d49-4e9a-a6f2-a99b97d6e839
Baseline: e19f4fc
Comparison: bc0c9ac
Total vector CPUs: 7

Explanation

A regression test is an integrated performance test for vector in a repeatable rig, with varying configuration for vector. What follows is a statistical summary of a brief vector run for each configuration across SHAs given above. The goal of these tests are to determine quickly if vector performance is changed and to what degree by a pull request.

The table below, if present, lists those experiments that have experienced a statistically significant change in mean optimization goal performance between baseline and comparison SHAs with 90.00% confidence OR have been detected as newly erratic. Negative values mean that baseline is faster, positive comparison. Results that do not exhibit more than a ±5.00% change in their mean optimization goal are discarded. An experiment is erratic if its coefficient of variation is greater than 0.1. The abbreviated table will be omitted if no interesting change is observed.

No interesting changes in experiment optimization goals with confidence ≥ 90.00% and |Δ mean %| ≥ 5.00%.

Fine details of change detection per experiment.
experiment goal Δ mean Δ mean % confidence baseline mean baseline stdev baseline stderr baseline outlier % baseline CoV comparison mean comparison stdev comparison stderr comparison outlier % comparison CoV erratic declared erratic
syslog_log2metric_splunk_hec_metrics ingress throughput 227.85KiB/CPU-s 2.46 100.00% 9.04MiB/CPU-s 298.21KiB/CPU-s 3.67KiB/CPU-s 0.0 0.03221 9.26MiB/CPU-s 264.21KiB/CPU-s 3.25KiB/CPU-s 0.0 0.027852 False False
syslog_splunk_hec_logs ingress throughput 106.35KiB/CPU-s 1.16 100.00% 8.93MiB/CPU-s 269.86KiB/CPU-s 3.32KiB/CPU-s 0.0 0.029493 9.04MiB/CPU-s 209.17KiB/CPU-s 2.57KiB/CPU-s 0.0 0.022597 False False
syslog_humio_logs ingress throughput 93.92KiB/CPU-s 1.04 100.00% 8.78MiB/CPU-s 325.37KiB/CPU-s 4.0KiB/CPU-s 0.0 0.036184 8.87MiB/CPU-s 358.87KiB/CPU-s 4.41KiB/CPU-s 0.0 0.039496 False False
syslog_loki ingress throughput 86.48KiB/CPU-s 1.00 100.00% 8.46MiB/CPU-s 255.21KiB/CPU-s 3.14KiB/CPU-s 0.0 0.029458 8.54MiB/CPU-s 220.38KiB/CPU-s 2.71KiB/CPU-s 0.0 0.025186 False False
http_text_to_http_json ingress throughput 186.71KiB/CPU-s 0.75 100.00% 24.27MiB/CPU-s 601.51KiB/CPU-s 7.4KiB/CPU-s 0.0 0.024201 24.45MiB/CPU-s 629.23KiB/CPU-s 7.74KiB/CPU-s 0.0 0.025127 False False
otlp_grpc_to_blackhole ingress throughput 7.27KiB/CPU-s 0.69 100.00% 1.04MiB/CPU-s 54.54KiB/CPU-s 687.12B/CPU-s 0.0 0.051405 1.04MiB/CPU-s 41.81KiB/CPU-s 526.85B/CPU-s 0.0 0.039134 False False
datadog_agent_remap_datadog_logs_acks ingress throughput 109.43KiB/CPU-s 0.33 100.00% 32.65MiB/CPU-s 1.18MiB/CPU-s 14.89KiB/CPU-s 0.0 0.036185 32.76MiB/CPU-s 1.01MiB/CPU-s 12.69KiB/CPU-s 0.0 0.030756 False False
enterprise_http_to_http ingress throughput 9.51KiB/CPU-s 0.07 97.91% 13.62MiB/CPU-s 297.77KiB/CPU-s 3.66KiB/CPU-s 0.0 0.021356 13.62MiB/CPU-s 152.55KiB/CPU-s 1.88KiB/CPU-s 0.0 0.010934 False False
splunk_hec_indexer_ack_blackhole ingress throughput 4.57KiB/CPU-s 0.03 70.01% 13.61MiB/CPU-s 264.4KiB/CPU-s 3.25KiB/CPU-s 0.0 0.018964 13.62MiB/CPU-s 242.52KiB/CPU-s 2.98KiB/CPU-s 0.0 0.01739 False False
fluent_elasticsearch ingress throughput 177.71B/CPU-s 0.00 26.34% 45.41MiB/CPU-s 29.87KiB/CPU-s 372.41B/CPU-s 0.0 0.000642 45.41MiB/CPU-s 30.05KiB/CPU-s 374.63B/CPU-s 0.0 0.000646 False False
splunk_hec_to_splunk_hec_logs_acks ingress throughput -222.41B/CPU-s -0.00 2.80% 13.61MiB/CPU-s 355.38KiB/CPU-s 4.37KiB/CPU-s 0.0 0.02549 13.61MiB/CPU-s 355.62KiB/CPU-s 4.37KiB/CPU-s 0.0 0.025508 False False
splunk_hec_to_splunk_hec_logs_noack ingress throughput -1.19KiB/CPU-s -0.01 20.68% 13.62MiB/CPU-s 258.39KiB/CPU-s 3.18KiB/CPU-s 0.0 0.018531 13.62MiB/CPU-s 265.31KiB/CPU-s 3.26KiB/CPU-s 0.0 0.019028 False False
http_to_http_noack ingress throughput -1.78KiB/CPU-s -0.01 21.92% 13.61MiB/CPU-s 358.41KiB/CPU-s 4.41KiB/CPU-s 0.0 0.025716 13.61MiB/CPU-s 376.79KiB/CPU-s 4.63KiB/CPU-s 0.0 0.027039 False False
http_to_http_json ingress throughput -18.63KiB/CPU-s -0.13 100.00% 13.61MiB/CPU-s 253.65KiB/CPU-s 3.12KiB/CPU-s 0.0 0.018199 13.59MiB/CPU-s 269.59KiB/CPU-s 3.32KiB/CPU-s 0.0 0.019368 False False
splunk_hec_route_s3 ingress throughput -78.55KiB/CPU-s -0.65 100.00% 11.81MiB/CPU-s 584.42KiB/CPU-s 7.19KiB/CPU-s 0.0 0.048322 11.73MiB/CPU-s 598.89KiB/CPU-s 7.37KiB/CPU-s 0.0 0.049842 False False
datadog_agent_remap_blackhole ingress throughput -218.92KiB/CPU-s -0.70 100.00% 30.57MiB/CPU-s 1.33MiB/CPU-s 16.77KiB/CPU-s 0.0 0.043553 30.35MiB/CPU-s 961.05KiB/CPU-s 11.83KiB/CPU-s 0.0 0.030918 False False
datadog_agent_remap_blackhole_acks ingress throughput -236.01KiB/CPU-s -0.74 100.00% 30.98MiB/CPU-s 1.09MiB/CPU-s 13.74KiB/CPU-s 0.0 0.035197 30.75MiB/CPU-s 1.17MiB/CPU-s 14.78KiB/CPU-s 0.0 0.038136 False False
socket_to_socket_blackhole ingress throughput -124.05KiB/CPU-s -0.92 100.00% 13.23MiB/CPU-s 319.98KiB/CPU-s 3.94KiB/CPU-s 0.0 0.02362 13.11MiB/CPU-s 541.33KiB/CPU-s 6.66KiB/CPU-s 0.0 0.04033 False False
datadog_agent_remap_datadog_logs ingress throughput -407.09KiB/CPU-s -1.21 100.00% 32.88MiB/CPU-s 957.3KiB/CPU-s 11.78KiB/CPU-s 0.0 0.028434 32.48MiB/CPU-s 1.21MiB/CPU-s 15.29KiB/CPU-s 0.0 0.037369 False False
syslog_log2metric_humio_metrics ingress throughput -80.29KiB/CPU-s -1.23 100.00% 6.36MiB/CPU-s 226.41KiB/CPU-s 2.79KiB/CPU-s 0.0 0.03475 6.28MiB/CPU-s 203.63KiB/CPU-s 2.51KiB/CPU-s 0.0 0.031643 False False
http_to_http_acks ingress throughput -68.79KiB/CPU-s -1.28 84.09% 5.25MiB/CPU-s 2.75MiB/CPU-s 34.65KiB/CPU-s 0.0 0.524155 5.18MiB/CPU-s 2.73MiB/CPU-s 34.43KiB/CPU-s 0.0 0.527395 True False
otlp_http_to_blackhole ingress throughput -23.82KiB/CPU-s -1.50 100.00% 1.55MiB/CPU-s 112.95KiB/CPU-s 1.39KiB/CPU-s 0.0 0.071175 1.53MiB/CPU-s 116.56KiB/CPU-s 1.43KiB/CPU-s 0.0 0.074569 False False
syslog_regex_logs2metric_ddmetrics ingress throughput -70.27KiB/CPU-s -1.91 100.00% 3.59MiB/CPU-s 368.36KiB/CPU-s 4.53KiB/CPU-s 0.0 0.100156 3.52MiB/CPU-s 473.4KiB/CPU-s 5.83KiB/CPU-s 0.0 0.131222 True True
file_to_blackhole egress throughput -298.61KiB/CPU-s -4.58 90.21% 6.37MiB/CPU-s 4.57MiB/CPU-s 130.62KiB/CPU-s 0.0 0.717272 6.08MiB/CPU-s 4.61MiB/CPU-s 124.34KiB/CPU-s 0.0 0.757199 True True

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>
@github-actions
Copy link

github-actions bot commented Apr 3, 2023

Regression Detector Results

Run ID: 65e75109-4dd4-40fb-ba08-6e2364d60792
Baseline: 39c235e
Comparison: 83e6cc0
Total vector CPUs: 7

Explanation

A regression test is an integrated performance test for vector in a repeatable rig, with varying configuration for vector. What follows is a statistical summary of a brief vector run for each configuration across SHAs given above. The goal of these tests are to determine quickly if vector performance is changed and to what degree by a pull request.

The table below, if present, lists those experiments that have experienced a statistically significant change in mean optimization goal performance between baseline and comparison SHAs with 90.00% confidence OR have been detected as newly erratic. Negative values mean that baseline is faster, positive comparison. Results that do not exhibit more than a ±5.00% change in their mean optimization goal are discarded. An experiment is erratic if its coefficient of variation is greater than 0.1. The abbreviated table will be omitted if no interesting change is observed.

No interesting changes in experiment optimization goals with confidence ≥ 90.00% and |Δ mean %| ≥ 5.00%.

Fine details of change detection per experiment.
experiment goal Δ mean Δ mean % confidence baseline mean baseline stdev baseline stderr baseline outlier % baseline CoV comparison mean comparison stdev comparison stderr comparison outlier % comparison CoV erratic declared erratic
syslog_log2metric_humio_metrics ingress throughput 287.77KiB/CPU-s 4.68 100.00% 6.0MiB/CPU-s 307.7KiB/CPU-s 3.79KiB/CPU-s 0.0 0.050085 6.28MiB/CPU-s 238.41KiB/CPU-s 2.93KiB/CPU-s 0.0 0.03707 False False
syslog_regex_logs2metric_ddmetrics ingress throughput 116.89KiB/CPU-s 3.11 100.00% 3.67MiB/CPU-s 439.81KiB/CPU-s 5.41KiB/CPU-s 0.0 0.117058 3.78MiB/CPU-s 455.42KiB/CPU-s 5.6KiB/CPU-s 0.0 0.117555 True True
syslog_splunk_hec_logs ingress throughput 175.32KiB/CPU-s 1.94 100.00% 8.85MiB/CPU-s 276.19KiB/CPU-s 3.4KiB/CPU-s 0.0 0.030482 9.02MiB/CPU-s 228.68KiB/CPU-s 2.81KiB/CPU-s 0.0 0.024759 False False
datadog_agent_remap_blackhole ingress throughput 311.04KiB/CPU-s 0.99 100.00% 30.78MiB/CPU-s 1.27MiB/CPU-s 16.02KiB/CPU-s 0.0 0.041317 31.08MiB/CPU-s 1.02MiB/CPU-s 12.8KiB/CPU-s 0.0 0.032677 False False
file_to_blackhole egress throughput 46.14KiB/CPU-s 0.72 19.52% 6.23MiB/CPU-s 4.65MiB/CPU-s 134.73KiB/CPU-s 0.0 0.745569 6.28MiB/CPU-s 4.52MiB/CPU-s 129.27KiB/CPU-s 0.0 0.71929 True True
http_text_to_http_json ingress throughput 97.53KiB/CPU-s 0.39 100.00% 24.36MiB/CPU-s 579.59KiB/CPU-s 7.13KiB/CPU-s 0.0 0.023234 24.45MiB/CPU-s 614.41KiB/CPU-s 7.56KiB/CPU-s 0.0 0.024533 False False
http_to_http_json ingress throughput 48.41KiB/CPU-s 0.35 100.00% 13.56MiB/CPU-s 318.82KiB/CPU-s 3.92KiB/CPU-s 0.0 0.02296 13.61MiB/CPU-s 251.26KiB/CPU-s 3.09KiB/CPU-s 0.0 0.018031 False False
syslog_humio_logs ingress throughput 31.12KiB/CPU-s 0.33 100.00% 9.11MiB/CPU-s 181.68KiB/CPU-s 2.24KiB/CPU-s 0.0 0.019463 9.15MiB/CPU-s 265.34KiB/CPU-s 3.26KiB/CPU-s 0.0 0.028332 False False
enterprise_http_to_http ingress throughput 5.46KiB/CPU-s 0.04 81.54% 13.62MiB/CPU-s 275.14KiB/CPU-s 3.39KiB/CPU-s 0.0 0.019731 13.62MiB/CPU-s 189.69KiB/CPU-s 2.33KiB/CPU-s 0.0 0.013598 False False
http_to_http_noack ingress throughput 4.02KiB/CPU-s 0.03 48.23% 13.61MiB/CPU-s 377.51KiB/CPU-s 4.64KiB/CPU-s 0.0 0.02709 13.61MiB/CPU-s 335.96KiB/CPU-s 4.13KiB/CPU-s 0.0 0.024102 False False
splunk_hec_indexer_ack_blackhole ingress throughput -448.51B/CPU-s -0.00 7.85% 13.62MiB/CPU-s 254.89KiB/CPU-s 3.14KiB/CPU-s 0.0 0.018279 13.62MiB/CPU-s 256.22KiB/CPU-s 3.15KiB/CPU-s 0.0 0.018376 False False
splunk_hec_to_splunk_hec_logs_acks ingress throughput 161.86B/CPU-s 0.00 2.13% 13.61MiB/CPU-s 336.85KiB/CPU-s 4.14KiB/CPU-s 0.0 0.024161 13.61MiB/CPU-s 344.7KiB/CPU-s 4.24KiB/CPU-s 0.0 0.024724 False False
fluent_elasticsearch ingress throughput -3.91KiB/CPU-s -0.01 83.02% 45.41MiB/CPU-s 30.27KiB/CPU-s 377.31B/CPU-s 0.0 0.000651 45.41MiB/CPU-s 231.9KiB/CPU-s 2.82KiB/CPU-s 0.0 0.004987 False False
splunk_hec_to_splunk_hec_logs_noack ingress throughput -2.17KiB/CPU-s -0.02 35.74% 13.62MiB/CPU-s 262.62KiB/CPU-s 3.23KiB/CPU-s 0.0 0.018834 13.61MiB/CPU-s 275.88KiB/CPU-s 3.39KiB/CPU-s 0.0 0.019788 False False
otlp_grpc_to_blackhole ingress throughput -772.85B/CPU-s -0.07 65.33% 1.04MiB/CPU-s 50.63KiB/CPU-s 637.89B/CPU-s 0.0 0.047518 1.04MiB/CPU-s 41.04KiB/CPU-s 517.18B/CPU-s 0.0 0.038541 False False
http_to_http_acks ingress throughput -9.59KiB/CPU-s -0.18 15.64% 5.23MiB/CPU-s 2.74MiB/CPU-s 34.48KiB/CPU-s 0.0 0.523058 5.22MiB/CPU-s 2.72MiB/CPU-s 34.26KiB/CPU-s 0.0 0.520576 True False
socket_to_socket_blackhole ingress throughput -45.69KiB/CPU-s -0.33 100.00% 13.33MiB/CPU-s 256.34KiB/CPU-s 3.15KiB/CPU-s 0.0 0.018776 13.29MiB/CPU-s 270.54KiB/CPU-s 3.33KiB/CPU-s 0.0 0.019883 False False
datadog_agent_remap_datadog_logs ingress throughput -127.23KiB/CPU-s -0.38 100.00% 33.1MiB/CPU-s 1.21MiB/CPU-s 15.19KiB/CPU-s 0.0 0.03644 32.98MiB/CPU-s 943.76KiB/CPU-s 11.61KiB/CPU-s 0.0 0.027946 False False
syslog_loki ingress throughput -86.96KiB/CPU-s -0.99 100.00% 8.61MiB/CPU-s 191.78KiB/CPU-s 2.36KiB/CPU-s 0.0 0.021761 8.52MiB/CPU-s 266.92KiB/CPU-s 3.28KiB/CPU-s 0.0 0.030587 False False
datadog_agent_remap_blackhole_acks ingress throughput -350.97KiB/CPU-s -1.11 100.00% 30.87MiB/CPU-s 1.31MiB/CPU-s 16.53KiB/CPU-s 0.0 0.042497 30.53MiB/CPU-s 1.18MiB/CPU-s 14.86KiB/CPU-s 0.0 0.038631 False False
otlp_http_to_blackhole ingress throughput -20.04KiB/CPU-s -1.25 100.00% 1.57MiB/CPU-s 107.05KiB/CPU-s 1.32KiB/CPU-s 0.0 0.066765 1.55MiB/CPU-s 111.2KiB/CPU-s 1.37KiB/CPU-s 0.0 0.070233 False False
splunk_hec_route_s3 ingress throughput -152.41KiB/CPU-s -1.25 100.00% 11.94MiB/CPU-s 518.41KiB/CPU-s 6.38KiB/CPU-s 0.0 0.042388 11.79MiB/CPU-s 582.63KiB/CPU-s 7.17KiB/CPU-s 0.0 0.048241 False False
datadog_agent_remap_datadog_logs_acks ingress throughput -518.38KiB/CPU-s -1.53 100.00% 33.03MiB/CPU-s 1.02MiB/CPU-s 12.8KiB/CPU-s 0.0 0.030746 32.53MiB/CPU-s 1.13MiB/CPU-s 14.29KiB/CPU-s 0.0 0.034874 False False
syslog_log2metric_splunk_hec_metrics ingress throughput -159.99KiB/CPU-s -1.66 100.00% 9.41MiB/CPU-s 141.25KiB/CPU-s 1.74KiB/CPU-s 0.0 0.014651 9.26MiB/CPU-s 333.26KiB/CPU-s 4.1KiB/CPU-s 0.0 0.03515 False False

Copy link
Member

@bruceg bruceg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM except for the long argument lists, which wouldn't be a big deal except that most of them are repeated.

Comment on lines +159 to +190
let source_tasks = build_sources(
config,
diff,
&mut shutdown_coordinator,
&mut errors,
&mut outputs,
&mut tasks,
)
.await;

build_transforms(
config,
diff,
enrichment_tables,
&mut errors,
&mut inputs,
&mut outputs,
&mut tasks,
)
.await;

build_sinks(
config,
diff,
&mut errors,
buffers,
&mut inputs,
&mut healthchecks,
&mut tasks,
&mut detach_triggers,
)
.await;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to see these repeated parameters moved into a common struct or something, and then the functions could be member functions of that struct. Notable, all of the following are repeated: config, diff, errors, inputs, outputs, and tasks.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really like this. It has made the diffs for the PR much harder to read, but it is largely just moving code around..

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It gets a lot smaller when checking off to hide whitespace changes.

Comment on lines +205 to +215
let pieces = Pieces {
inputs,
outputs: finalized_outputs,
tasks,
source_tasks,
healthchecks,
shutdown_coordinator,
detach_triggers,
};

Ok(pieces)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: shorter:

Suggested change
let pieces = Pieces {
inputs,
outputs: finalized_outputs,
tasks,
source_tasks,
healthchecks,
shutdown_coordinator,
detach_triggers,
};
Ok(pieces)
Ok(Pieces {
inputs,
outputs: finalized_outputs,
tasks,
source_tasks,
healthchecks,
shutdown_coordinator,
detach_triggers,
})

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>
@netlify
Copy link

netlify bot commented Apr 5, 2023

Deploy Preview for vrl-playground canceled.

Name Link
🔨 Latest commit 735cfd6
🔍 Latest deploy log https://app.netlify.com/sites/vrl-playground/deploys/642d608ea35be000083dfadb

@StephenWakely StephenWakely requested a review from bruceg April 5, 2023 11:56
@github-actions
Copy link

github-actions bot commented Apr 5, 2023

Regression Detector Results

Run ID: 484f607c-3adc-440a-804e-4fbf104cc5d5
Baseline: 5074d82
Comparison: 735cfd6
Total vector CPUs: 7

Explanation

A regression test is an integrated performance test for vector in a repeatable rig, with varying configuration for vector. What follows is a statistical summary of a brief vector run for each configuration across SHAs given above. The goal of these tests are to determine quickly if vector performance is changed and to what degree by a pull request.

The table below, if present, lists those experiments that have experienced a statistically significant change in mean optimization goal performance between baseline and comparison SHAs with 90.00% confidence OR have been detected as newly erratic. Negative values mean that baseline is faster, positive comparison. Results that do not exhibit more than a ±5.00% change in their mean optimization goal are discarded. An experiment is erratic if its coefficient of variation is greater than 0.1. The abbreviated table will be omitted if no interesting change is observed.

Changes in experiment optimization goals with confidence ≥ 90.00% and |Δ mean %| ≥ 5.00%:

experiment goal Δ mean Δ mean % confidence
syslog_log2metric_humio_metrics ingress throughput -423.08KiB/CPU-s -6.59 100.00%
Fine details of change detection per experiment.
experiment goal Δ mean Δ mean % confidence baseline mean baseline stdev baseline stderr baseline outlier % baseline CoV comparison mean comparison stdev comparison stderr comparison outlier % comparison CoV erratic declared erratic
file_to_blackhole egress throughput 1013.3KiB/CPU-s 15.53 100.00% 6.37MiB/CPU-s 4.64MiB/CPU-s 134.25KiB/CPU-s 0.0 0.727952 7.36MiB/CPU-s 3.94MiB/CPU-s 132.75KiB/CPU-s 0.0 0.534681 True True
datadog_agent_remap_blackhole ingress throughput 344.21KiB/CPU-s 1.09 100.00% 30.94MiB/CPU-s 1.06MiB/CPU-s 13.37KiB/CPU-s 0.0 0.034315 31.27MiB/CPU-s 911.74KiB/CPU-s 11.22KiB/CPU-s 0.0 0.02847 False False
datadog_agent_remap_blackhole_acks ingress throughput 312.14KiB/CPU-s 0.99 100.00% 30.91MiB/CPU-s 1.22MiB/CPU-s 15.37KiB/CPU-s 0.0 0.039461 31.22MiB/CPU-s 903.13KiB/CPU-s 11.12KiB/CPU-s 0.0 0.028251 False False
syslog_loki ingress throughput 66.62KiB/CPU-s 0.77 100.00% 8.44MiB/CPU-s 232.69KiB/CPU-s 2.86KiB/CPU-s 0.0 0.026923 8.5MiB/CPU-s 272.35KiB/CPU-s 3.35KiB/CPU-s 0.0 0.03127 False False
syslog_regex_logs2metric_ddmetrics ingress throughput 18.2KiB/CPU-s 0.49 98.91% 3.6MiB/CPU-s 430.69KiB/CPU-s 5.3KiB/CPU-s 0.0 0.116945 3.61MiB/CPU-s 390.15KiB/CPU-s 4.8KiB/CPU-s 0.0 0.105417 True True
http_to_http_acks ingress throughput 23.49KiB/CPU-s 0.44 37.07% 5.25MiB/CPU-s 2.76MiB/CPU-s 34.75KiB/CPU-s 0.0 0.525378 5.27MiB/CPU-s 2.7MiB/CPU-s 34.05KiB/CPU-s 0.0 0.512381 True False
enterprise_http_to_http ingress throughput 5.99KiB/CPU-s 0.04 90.36% 13.62MiB/CPU-s 250.93KiB/CPU-s 3.09KiB/CPU-s 0.0 0.017993 13.62MiB/CPU-s 150.83KiB/CPU-s 1.86KiB/CPU-s 0.0 0.010811 False False
splunk_hec_to_splunk_hec_logs_acks ingress throughput -190.08B/CPU-s -0.00 2.47% 13.61MiB/CPU-s 344.46KiB/CPU-s 4.24KiB/CPU-s 0.0 0.024708 13.61MiB/CPU-s 343.7KiB/CPU-s 4.23KiB/CPU-s 0.0 0.024653 False False
fluent_elasticsearch ingress throughput -272.62B/CPU-s -0.00 38.36% 45.41MiB/CPU-s 30.1KiB/CPU-s 375.25B/CPU-s 0.0 0.000647 45.41MiB/CPU-s 30.16KiB/CPU-s 394.21B/CPU-s 0.0 0.000649 False False
splunk_hec_to_splunk_hec_logs_noack ingress throughput -1.44KiB/CPU-s -0.01 25.16% 13.62MiB/CPU-s 252.95KiB/CPU-s 3.11KiB/CPU-s 0.0 0.018139 13.62MiB/CPU-s 262.11KiB/CPU-s 3.22KiB/CPU-s 0.0 0.018798 False False
splunk_hec_indexer_ack_blackhole ingress throughput -2.55KiB/CPU-s -0.02 43.97% 13.62MiB/CPU-s 246.23KiB/CPU-s 3.03KiB/CPU-s 0.0 0.017655 13.62MiB/CPU-s 256.04KiB/CPU-s 3.15KiB/CPU-s 0.0 0.018362 False False
http_to_http_noack ingress throughput -3.69KiB/CPU-s -0.03 49.16% 13.61MiB/CPU-s 298.8KiB/CPU-s 3.68KiB/CPU-s 0.0 0.021431 13.61MiB/CPU-s 341.73KiB/CPU-s 4.2KiB/CPU-s 0.0 0.024516 False False
http_to_http_json ingress throughput -58.37KiB/CPU-s -0.42 100.00% 13.62MiB/CPU-s 228.18KiB/CPU-s 2.81KiB/CPU-s 0.0 0.016358 13.56MiB/CPU-s 302.49KiB/CPU-s 3.72KiB/CPU-s 0.0 0.021776 False False
syslog_humio_logs ingress throughput -45.14KiB/CPU-s -0.48 100.00% 9.1MiB/CPU-s 187.85KiB/CPU-s 2.31KiB/CPU-s 0.0 0.020152 9.06MiB/CPU-s 231.35KiB/CPU-s 2.85KiB/CPU-s 0.0 0.024938 False False
syslog_splunk_hec_logs ingress throughput -50.63KiB/CPU-s -0.55 100.00% 8.99MiB/CPU-s 247.35KiB/CPU-s 3.04KiB/CPU-s 0.0 0.026876 8.94MiB/CPU-s 211.37KiB/CPU-s 2.6KiB/CPU-s 0.0 0.023093 False False
datadog_agent_remap_datadog_logs ingress throughput -225.39KiB/CPU-s -0.67 100.00% 32.78MiB/CPU-s 1.12MiB/CPU-s 14.06KiB/CPU-s 0.0 0.034043 32.56MiB/CPU-s 830.22KiB/CPU-s 10.22KiB/CPU-s 0.0 0.0249 False False
datadog_agent_remap_datadog_logs_acks ingress throughput -237.84KiB/CPU-s -0.71 100.00% 32.54MiB/CPU-s 1.06MiB/CPU-s 13.34KiB/CPU-s 0.0 0.032539 32.31MiB/CPU-s 909.77KiB/CPU-s 11.19KiB/CPU-s 0.0 0.0275 False False
http_text_to_http_json ingress throughput -228.48KiB/CPU-s -0.92 100.00% 24.35MiB/CPU-s 790.86KiB/CPU-s 9.73KiB/CPU-s 0.0 0.031717 24.13MiB/CPU-s 654.25KiB/CPU-s 8.05KiB/CPU-s 0.0 0.026481 False False
otlp_grpc_to_blackhole ingress throughput -14.36KiB/CPU-s -1.34 100.00% 1.04MiB/CPU-s 51.78KiB/CPU-s 652.48B/CPU-s 0.0 0.048395 1.03MiB/CPU-s 52.31KiB/CPU-s 658.96B/CPU-s 0.0 0.049548 False False
splunk_hec_route_s3 ingress throughput -203.48KiB/CPU-s -1.69 100.00% 11.75MiB/CPU-s 535.91KiB/CPU-s 6.59KiB/CPU-s 0.0 0.044549 11.55MiB/CPU-s 536.07KiB/CPU-s 6.6KiB/CPU-s 0.0 0.045329 False False
socket_to_socket_blackhole ingress throughput -375.65KiB/CPU-s -2.72 100.00% 13.5MiB/CPU-s 244.18KiB/CPU-s 3.0KiB/CPU-s 0.0 0.017657 13.14MiB/CPU-s 349.38KiB/CPU-s 4.3KiB/CPU-s 0.0 0.02597 False False
syslog_log2metric_splunk_hec_metrics ingress throughput -270.75KiB/CPU-s -2.80 100.00% 9.44MiB/CPU-s 191.63KiB/CPU-s 2.36KiB/CPU-s 0.0 0.019827 9.17MiB/CPU-s 428.53KiB/CPU-s 5.27KiB/CPU-s 0.0 0.045614 False False
otlp_http_to_blackhole ingress throughput -56.37KiB/CPU-s -3.45 100.00% 1.6MiB/CPU-s 93.06KiB/CPU-s 1.14KiB/CPU-s 0.0 0.056879 1.54MiB/CPU-s 107.32KiB/CPU-s 1.32KiB/CPU-s 0.0 0.067933 False False
syslog_log2metric_humio_metrics ingress throughput -423.08KiB/CPU-s -6.59 100.00% 6.27MiB/CPU-s 193.94KiB/CPU-s 2.39KiB/CPU-s 0.0 0.030221 5.85MiB/CPU-s 326.41KiB/CPU-s 4.02KiB/CPU-s 0.0 0.054453 False False

@StephenWakely StephenWakely merged commit 6e6f1eb into master Apr 5, 2023
@StephenWakely StephenWakely deleted the stephen/build_pieces_refactor branch April 5, 2023 16:21
StephenWakely added a commit that referenced this pull request Apr 13, 2023
StephenWakely added a commit that referenced this pull request Apr 14, 2023
StephenWakely added a commit that referenced this pull request Apr 17, 2023
* Revert "chore(topology): Transform outputs hash table of OutputId -> Definition (#17059)"

This reverts commit 1bdb24d.

* Revert "chore(topology): split `build_pieces` into smaller functions (#17037)"

This reverts commit 6e6f1eb.

* Revert "enhancement(topology): Update transforms to handle multiple definitions (#16793)"

This reverts commit e19f4fc.

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>

---------

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>
neuronull pushed a commit that referenced this pull request Apr 17, 2023
* Revert "chore(topology): Transform outputs hash table of OutputId -> Definition (#17059)"

This reverts commit 1bdb24d.

* Revert "chore(topology): split `build_pieces` into smaller functions (#17037)"

This reverts commit 6e6f1eb.

* Revert "enhancement(topology): Update transforms to handle multiple definitions (#16793)"

This reverts commit e19f4fc.

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>

---------

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>
neuronull pushed a commit that referenced this pull request Apr 19, 2023
* Revert "chore(topology): Transform outputs hash table of OutputId -> Definition (#17059)"

This reverts commit 1bdb24d.

* Revert "chore(topology): split `build_pieces` into smaller functions (#17037)"

This reverts commit 6e6f1eb.

* Revert "enhancement(topology): Update transforms to handle multiple definitions (#16793)"

This reverts commit e19f4fc.

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>
neuronull pushed a commit that referenced this pull request Apr 19, 2023
* Revert "chore(topology): Transform outputs hash table of OutputId -> Definition (#17059)"

This reverts commit 1bdb24d.

* Revert "chore(topology): split `build_pieces` into smaller functions (#17037)"

This reverts commit 6e6f1eb.

* Revert "enhancement(topology): Update transforms to handle multiple definitions (#16793)"

This reverts commit e19f4fc.

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>
StephenWakely added a commit that referenced this pull request Apr 25, 2023
StephenWakely added a commit that referenced this pull request Apr 27, 2023
* Revert "Revert "enhancement(topology): Update transforms to handle multiple definitions (#16793)""

This reverts commit 5dc20f3.

* Revert "Revert "chore(topology): split `build_pieces` into smaller functions (#17037)""

This reverts commit 0e11bc3.

* Revert "Revert "chore(topology): Transform outputs hash table of OutputId -> Definition (#17059)""

This reverts commit 8916ec1.

---------

Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain: topology Anything related to Vector's topology code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants