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

Yuri.lipnesh/usmon 765 http2 cont frames #33087

Closed
wants to merge 5 commits into from

Conversation

yuri-lipnesh
Copy link
Contributor

What does this PR do?

Adds HTTP/2 CONTINUATION frames counter to kernel telemetry.

Motivation

The basic unit of the protocol in HTTP/2 is the frame. The CONTINUATION frame type is used to continue a sequence of header block fragments. In order to improve the accuracy of the protocol, we would like to know how many frames of this type are encountered when processing an HTTP/2 stream in the kernel.

Describe how you validated your changes

Add unit testing for the new telemetry counter.
Run UT locally and in pipeline.
Run http/2 load tests.
Deploy and verify system-probe on staging.

Possible Drawbacks / Trade-offs

Additional Notes

eBPF complexity comparison of this branch with main branch on local VM:

| Filename/Program                         |   Stack Usage |   Instructions Processed |   Instructions Processed limit |   Max States per Instruction |   Peak States |   Total States |
|------------------------------------------|---------------|--------------------------|--------------------------------|------------------------------|---------------|----------------|
| usm/socket__http2_dynamic_table_cleaner  |             0 |                        0 |                              0 |                            0 |             0 |              0 |
| usm/socket__http2_eos_parser             |             0 |                        0 |                              0 |                            0 |             0 |              0 |
| usm/socket__http2_filter                 |            24 |                   -10898 |                              0 |                           -1 |          -791 |          -1312 |
| usm/socket__http2_handle_first_frame     |             0 |                        0 |                              0 |                            0 |             0 |              0 |
| usm/socket__http2_headers_parser         |             0 |                        0 |                              0 |                            0 |             0 |              0 |
| usm/uprobe__http2_dynamic_table_cleaner  |             0 |                        0 |                              0 |                            0 |             0 |              0 |
| usm/uprobe__http2_tls_eos_parser         |             0 |                        0 |                              0 |                            0 |             0 |              0 |
| usm/uprobe__http2_tls_filter             |            16 |                    23273 |                              0 |                           -7 |            78 |           -316 |
| usm/uprobe__http2_tls_handle_first_frame |             0 |                        0 |                              0 |                            0 |             0 |              0 |
| usm/uprobe__http2_tls_headers_parser     |             0 |                        0 |                              0 |                            0 |             0 |              0 |
| usm/uprobe__http2_tls_termination        |             0 |                        0 |                              0 |                            0 |             0 |              0 |

@yuri-lipnesh yuri-lipnesh added changelog/no-changelog component/system-probe team/usm The USM team qa/done QA done before merge and regressions are covered by tests labels Jan 17, 2025
@github-actions github-actions bot added the medium review PR review might take time label Jan 17, 2025
@yuri-lipnesh yuri-lipnesh marked this pull request as ready for review January 17, 2025 22:05
@yuri-lipnesh yuri-lipnesh requested a review from a team as a code owner January 17, 2025 22:05
@agent-platform-auto-pr
Copy link
Contributor

Uncompressed package size comparison

Comparison with ancestor 736a4fe7673efc7f649f17bfe14162f700067116

Diff per package
package diff status size ancestor threshold
datadog-dogstatsd-amd64-deb 0.00MB 58.83MB 58.83MB 0.50MB
datadog-dogstatsd-x86_64-rpm 0.00MB 58.91MB 58.91MB 0.50MB
datadog-dogstatsd-x86_64-suse 0.00MB 58.91MB 58.91MB 0.50MB
datadog-dogstatsd-arm64-deb 0.00MB 56.34MB 56.34MB 0.50MB
datadog-iot-agent-amd64-deb 0.00MB 93.86MB 93.86MB 0.50MB
datadog-iot-agent-x86_64-rpm 0.00MB 93.93MB 93.93MB 0.50MB
datadog-iot-agent-x86_64-suse 0.00MB 93.93MB 93.93MB 0.50MB
datadog-iot-agent-arm64-deb 0.00MB 89.92MB 89.92MB 0.50MB
datadog-iot-agent-aarch64-rpm 0.00MB 89.99MB 89.99MB 0.50MB
datadog-agent-aarch64-rpm -50.48MB 947.94MB 998.42MB 0.50MB
datadog-agent-arm64-deb -50.56MB 938.22MB 988.78MB 0.50MB
datadog-agent-x86_64-rpm -53.91MB 960.59MB 1014.50MB 0.50MB
datadog-agent-x86_64-suse -53.91MB 960.59MB 1014.50MB 0.50MB
datadog-heroku-agent-amd64-deb -53.98MB 478.59MB 532.57MB 0.50MB
datadog-agent-amd64-deb -53.98MB 950.85MB 1004.83MB 0.50MB

Decision

✅ Passed

@agent-platform-auto-pr
Copy link
Contributor

[Fast Unit Tests Report]

On pipeline 53385726 (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

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=53385726 --os-family=ubuntu

Note: This applies to commit 2b2368c

@agent-platform-auto-pr
Copy link
Contributor

eBPF complexity changes

Summary result: ❗ - significant complexity increases

  • Highest complexity change (%): +35.10%
  • Highest complexity change (abs.): +26847 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
uprobe__http2_tls_filter 🔴 91637.0 (+23525.0, +34.54%) amazon_5.4/arm64: 🔴 92489.0 (+24029.0, +35.10%) centos_8/arm64: 🔴 91211.0 (+23273.0, +34.26%)

usm [programs without changes]

Program Avg. complexity Distro with highest complexity Distro with lowest complexity
socket__http2_handle_first_frame ⚪ 1249.3 (+0.0, +0.00%) fedora_38/arm64: ⚪ 1694.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 1027.0 (+0.0, +0.00%)
socket__http_filter ⚪ 10670.0 (+0.0, +0.00%) fedora_38/arm64: ⚪ 14426.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 8792.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 ⚪ 45648.7 (+0.0, +0.00%) centos_8/arm64: ⚪ 52701.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 31544.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 ⚪ 1697.7 (+0.0, +0.00%) fedora_38/arm64: ⚪ 2449.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 1321.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 ⚪ 36610.0 (+0.0, +0.00%) fedora_38/arm64: ⚪ 60623.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 19543.0 (+0.0, +0.00%)
socket__protocol_dispatcher ⚪ 1765.7 (+0.0, +0.00%) fedora_38/arm64: ⚪ 1861.0 (+0.0, +0.00%) centos_8/arm64: ⚪ 1658.0 (+0.0, +0.00%)
socket__protocol_dispatcher_kafka ⚪ 73296.3 (+0.0, +0.00%) centos_8/arm64: ⚪ 90782.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 38325.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 ⚪ 45.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 45.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 45.0 (+0.0, +0.00%)
uprobe__SSL_connect ⚪ 45.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 45.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 45.0 (+0.0, +0.00%)
uprobe__SSL_do_handshake ⚪ 45.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 45.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 45.0 (+0.0, +0.00%)
uprobe__SSL_read ⚪ 137.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 137.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 137.0 (+0.0, +0.00%)
uprobe__SSL_read_ex ⚪ 109.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 109.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 109.0 (+0.0, +0.00%)
uprobe__SSL_set_bio ⚪ 66.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 66.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 66.0 (+0.0, +0.00%)
uprobe__SSL_set_fd ⚪ 56.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 56.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 56.0 (+0.0, +0.00%)
uprobe__SSL_shutdown ⚪ 371.0 (+0.0, +0.00%) fedora_38/arm64: ⚪ 388.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 361.0 (+0.0, +0.00%)
uprobe__SSL_write ⚪ 50.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 50.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 50.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 ⚪ 5604.2 (+0.0, +0.00%) fedora_38/arm64: ⚪ 8740.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 3373.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 ⚪ 5217.0 (+0.0, +0.00%) fedora_38/x86_64: ⚪ 6404.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 3412.0 (+0.0, +0.00%)
uprobe__gnutls_bye ⚪ 371.0 (+0.0, +0.00%) fedora_38/arm64: ⚪ 388.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 361.0 (+0.0, +0.00%)
uprobe__gnutls_deinit ⚪ 371.0 (+0.0, +0.00%) fedora_38/arm64: ⚪ 388.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 361.0 (+0.0, +0.00%)
uprobe__gnutls_handshake ⚪ 45.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 45.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 45.0 (+0.0, +0.00%)
uprobe__gnutls_record_recv ⚪ 47.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 47.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 47.0 (+0.0, +0.00%)
uprobe__gnutls_record_send ⚪ 50.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 50.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 50.0 (+0.0, +0.00%)
uprobe__gnutls_transport_set_int2 ⚪ 56.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 56.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 56.0 (+0.0, +0.00%)
uprobe__gnutls_transport_set_ptr ⚪ 56.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 56.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 56.0 (+0.0, +0.00%)
uprobe__gnutls_transport_set_ptr2 ⚪ 56.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 56.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 56.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_handle_first_frame ⚪ 1056.4 (+0.0, +0.00%) fedora_38/arm64: ⚪ 1290.0 (+0.0, +0.00%) debian_10/arm64: ⚪ 839.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 ⚪ 3405.0 (+0.0, +0.00%) debian_10/arm64: ⚪ 6217.0 (+0.0, +0.00%) ubuntu_18.04/arm64: ⚪ 1541.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 ⚪ 36058.8 (+0.0, +0.00%) centos_8/arm64: ⚪ 52221.0 (+0.0, +0.00%) ubuntu_18.04/arm64: ⚪ 9696.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 ⚪ 252.2 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 268.0 (+0.0, +0.00%) debian_10/arm64: ⚪ 228.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 ⚪ 3126.2 (+0.0, +0.00%) ubuntu_18.04/arm64: ⚪ 3405.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 2941.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 ⚪ 8217.2 (+0.0, +0.00%) fedora_38/arm64: ⚪ 13660.0 (+0.0, +0.00%) ubuntu_18.04/arm64: ⚪ 6250.0 (+0.0, +0.00%)
uretprobe__BIO_new_socket ⚪ 60.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 60.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 60.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 ⚪ 5247.7 (+0.0, +0.00%) fedora_38/arm64: ⚪ 7609.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 2777.0 (+0.0, +0.00%)
uretprobe__SSL_read_ex ⚪ 6004.0 (+0.0, +0.00%) fedora_38/arm64: ⚪ 7600.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 2864.0 (+0.0, +0.00%)
uretprobe__SSL_write ⚪ 3142.7 (+0.0, +0.00%) fedora_38/arm64: ⚪ 3260.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 3052.0 (+0.0, +0.00%)
uretprobe__SSL_write_ex ⚪ 6248.3 (+0.0, +0.00%) fedora_38/arm64: ⚪ 7954.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 2983.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 ⚪ 5582.3 (+0.0, +0.00%) fedora_38/arm64: ⚪ 8321.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 2865.0 (+0.0, +0.00%)
uretprobe__gnutls_record_send ⚪ 4440.7 (+0.0, +0.00%) fedora_38/arm64: ⚪ 5233.0 (+0.0, +0.00%) amazon_5.4/arm64: ⚪ 2895.0 (+0.0, +0.00%)

This report was generated based on the complexity data for the current branch yuri.lipnesh/USMON-765_http2_cont_frames (pipeline 53385726, commit 2b2368c) and the base branch main (commit 736a4fe). 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: 0d989f1f-5220-409e-ae67-504d97acaa4e

Baseline: 736a4fe
Comparison: 2b2368c
Diff

Optimization Goals: ✅ No significant changes detected

Fine details of change detection per experiment

perf experiment goal Δ mean % Δ mean % CI trials links
quality_gate_logs % cpu utilization +2.79 [-0.40, +5.97] 1 Logs
tcp_syslog_to_blackhole ingress throughput +1.10 [+1.04, +1.17] 1 Logs
quality_gate_idle_all_features memory utilization +0.34 [+0.25, +0.42] 1 Logs bounds checks dashboard
file_to_blackhole_500ms_latency egress throughput +0.19 [-0.58, +0.96] 1 Logs
file_to_blackhole_1000ms_latency_linear_load egress throughput +0.08 [-0.39, +0.55] 1 Logs
file_to_blackhole_1000ms_latency egress throughput +0.04 [-0.74, +0.82] 1 Logs
quality_gate_idle memory utilization +0.02 [-0.02, +0.05] 1 Logs bounds checks dashboard
uds_dogstatsd_to_api ingress throughput +0.01 [-0.08, +0.11] 1 Logs
tcp_dd_logs_filter_exclude ingress throughput +0.00 [-0.01, +0.02] 1 Logs
file_to_blackhole_0ms_latency_http2 egress throughput -0.01 [-0.88, +0.86] 1 Logs
file_to_blackhole_300ms_latency egress throughput -0.01 [-0.64, +0.63] 1 Logs
file_to_blackhole_100ms_latency egress throughput -0.04 [-0.67, +0.60] 1 Logs
file_to_blackhole_0ms_latency egress throughput -0.07 [-0.90, +0.77] 1 Logs
file_to_blackhole_0ms_latency_http1 egress throughput -0.11 [-0.96, +0.74] 1 Logs
file_tree memory utilization -0.30 [-0.44, -0.15] 1 Logs
uds_dogstatsd_to_api_cpu % cpu utilization -0.50 [-1.19, +0.20] 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, 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.

@yuri-lipnesh yuri-lipnesh deleted the yuri.lipnesh/USMON-765_http2_cont_frames branch January 21, 2025 16:47
@yuri-lipnesh
Copy link
Contributor Author

Branch name is too long, renamed branch and created another PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog/no-changelog component/system-probe medium review PR review might take time qa/done QA done before merge and regressions are covered by tests team/usm The USM team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant