Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TCP data via kprobes #32000

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

TCP data via kprobes #32000

wants to merge 1 commit into from

Conversation

vitkyrka
Copy link
Contributor

What does this PR do?

Motivation

https://datadoghq.atlassian.net/browse/USMON-1370

Describe how you validated your changes

Possible Drawbacks / Trade-offs

Additional Notes

@github-actions github-actions bot added component/system-probe long review PR is complex, plan time to review it labels Dec 11, 2024
@agent-platform-auto-pr
Copy link
Contributor

agent-platform-auto-pr bot commented Dec 11, 2024

Test changes on VM

Use this command from test-infra-definitions to manually test this PR changes on a VM:

inv aws.create-vm --pipeline-id=51836440 --os-family=ubuntu

Note: This applies to commit b5b47cf

@agent-platform-auto-pr
Copy link
Contributor

Package size comparison

Comparison with ancestor d8ef0ba07644c99e1c65f49a299890119a28529a

Diff per package
package diff status size ancestor threshold
datadog-agent-amd64-deb 5.92MB ⚠️ 1277.18MB 1271.25MB 140.00MB
datadog-iot-agent-amd64-deb 0.00MB ⚠️ 113.21MB 113.20MB 10.00MB
datadog-dogstatsd-amd64-deb -0.00MB 78.32MB 78.32MB 10.00MB
datadog-heroku-agent-amd64-deb 0.00MB ⚠️ 526.44MB 526.44MB 70.00MB
datadog-agent-x86_64-rpm 5.92MB ⚠️ 1286.41MB 1280.49MB 140.00MB
datadog-agent-x86_64-suse 5.92MB ⚠️ 1286.41MB 1280.49MB 140.00MB
datadog-iot-agent-x86_64-rpm 0.00MB ⚠️ 113.27MB 113.27MB 10.00MB
datadog-iot-agent-x86_64-suse 0.00MB ⚠️ 113.27MB 113.27MB 10.00MB
datadog-dogstatsd-x86_64-rpm -0.00MB 78.40MB 78.40MB 10.00MB
datadog-dogstatsd-x86_64-suse -0.00MB 78.40MB 78.40MB 10.00MB
datadog-agent-arm64-deb 5.68MB ⚠️ 1011.10MB 1005.42MB 140.00MB
datadog-iot-agent-arm64-deb 0.00MB 108.70MB 108.70MB 10.00MB
datadog-dogstatsd-arm64-deb -0.00MB 55.59MB 55.59MB 10.00MB
datadog-agent-aarch64-rpm 5.68MB ⚠️ 1020.31MB 1014.64MB 140.00MB
datadog-iot-agent-aarch64-rpm 0.00MB ⚠️ 108.77MB 108.77MB 10.00MB

Decision

⚠️ Warning

@agent-platform-auto-pr
Copy link
Contributor

agent-platform-auto-pr bot commented Dec 11, 2024

eBPF complexity changes

Summary result: ❗ - significant complexity increases

  • Highest complexity change (%): +29.60%
  • Highest complexity change (abs.): +28063 instructions
  • Programs that were above the 85.0% limit of instructions and are now below: 0
  • Programs that were below the 85.0% limit of instructions and are now above: 0
tracer details

tracer [programs with changes]

Program Avg. complexity Distro with highest complexity Distro with lowest complexity

tracer [programs without changes]

Program Avg. complexity Distro with highest complexity Distro with lowest complexity
socket__classifier_tls_handshake_client ⚪ 6661.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 6688.0 (+0.0, +0.00%) centos_8/arm64: ⚪ 6613.0 (+0.0, +0.00%)
socket__classifier_tls_handshake_server ⚪ 2310.3 (+0.0, +0.00%) fedora_38/arm64: ⚪ 2495.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 2013.0 (+0.0, +0.00%)
tracepoint__net__net_dev_queue ⚪ 971.7 (+0.0, +0.00%) fedora_38/arm64: ⚪ 1183.0 (+0.0, +0.00%) centos_8/arm64: ⚪ 800.0 (+0.0, +0.00%)
usm details

usm [programs with changes]

Program Avg. complexity Distro with highest complexity Distro with lowest complexity
socket__http2_handle_first_frame 🔴 1218.3 (+12.0, +0.99%) fedora_38/arm64: 🔴 1699.0 (+50.0, +3.03%) amazon_5.4/arm64: 🟢 978.0 (-7.0, -0.71%)
socket__protocol_dispatcher_kafka 🔴 48191.7 (+34.0, +0.07%) centos_8/arm64: 🔴 58837.0 (+120.0, +0.20%) amazon_5.4/arm64: 🟢 26901.0 (-138.0, -0.51%)
uprobe__http2_tls_filter 🔴 88108.7 (+19996.7, +29.36%) amazon_5.4/arm64: 🔴 88224.0 (+19764.0, +28.87%) centos_8/arm64: 🔴 88051.0 (+20113.0, +29.60%)
uprobe__http2_tls_handle_first_frame 🟢 952.8 (-34.6, -3.50%) fedora_38/arm64: 🟢 1171.0 (-30.0, -2.50%) debian_10/arm64: 🟢 775.0 (-25.0, -3.12%)
uprobe__http2_tls_headers_parser 🟢 637447.0 (-320.0, -0.05%) fedora_38/arm64: 🟢 637447.0 (-320.0, -0.05%) fedora_38/arm64: 🟢 637447.0 (-320.0, -0.05%)
uprobe__http2_tls_termination ⚪ 100.2 (+0.0, +0.00%) amazon_5.4/arm64: 🟢 103.0 (-2.0, -1.90%) debian_10/arm64: 🔴 96.0 (+3.0, +3.23%)
uprobe__kafka_tls_fetch_response_record_batch_parser_v0 🟢 6795.6 (-57.4, -0.84%) centos_8/arm64: 🟢 6833.0 (-57.0, -0.83%) amazon_5.4/arm64: 🟢 6666.0 (-57.0, -0.85%)
uprobe__kafka_tls_fetch_response_record_batch_parser_v12 🟢 6795.6 (-57.4, -0.84%) centos_8/arm64: 🟢 6833.0 (-57.0, -0.83%) amazon_5.4/arm64: 🟢 6666.0 (-57.0, -0.85%)
uprobe__postgres_tls_handle_response 🟢 4633.2 (-165.8, -3.45%) debian_10/arm64: 🟢 4851.0 (-182.0, -3.62%) ubuntu_18.04/arm64: 🟢 3807.0 (-8.0, -0.21%)
uprobe__tls_protocol_dispatcher_kafka 🟢 6093.2 (-43.6, -0.71%) fedora_38/arm64: 🟢 9187.0 (-118.0, -1.27%) amazon_5.4/arm64: 🟢 4697.0 (-50.0, -1.05%)

usm [programs without changes]

Program Avg. complexity Distro with highest complexity Distro with lowest complexity
socket__http_filter ⚪ 6175.3 (+0.0, +0.00%) fedora_38/arm64: ⚪ 7990.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 5268.0 (+0.0, +0.00%)
socket__kafka_fetch_response_partition_parser_v0 ⚪ 5050.8 (+0.0, +0.00%) centos_8/arm64: ⚪ 5076.0 (+0.0, +0.00%) ubuntu_18.04/arm64: ⚪ 5016.0 (+0.0, +0.00%)
socket__kafka_fetch_response_partition_parser_v12 ⚪ 5380.4 (+0.0, +0.00%) ubuntu_18.04/arm64: ⚪ 6149.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 4914.0 (+0.0, +0.00%)
socket__kafka_fetch_response_record_batch_parser_v0 ⚪ 6146.3 (+0.0, +0.00%) centos_8/arm64: ⚪ 6166.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 6107.0 (+0.0, +0.00%)
socket__kafka_fetch_response_record_batch_parser_v12 ⚪ 6146.3 (+0.0, +0.00%) centos_8/arm64: ⚪ 6166.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 6107.0 (+0.0, +0.00%)
socket__kafka_filter ⚪ 38388.7 (+0.0, +0.00%) centos_8/arm64: ⚪ 44790.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 25586.0 (+0.0, +0.00%)
socket__kafka_produce_response_partition_parser_v0 ⚪ 1372.2 (+0.0, +0.00%) centos_8/arm64: ⚪ 1442.0 (+0.0, +0.00%) debian_10/arm64: ⚪ 1250.0 (+0.0, +0.00%)
socket__kafka_produce_response_partition_parser_v9 ⚪ 1544.6 (+0.0, +0.00%) debian_10/arm64: ⚪ 2062.0 (+0.0, +0.00%) fedora_38/arm64: ⚪ 1190.0 (+0.0, +0.00%)
socket__postgres_handle ⚪ 943.3 (+0.0, +0.00%) fedora_38/arm64: ⚪ 1312.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 758.0 (+0.0, +0.00%)
socket__postgres_handle_response ⚪ 4385.0 (+0.0, +0.00%) debian_10/arm64: ⚪ 4774.0 (+0.0, +0.00%) ubuntu_18.04/arm64: ⚪ 3391.0 (+0.0, +0.00%)
socket__postgres_process_parse_message ⚪ 35878.0 (+0.0, +0.00%) fedora_38/arm64: ⚪ 59525.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 18994.0 (+0.0, +0.00%)
socket__protocol_dispatcher ⚪ 1650.7 (+0.0, +0.00%) fedora_38/arm64: ⚪ 1746.0 (+0.0, +0.00%) centos_8/arm64: ⚪ 1543.0 (+0.0, +0.00%)
socket__redis_process ⚪ 2.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 2.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 2.0 (+0.0, +0.00%)
tracepoint__net__netif_receive_skb ⚪ 16.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 16.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 16.0 (+0.0, +0.00%)
uprobe__BIO_new_socket ⚪ 23.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 23.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 23.0 (+0.0, +0.00%)
uprobe__SSL_connect ⚪ 23.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 23.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 23.0 (+0.0, +0.00%)
uprobe__SSL_do_handshake ⚪ 23.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 23.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 23.0 (+0.0, +0.00%)
uprobe__SSL_read ⚪ 98.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 98.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 98.0 (+0.0, +0.00%)
uprobe__SSL_read_ex ⚪ 85.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 85.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 85.0 (+0.0, +0.00%)
uprobe__SSL_set_bio ⚪ 46.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 46.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 46.0 (+0.0, +0.00%)
uprobe__SSL_set_fd ⚪ 31.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 31.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 31.0 (+0.0, +0.00%)
uprobe__SSL_shutdown ⚪ 352.0 (+0.0, +0.00%) centos_8/arm64: ⚪ 363.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 333.0 (+0.0, +0.00%)
uprobe__SSL_write ⚪ 28.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 28.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 28.0 (+0.0, +0.00%)
uprobe__SSL_write_ex ⚪ 22.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 22.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 22.0 (+0.0, +0.00%)
uprobe__crypto_tls_Conn_Close ⚪ 1137.2 (+0.0, +0.00%) centos_8/arm64: ⚪ 1265.0 (+0.0, +0.00%) amazon_5.4/x86_64: ⚪ 1009.0 (+0.0, +0.00%)
uprobe__crypto_tls_Conn_Read ⚪ 773.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 860.0 (+0.0, +0.00%) amazon_5.4/x86_64: ⚪ 686.0 (+0.0, +0.00%)
uprobe__crypto_tls_Conn_Read__return ⚪ 5377.2 (+0.0, +0.00%) fedora_38/arm64: ⚪ 8266.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 3245.0 (+0.0, +0.00%)
uprobe__crypto_tls_Conn_Write ⚪ 1315.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 1807.0 (+0.0, +0.00%) amazon_5.4/x86_64: ⚪ 823.0 (+0.0, +0.00%)
uprobe__crypto_tls_Conn_Write__return ⚪ 6434.3 (+0.0, +0.00%) fedora_38/x86_64: ⚪ 10094.0 (+0.0, +0.00%) amazon_5.4/x86_64: ⚪ 3335.0 (+0.0, +0.00%)
uprobe__gnutls_bye ⚪ 352.0 (+0.0, +0.00%) centos_8/arm64: ⚪ 363.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 333.0 (+0.0, +0.00%)
uprobe__gnutls_deinit ⚪ 352.0 (+0.0, +0.00%) centos_8/arm64: ⚪ 363.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 333.0 (+0.0, +0.00%)
uprobe__gnutls_handshake ⚪ 23.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 23.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 23.0 (+0.0, +0.00%)
uprobe__gnutls_record_recv ⚪ 25.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 25.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 25.0 (+0.0, +0.00%)
uprobe__gnutls_record_send ⚪ 28.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 28.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 28.0 (+0.0, +0.00%)
uprobe__gnutls_transport_set_int2 ⚪ 31.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 31.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 31.0 (+0.0, +0.00%)
uprobe__gnutls_transport_set_ptr ⚪ 31.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 31.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 31.0 (+0.0, +0.00%)
uprobe__gnutls_transport_set_ptr2 ⚪ 31.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 31.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 31.0 (+0.0, +0.00%)
uprobe__http2_dynamic_table_cleaner ⚪ 3964.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 3964.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 3964.0 (+0.0, +0.00%)
uprobe__http2_tls_eos_parser ⚪ 182422.7 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 182451.0 (+0.0, +0.00%) centos_8/arm64: ⚪ 182366.0 (+0.0, +0.00%)
uprobe__http_process ⚪ 2777.8 (+0.0, +0.00%) debian_10/arm64: ⚪ 5143.0 (+0.0, +0.00%) ubuntu_18.04/arm64: ⚪ 2050.0 (+0.0, +0.00%)
uprobe__http_termination ⚪ 288.6 (+0.0, +0.00%) debian_10/arm64: ⚪ 291.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 287.0 (+0.0, +0.00%)
uprobe__kafka_tls_fetch_response_partition_parser_v0 ⚪ 5338.6 (+0.0, +0.00%) centos_8/arm64: ⚪ 5569.0 (+0.0, +0.00%) debian_10/arm64: ⚪ 4934.0 (+0.0, +0.00%)
uprobe__kafka_tls_fetch_response_partition_parser_v12 ⚪ 6582.4 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 6713.0 (+0.0, +0.00%) debian_10/arm64: ⚪ 6305.0 (+0.0, +0.00%)
uprobe__kafka_tls_filter ⚪ 20025.0 (+0.0, +0.00%) centos_8/arm64: ⚪ 29839.0 (+0.0, +0.00%) ubuntu_18.04/arm64: ⚪ 9737.0 (+0.0, +0.00%)
uprobe__kafka_tls_produce_response_partition_parser_v0 ⚪ 1436.6 (+0.0, +0.00%) centos_8/arm64: ⚪ 1563.0 (+0.0, +0.00%) debian_10/arm64: ⚪ 1218.0 (+0.0, +0.00%)
uprobe__kafka_tls_produce_response_partition_parser_v9 ⚪ 1825.8 (+0.0, +0.00%) debian_10/arm64: ⚪ 2241.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 1476.0 (+0.0, +0.00%)
uprobe__kafka_tls_termination ⚪ 43.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 43.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 43.0 (+0.0, +0.00%)
uprobe__postgres_tls_handle ⚪ 195.2 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 199.0 (+0.0, +0.00%) debian_10/arm64: ⚪ 189.0 (+0.0, +0.00%)
uprobe__postgres_tls_process_parse_message ⚪ 3067.4 (+0.0, +0.00%) ubuntu_18.04/arm64: ⚪ 3327.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 2895.0 (+0.0, +0.00%)
uprobe__postgres_tls_termination ⚪ 43.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 43.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 43.0 (+0.0, +0.00%)
uprobe__redis_tls_process ⚪ 2.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 2.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 2.0 (+0.0, +0.00%)
uprobe__redis_tls_termination ⚪ 2.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 2.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 2.0 (+0.0, +0.00%)
uretprobe__BIO_new_socket ⚪ 44.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 44.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 44.0 (+0.0, +0.00%)
uretprobe__SSL_connect ⚪ 9.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 9.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 9.0 (+0.0, +0.00%)
uretprobe__SSL_do_handshake ⚪ 9.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 9.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 9.0 (+0.0, +0.00%)
uretprobe__SSL_read ⚪ 5626.3 (+0.0, +0.00%) fedora_38/arm64: ⚪ 9080.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 2633.0 (+0.0, +0.00%)
uretprobe__SSL_read_ex ⚪ 7004.7 (+0.0, +0.00%) fedora_38/arm64: ⚪ 9184.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 2722.0 (+0.0, +0.00%)
uretprobe__SSL_write ⚪ 2941.3 (+0.0, +0.00%) fedora_38/arm64: ⚪ 3180.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 2750.0 (+0.0, +0.00%)
uretprobe__SSL_write_ex ⚪ 6612.3 (+0.0, +0.00%) fedora_38/arm64: ⚪ 9569.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 2820.0 (+0.0, +0.00%)
uretprobe__gnutls_handshake ⚪ 9.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 9.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 9.0 (+0.0, +0.00%)
uretprobe__gnutls_record_recv ⚪ 5201.3 (+0.0, +0.00%) fedora_38/arm64: ⚪ 7470.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 2733.0 (+0.0, +0.00%)
uretprobe__gnutls_record_send ⚪ 4185.3 (+0.0, +0.00%) centos_8/arm64: ⚪ 4921.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 2728.0 (+0.0, +0.00%)

This report was generated based on the complexity data for the current branch vincent.whitchurch/tcp-kprobes (pipeline 51836440, commit b5b47cf) and the base branch main (commit 234771b). Objects without changes are not reported. Contact #ebpf-platform if you have any questions/feedback.

Table complexity legend: 🔵 - new; ⚪ - unchanged; 🟢 - reduced; 🔴 - increased

Copy link

cit-pr-commenter bot commented Dec 11, 2024

Regression Detector

Regression Detector Results

Metrics dashboard
Target profiles
Run ID: 3cbd0d87-02f8-4dc5-aad8-aa6957905726

Baseline: 234771b
Comparison: b5b47cf
Diff

Optimization Goals: ✅ No significant changes detected

Fine details of change detection per experiment

perf experiment goal Δ mean % Δ mean % CI trials links
tcp_syslog_to_blackhole ingress throughput +0.42 [+0.36, +0.49] 1 Logs
file_to_blackhole_1000ms_latency_linear_load egress throughput +0.39 [-0.08, +0.86] 1 Logs
quality_gate_idle_all_features memory utilization +0.16 [+0.08, +0.24] 1 Logs bounds checks dashboard
file_to_blackhole_100ms_latency egress throughput +0.02 [-0.63, +0.67] 1 Logs
file_to_blackhole_1000ms_latency egress throughput +0.01 [-0.76, +0.79] 1 Logs
file_to_blackhole_300ms_latency egress throughput +0.01 [-0.63, +0.65] 1 Logs
file_to_blackhole_0ms_latency_http1 egress throughput +0.01 [-0.86, +0.87] 1 Logs
file_to_blackhole_0ms_latency_http2 egress throughput +0.00 [-0.89, +0.90] 1 Logs
tcp_dd_logs_filter_exclude ingress throughput +0.00 [-0.01, +0.01] 1 Logs
uds_dogstatsd_to_api ingress throughput -0.01 [-0.12, +0.10] 1 Logs
file_to_blackhole_500ms_latency egress throughput -0.05 [-0.83, +0.73] 1 Logs
file_to_blackhole_0ms_latency egress throughput -0.05 [-0.94, +0.84] 1 Logs
file_tree memory utilization -0.14 [-0.27, -0.02] 1 Logs
quality_gate_idle memory utilization -0.47 [-0.50, -0.43] 1 Logs bounds checks dashboard
quality_gate_logs % cpu utilization -0.58 [-3.76, +2.61] 1 Logs
uds_dogstatsd_to_api_cpu % cpu utilization -1.32 [-2.01, -0.63] 1 Logs

Bounds Checks: ✅ Passed

perf experiment bounds_check_name replicates_passed links
file_to_blackhole_0ms_latency lost_bytes 10/10
file_to_blackhole_0ms_latency memory_usage 10/10
file_to_blackhole_0ms_latency_http1 lost_bytes 10/10
file_to_blackhole_0ms_latency_http1 memory_usage 10/10
file_to_blackhole_0ms_latency_http2 lost_bytes 10/10
file_to_blackhole_0ms_latency_http2 memory_usage 10/10
file_to_blackhole_1000ms_latency memory_usage 10/10
file_to_blackhole_1000ms_latency_linear_load memory_usage 10/10
file_to_blackhole_100ms_latency lost_bytes 10/10
file_to_blackhole_100ms_latency memory_usage 10/10
file_to_blackhole_300ms_latency lost_bytes 10/10
file_to_blackhole_300ms_latency memory_usage 10/10
file_to_blackhole_500ms_latency lost_bytes 10/10
file_to_blackhole_500ms_latency memory_usage 10/10
quality_gate_idle memory_usage 10/10 bounds checks dashboard
quality_gate_idle_all_features memory_usage 10/10 bounds checks dashboard
quality_gate_logs lost_bytes 10/10
quality_gate_logs memory_usage 10/10

Explanation

Confidence level: 90.00%
Effect size tolerance: |Δ mean %| ≥ 5.00%

Performance changes are noted in the perf column of each table:

  • ✅ = significantly better comparison variant performance
  • ❌ = significantly worse comparison variant performance
  • ➖ = no significant change in performance

A regression test is an A/B test of target performance in a repeatable rig, where "performance" is measured as "comparison variant minus baseline variant" for an optimization goal (e.g., ingress throughput). Due to intrinsic variability in measuring that goal, we can only estimate its mean value for each experiment; we report uncertainty in that value as a 90.00% confidence interval denoted "Δ mean % CI".

For each experiment, we decide whether a change in performance is a "regression" -- a change worth investigating further -- if all of the following criteria are true:

  1. Its estimated |Δ mean %| ≥ 5.00%, indicating the change is big enough to merit a closer look.

  2. Its 90.00% confidence interval "Δ mean % CI" does not contain zero, indicating that if our statistical model is accurate, there is at least a 90.00% chance there is a difference in performance between baseline and comparison variants.

  3. Its configuration does not mark it "erratic".

CI Pass/Fail Decision

Passed. All Quality Gates passed.

  • quality_gate_logs, bounds check lost_bytes: 10/10 replicas passed. Gate passed.
  • quality_gate_logs, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_idle, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_idle_all_features, bounds check memory_usage: 10/10 replicas passed. Gate passed.

@vitkyrka vitkyrka force-pushed the vincent.whitchurch/tcp-kprobes branch from 71aca70 to 3f12282 Compare December 26, 2024 12:06
@agent-platform-auto-pr
Copy link
Contributor

agent-platform-auto-pr bot commented Dec 26, 2024

Uncompressed package size comparison

Comparison with ancestor 234771bfeff3cdf8a1209e4be7be4f069346b3b1

Diff per package
package diff status size ancestor threshold
datadog-agent-x86_64-rpm 5.84MB ⚠️ 1206.18MB 1200.34MB 140.00MB
datadog-agent-x86_64-suse 5.84MB ⚠️ 1206.18MB 1200.34MB 140.00MB
datadog-agent-amd64-deb 5.81MB ⚠️ 1196.87MB 1191.05MB 140.00MB
datadog-agent-aarch64-rpm 5.68MB ⚠️ 950.28MB 944.61MB 140.00MB
datadog-agent-arm64-deb 5.65MB ⚠️ 940.99MB 935.34MB 140.00MB
datadog-heroku-agent-amd64-deb 0.06MB ⚠️ 505.27MB 505.21MB 70.00MB
datadog-iot-agent-x86_64-rpm 0.00MB 113.42MB 113.42MB 10.00MB
datadog-iot-agent-x86_64-suse 0.00MB 113.42MB 113.42MB 10.00MB
datadog-iot-agent-amd64-deb 0.00MB 113.35MB 113.35MB 10.00MB
datadog-dogstatsd-x86_64-rpm 0.00MB 78.65MB 78.65MB 10.00MB
datadog-dogstatsd-x86_64-suse 0.00MB 78.65MB 78.65MB 10.00MB
datadog-dogstatsd-amd64-deb 0.00MB 78.57MB 78.57MB 10.00MB
datadog-dogstatsd-arm64-deb 0.00MB 55.77MB 55.77MB 10.00MB
datadog-iot-agent-arm64-deb 0.00MB 108.81MB 108.81MB 10.00MB
datadog-iot-agent-aarch64-rpm -0.00MB 108.88MB 108.88MB 10.00MB

Decision

⚠️ Warning

@vitkyrka vitkyrka force-pushed the vincent.whitchurch/tcp-kprobes branch from 3f12282 to 69c1f70 Compare December 26, 2024 17:27
@vitkyrka vitkyrka force-pushed the vincent.whitchurch/tcp-kprobes branch from 69c1f70 to b5b47cf Compare December 27, 2024 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/system-probe long review PR is complex, plan time to review it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant