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

Use POST instead of GET for /api/log/entries/retrieve metrics. #1083

Merged
merged 1 commit into from Sep 28, 2022

Conversation

var-sdk
Copy link

@var-sdk var-sdk commented Sep 28, 2022

Signed-off-by: Simon Kent simek@google.com

This is also fixed in #1080. Opening this PR so the next release has correct metrics in case that PR isn't merged.

Summary

Release Note

Documentation

Signed-off-by: Simon Kent <simek@google.com>
@var-sdk var-sdk requested a review from a team as a code owner September 28, 2022 21:05
@codecov-commenter
Copy link

Codecov Report

Merging #1083 (7ef5784) into main (204d9af) will decrease coverage by 23.01%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #1083       +/-   ##
===========================================
- Coverage   64.06%   41.04%   -23.02%     
===========================================
  Files          82       74        -8     
  Lines        7482     7066      -416     
===========================================
- Hits         4793     2900     -1893     
- Misses       2067     3861     +1794     
+ Partials      622      305      -317     
Flag Coverage Δ
e2etests ?
unittests 41.04% <ø> (+0.04%) ⬆️

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

Impacted Files Coverage Δ
pkg/api/metrics.go 0.00% <0.00%> (-100.00%) ⬇️
cmd/rekor-cli/app/useragent.go 0.00% <0.00%> (-100.00%) ⬇️
pkg/api/entries.go 0.00% <0.00%> (-69.55%) ⬇️
pkg/api/public_key.go 0.00% <0.00%> (-66.67%) ⬇️
pkg/api/trillian_client.go 0.00% <0.00%> (-66.31%) ⬇️
pkg/api/api.go 0.00% <0.00%> (-64.29%) ⬇️
pkg/types/types.go 0.00% <0.00%> (-63.64%) ⬇️
pkg/types/versionmap.go 0.00% <0.00%> (-63.42%) ⬇️
pkg/api/error.go 0.00% <0.00%> (-58.83%) ⬇️
pkg/util/validate.go 44.11% <0.00%> (-55.89%) ⬇️
... and 47 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@priyawadhwa priyawadhwa merged commit ca2dce6 into sigstore:main Sep 28, 2022
@github-actions github-actions bot added this to the v1.0.0 milestone Sep 28, 2022
@var-sdk var-sdk deleted the fix_metrics branch September 28, 2022 23:12
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request Oct 19, 2022
https://build.opensuse.org/request/show/1029934
by user msmeissn + dimstar_suse
- updated to rekor 1.0.0 (sc#SLE-23476):
  - add description on /api/v1/index/retrieve endpoint by @bobcallaway in sigstore/rekor#1073
  - Adding e2e test coverage by @cdris in sigstore/rekor#1071
  - export rekor build/version information by @cpanato in sigstore/rekor#1074
  - Use POST instead of GET for /api/log/entries/retrieve metrics. by @var-sdk in sigstore/rekor#1083
  - Search through all shards when searching by hash by @priyawadhwa in sigstore/rekor#1082
  - verify: verify checkpoint's STH against the inclusion proof root hash by @asraa in sigstore/rekor#1092
  - add ability to enable/disable specific rekor API endpoints by @bobcallaway in
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.

None yet

3 participants