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

Add metrics for index insertion #2015

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

cmurphy
Copy link
Contributor

@cmurphy cmurphy commented Feb 23, 2024

Add new summary vector metric rekor_index_storage_latency_summary to enable tracking latency of entry insertion in the mysql or redis index storage backend.

Since the index insertion is non-blocking, the existing API metrics are unable to measure its latency. However, the speed of insertion affects how fast the index is available to query, so it is relevant to rekor's overall performance.

This new metric along with the existing API metrics will help give an clearer picture of rekor's index storage performance.

Summary

Release Note

Documentation

@cmurphy cmurphy requested a review from a team as a code owner February 23, 2024 23:04
Add new summary vector metric `rekor_index_storage_latency_summary` to
enable tracking latency of entry insertion in the mysql or redis index
storage backend.

Since the index insertion is non-blocking, the existing API metrics are
unable to measure its latency. However, the speed of insertion affects
how fast the index is available to query, so it is relevant to rekor's
overall performance.

This new metric along with the existing API metrics will help give an
clearer picture of rekor's index storage performance.

Signed-off-by: Colleen Murphy <[email protected]>
Copy link

codecov bot commented Feb 23, 2024

Codecov Report

Attention: Patch coverage is 0% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 48.81%. Comparing base (488eb97) to head (e6a4441).
Report is 24 commits behind head on main.

Files Patch % Lines
pkg/api/entries.go 0.00% 7 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2015       +/-   ##
===========================================
- Coverage   66.46%   48.81%   -17.65%     
===========================================
  Files          92       80       -12     
  Lines        9258     6633     -2625     
===========================================
- Hits         6153     3238     -2915     
- Misses       2359     2989      +630     
+ Partials      746      406      -340     
Flag Coverage Δ
e2etests ?
unittests 48.81% <0.00%> (+1.13%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@haydentherapper haydentherapper merged commit 006b846 into sigstore:main Feb 23, 2024
14 checks passed
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