Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@marten-seemann
Copy link
Member

@marten-seemann marten-seemann commented Jan 22, 2025

This only covers packets sent and received within a QUIC connection (i.e. for example, it doesn't cover Retry and Version Negotiation packets sent by the server).

Downside to this PR: This now causes allocations when metrics collection is enabled, as the connection needs to prepare a slice of frames (see #4915).

@codecov
Copy link

codecov bot commented Jan 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.92%. Comparing base (3023083) to head (98c45ad).
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4910      +/-   ##
==========================================
+ Coverage   83.60%   83.92%   +0.32%     
==========================================
  Files         152      152              
  Lines       16253    16389     +136     
==========================================
+ Hits        13587    13753     +166     
+ Misses       2138     2111      -27     
+ Partials      528      525       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@marten-seemann marten-seemann force-pushed the packet-metrics branch 2 times, most recently from 198ed14 to 9dd9d45 Compare January 22, 2025 04:41
@marten-seemann marten-seemann changed the title add Prometheus metrics for sent and received packets metrics: add Prometheus metrics for sent and received packets Jan 22, 2025
@marten-seemann marten-seemann merged commit fb9d8e3 into master Jan 23, 2025
37 checks passed
@marten-seemann marten-seemann deleted the packet-metrics branch January 23, 2025 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants