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 PrometheusMetricObserver abstraction #1421

Closed

Conversation

jotare
Copy link
Contributor

@jotare jotare commented Oct 4, 2023

Description

Describe the proposed changes made in this PR.

How was this PR tested?

Describe how you tested this PR.

@jotare jotare requested a review from a team as a code owner October 4, 2023 07:44
@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #7440: Nucliadb metrics refinement.

@jotare jotare marked this pull request as draft October 4, 2023 07:44
@codecov
Copy link

codecov bot commented Oct 4, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (b9c5ecd) 84.89% compared to head (6658f87) 85.20%.
Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1421      +/-   ##
==========================================
+ Coverage   84.89%   85.20%   +0.31%     
==========================================
  Files         443      450       +7     
  Lines       24273    24810     +537     
==========================================
+ Hits        20606    21139     +533     
- Misses       3667     3671       +4     
Flag Coverage Δ
ingest 74.89% <ø> (+0.21%) ⬆️
nucliadb 68.24% <ø> (+0.75%) ⬆️
reader 75.94% <ø> (-0.26%) ⬇️
train 60.25% <ø> (ø)
utils 85.18% <ø> (+<0.01%) ⬆️
writer 83.97% <ø> (-0.73%) ⬇️

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

see 30 files with indirect coverage changes

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

type RequestCount = Family<RequestTimeKey, Counter>;
type RequestDuration = Family<RequestTimeKey, Histogram>;

const BUCKETS: [f64; 12] = [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fly-by - maybe we can add a comment to explain why we have those values for the histogram

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about this buckets. I suppose they're a bit generic in the range of values expected. @hermeGarcia?

@javitonino javitonino closed this May 24, 2024
@javitonino javitonino deleted the joanantoniriera4168/sc-7440/nucliadb-metrics-refinement-1 branch May 24, 2024 13:37
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