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

[USMON-1399] Fix gRPC bug #32809

Merged
merged 1 commit into from
Jan 12, 2025
Merged

[USMON-1399] Fix gRPC bug #32809

merged 1 commit into from
Jan 12, 2025

Conversation

amitslavin
Copy link
Contributor

@amitslavin amitslavin commented Jan 9, 2025

What does this PR do?

Fix a bug in gRPC and HTTP/2 traffic that caused an accuracy drop.

Motivation

We currently have a bug in the HTTP/2 and gRPC decoding flow where we do not mark TLS traffic with FLAG_USM_ENABLED, causing the map not to be cleaned, which leads to an accuracy drop.

The fix is to mark TLS traffic with the USM flag so the map cleaner can properly clean it.

Describe how you validated your changes

  • Validate the change using the load test.
  • Deployed to staging cluster and observed the accuracy

Example of the change in the load test which show the impact of the solution.

Example of the change in the load test before the change.

We can see that the accuracy now matches the previous version, and there are no accuracy drop as seen in the previous version.

Possible Drawbacks / Trade-offs

Additional Notes

@amitslavin amitslavin added changelog/no-changelog team/usm The USM team qa/done QA done before merge and regressions are covered by tests labels Jan 9, 2025
@amitslavin amitslavin requested a review from a team as a code owner January 9, 2025 12:04
@github-actions github-actions bot added component/system-probe short review PR is simple enough to be reviewed quickly labels Jan 9, 2025
@agent-platform-auto-pr
Copy link
Contributor

[Fast Unit Tests Report]

On pipeline 52532854 (CI Visibility). The following jobs did not run any unit tests:

Jobs:
  • tests_deb-arm64-py3
  • tests_deb-x64-py3
  • tests_flavor_dogstatsd_deb-x64
  • tests_flavor_heroku_deb-x64
  • tests_flavor_iot_deb-x64
  • tests_rpm-arm64-py3
  • tests_rpm-x64-py3
  • tests_windows-x64

If you modified Go files and expected unit tests to run in these jobs, please double check the job logs. If you think tests should have been executed reach out to #agent-devx-help

@agent-platform-auto-pr
Copy link
Contributor

Uncompressed package size comparison

Comparison with ancestor af0d8cb875d057e50d2cfce806644b50a0b196ad

Diff per package
package diff status size ancestor threshold
datadog-agent-amd64-deb 0.01MB ⚠️ 1012.06MB 1012.05MB 0.50MB
datadog-agent-x86_64-rpm 0.01MB ⚠️ 1021.37MB 1021.37MB 0.50MB
datadog-agent-x86_64-suse 0.01MB ⚠️ 1021.37MB 1021.37MB 0.50MB
datadog-agent-arm64-deb 0.00MB 941.29MB 941.29MB 0.50MB
datadog-agent-aarch64-rpm 0.00MB 950.59MB 950.59MB 0.50MB
datadog-dogstatsd-amd64-deb 0.00MB 58.63MB 58.63MB 0.50MB
datadog-dogstatsd-x86_64-rpm 0.00MB 58.71MB 58.71MB 0.50MB
datadog-dogstatsd-x86_64-suse 0.00MB 58.71MB 58.71MB 0.50MB
datadog-dogstatsd-arm64-deb 0.00MB 56.14MB 56.14MB 0.50MB
datadog-heroku-agent-amd64-deb 0.00MB 506.17MB 506.17MB 0.50MB
datadog-iot-agent-amd64-deb 0.00MB 113.82MB 113.82MB 0.50MB
datadog-iot-agent-x86_64-rpm 0.00MB 113.89MB 113.89MB 0.50MB
datadog-iot-agent-x86_64-suse 0.00MB 113.89MB 113.89MB 0.50MB
datadog-iot-agent-arm64-deb 0.00MB 109.26MB 109.26MB 0.50MB
datadog-iot-agent-aarch64-rpm 0.00MB 109.33MB 109.33MB 0.50MB

Decision

⚠️ Warning

@agent-platform-auto-pr
Copy link
Contributor

eBPF complexity changes

Summary result: ✅ - stable

  • Highest complexity change (%): +0.38%
  • Highest complexity change (abs.): +24 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
usm details

usm [programs with changes]

Program Avg. complexity Distro with highest complexity Distro with lowest complexity
istio_uretprobe__SSL_write 🔴 2949.3 (+8.0, +0.27%) fedora_38/arm64: 🔴 3192.0 (+12.0, +0.38%) amazon_5.4/arm64: 🔴 2756.0 (+6.0, +0.22%)
nodejs_uretprobe__SSL_read 🔴 5640.3 (+14.0, +0.25%) fedora_38/arm64: 🔴 9104.0 (+24.0, +0.26%) amazon_5.4/arm64: 🔴 2639.0 (+6.0, +0.23%)
nodejs_uretprobe__SSL_read_ex 🔴 7015.7 (+11.0, +0.16%) fedora_38/arm64: 🔴 9196.0 (+12.0, +0.13%) amazon_5.4/arm64: 🔴 2725.0 (+3.0, +0.11%)
nodejs_uretprobe__SSL_write 🔴 2949.3 (+8.0, +0.27%) fedora_38/arm64: 🔴 3192.0 (+12.0, +0.38%) amazon_5.4/arm64: 🔴 2756.0 (+6.0, +0.22%)
nodejs_uretprobe__SSL_write_ex 🔴 6627.3 (+15.0, +0.23%) fedora_38/arm64: 🔴 9593.0 (+24.0, +0.25%) amazon_5.4/arm64: 🔴 2826.0 (+6.0, +0.21%)
uprobe__crypto_tls_Conn_Read__return 🔴 5386.2 (+9.0, +0.17%) fedora_38/arm64: 🔴 8284.0 (+18.0, +0.22%) amazon_5.4/arm64: 🔴 3251.0 (+6.0, +0.18%)
uprobe__crypto_tls_Conn_Write__return 🟢 4983.8 (-1450.5, -22.54%) fedora_38/arm64: 🟢 5885.0 (-300.0, -4.85%) amazon_5.4/arm64: 🟢 3297.0 (-138.0, -4.02%)
uretprobe__SSL_read 🔴 5640.3 (+14.0, +0.25%) fedora_38/arm64: 🔴 9104.0 (+24.0, +0.26%) amazon_5.4/arm64: 🔴 2639.0 (+6.0, +0.23%)
uretprobe__SSL_read_ex 🔴 7015.7 (+11.0, +0.16%) fedora_38/arm64: 🔴 9196.0 (+12.0, +0.13%) amazon_5.4/arm64: 🔴 2725.0 (+3.0, +0.11%)
uretprobe__SSL_write 🔴 2949.3 (+8.0, +0.27%) fedora_38/arm64: 🔴 3192.0 (+12.0, +0.38%) amazon_5.4/arm64: 🔴 2756.0 (+6.0, +0.22%)
uretprobe__SSL_write_ex 🔴 6627.3 (+15.0, +0.23%) fedora_38/arm64: 🔴 9593.0 (+24.0, +0.25%) amazon_5.4/arm64: 🔴 2826.0 (+6.0, +0.21%)
uretprobe__gnutls_record_recv 🔴 5213.3 (+12.0, +0.23%) fedora_38/arm64: 🔴 7488.0 (+18.0, +0.24%) amazon_5.4/arm64: 🔴 2739.0 (+6.0, +0.22%)
uretprobe__gnutls_record_send 🔴 4195.3 (+10.0, +0.24%) centos_8/arm64: 🔴 4933.0 (+12.0, +0.24%) amazon_5.4/arm64: 🔴 2734.0 (+6.0, +0.22%)

usm [programs without changes]

Program Avg. complexity Distro with highest complexity Distro with lowest complexity
kprobe__sockfd_lookup_light ⚪ 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%)
kprobe__tcp_close ⚪ 670.0 (+0.0, +0.00%) fedora_38/arm64: ⚪ 769.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 615.0 (+0.0, +0.00%)
kprobe__tcp_sendmsg ⚪ 448.7 (+0.0, +0.00%) fedora_38/arm64: ⚪ 532.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 407.0 (+0.0, +0.00%)
kretprobe__sockfd_lookup_light ⚪ 545.3 (+0.0, +0.00%) fedora_38/arm64: ⚪ 622.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 507.0 (+0.0, +0.00%)
socket__http2_dynamic_table_cleaner ⚪ 3968.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 3968.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 3968.0 (+0.0, +0.00%)
socket__http2_eos_parser ⚪ 182425.7 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 182454.0 (+0.0, +0.00%) centos_8/arm64: ⚪ 182369.0 (+0.0, +0.00%)
socket__http2_filter ⚪ 93798.0 (+0.0, +0.00%) fedora_38/arm64: ⚪ 125871.0 (+0.0, +0.00%) centos_8/arm64: ⚪ 77601.0 (+0.0, +0.00%)
socket__http2_handle_first_frame ⚪ 1206.3 (+0.0, +0.00%) fedora_38/arm64: ⚪ 1649.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 985.0 (+0.0, +0.00%)
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__protocol_dispatcher_kafka ⚪ 48157.7 (+0.0, +0.00%) centos_8/arm64: ⚪ 58717.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 27039.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_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__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__http2_tls_filter ⚪ 68112.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 68460.0 (+0.0, +0.00%) centos_8/arm64: ⚪ 67938.0 (+0.0, +0.00%)
uprobe__http2_tls_handle_first_frame ⚪ 987.4 (+0.0, +0.00%) fedora_38/arm64: ⚪ 1201.0 (+0.0, +0.00%) debian_10/arm64: ⚪ 800.0 (+0.0, +0.00%)
uprobe__http2_tls_headers_parser ⚪ 637767.0 (+0.0, +0.00%) fedora_38/arm64: ⚪ 637767.0 (+0.0, +0.00%) fedora_38/arm64: ⚪ 637767.0 (+0.0, +0.00%)
uprobe__http2_tls_termination ⚪ 100.2 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 105.0 (+0.0, +0.00%) debian_10/arm64: ⚪ 93.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_fetch_response_record_batch_parser_v0 ⚪ 6853.0 (+0.0, +0.00%) centos_8/arm64: ⚪ 6890.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 6723.0 (+0.0, +0.00%)
uprobe__kafka_tls_fetch_response_record_batch_parser_v12 ⚪ 6853.0 (+0.0, +0.00%) centos_8/arm64: ⚪ 6890.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 6723.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_handle_response ⚪ 4799.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 5049.0 (+0.0, +0.00%) ubuntu_18.04/arm64: ⚪ 3815.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%)
uprobe__tls_protocol_dispatcher_kafka ⚪ 6136.8 (+0.0, +0.00%) fedora_38/arm64: ⚪ 9305.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 4747.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__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%)

This report was generated based on the complexity data for the current branch amit.slavin/fix-grpc-bug (pipeline 52532854, commit 13824bb) and the base branch main (commit af0d8cb). Objects without changes are not reported. Contact #ebpf-platform if you have any questions/feedback.

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

Copy link

Regression Detector

Regression Detector Results

Metrics dashboard
Target profiles
Run ID: 114845c1-35cf-446f-a7b3-4fe72dc49c9c

Baseline: af0d8cb
Comparison: 13824bb
Diff

Optimization Goals: ✅ No significant changes detected

Fine details of change detection per experiment

perf experiment goal Δ mean % Δ mean % CI trials links
uds_dogstatsd_to_api_cpu % cpu utilization +3.47 [+2.79, +4.14] 1 Logs
quality_gate_idle memory utilization +0.36 [+0.32, +0.39] 1 Logs bounds checks dashboard
quality_gate_logs % cpu utilization +0.30 [-2.93, +3.53] 1 Logs
file_to_blackhole_500ms_latency egress throughput +0.08 [-0.70, +0.86] 1 Logs
file_to_blackhole_100ms_latency egress throughput +0.04 [-0.64, +0.71] 1 Logs
file_to_blackhole_0ms_latency egress throughput +0.03 [-0.85, +0.90] 1 Logs
tcp_dd_logs_filter_exclude ingress throughput +0.00 [-0.02, +0.02] 1 Logs
uds_dogstatsd_to_api ingress throughput -0.00 [-0.12, +0.11] 1 Logs
file_to_blackhole_0ms_latency_http2 egress throughput -0.01 [-0.87, +0.84] 1 Logs
file_to_blackhole_300ms_latency egress throughput -0.02 [-0.66, +0.62] 1 Logs
file_to_blackhole_0ms_latency_http1 egress throughput -0.04 [-0.89, +0.81] 1 Logs
file_to_blackhole_1000ms_latency egress throughput -0.04 [-0.84, +0.75] 1 Logs
file_to_blackhole_1000ms_latency_linear_load egress throughput -0.27 [-0.74, +0.19] 1 Logs
quality_gate_idle_all_features memory utilization -0.28 [-0.38, -0.19] 1 Logs bounds checks dashboard
file_tree memory utilization -0.37 [-0.51, -0.24] 1 Logs
tcp_syslog_to_blackhole ingress throughput -2.29 [-2.34, -2.23] 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 memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_logs, bounds check lost_bytes: 10/10 replicas passed. Gate passed.
  • quality_gate_idle_all_features, bounds check memory_usage: 10/10 replicas passed. Gate passed.
  • quality_gate_idle, bounds check memory_usage: 10/10 replicas passed. Gate passed.

@amitslavin amitslavin changed the title [USM] Fix gRPC bug [USMON-1399] Fix gRPC bug Jan 9, 2025
@guyarb
Copy link
Contributor

guyarb commented Jan 12, 2025

/merge

@dd-devflow
Copy link

dd-devflow bot commented Jan 12, 2025

Devflow running: /merge

View all feedbacks in Devflow UI.


2025-01-12 13:55:16 UTC ℹ️ MergeQueue: pull request added to the queue

The median merge time in main is 35m.


2025-01-12 14:32:23 UTC ℹ️ MergeQueue: This merge request was merged

@dd-mergequeue dd-mergequeue bot merged commit bba2fb6 into main Jan 12, 2025
336 checks passed
@dd-mergequeue dd-mergequeue bot deleted the amit.slavin/fix-grpc-bug branch January 12, 2025 14:32
@github-actions github-actions bot added this to the 7.63.0 milestone Jan 12, 2025
@amitslavin amitslavin added the backport/7.62.x Automatically create a backport PR to 7.62.x label Jan 16, 2025
agent-platform-auto-pr bot pushed a commit that referenced this pull request Jan 16, 2025
(cherry picked from commit bba2fb6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/7.62.x Automatically create a backport PR to 7.62.x changelog/no-changelog component/system-probe qa/done QA done before merge and regressions are covered by tests short review PR is simple enough to be reviewed quickly team/usm The USM team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants