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

export httpstat metrics to prometheus #963

Merged
merged 3 commits into from
Mar 29, 2023
Merged

Conversation

LokiWager
Copy link
Collaborator

No description provided.

@codecov-commenter
Copy link

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.11 🎉

Comparison is base (f870f90) 73.05% compared to head (97f9e7d) 73.16%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #963      +/-   ##
==========================================
+ Coverage   73.05%   73.16%   +0.11%     
==========================================
  Files         134      134              
  Lines       14866    14968     +102     
==========================================
+ Hits        10860    10952      +92     
- Misses       3380     3389       +9     
- Partials      626      627       +1     
Impacted Files Coverage Δ
pkg/object/httpserver/runtime.go 75.99% <100.00%> (+7.48%) ⬆️

... and 4 files with indirect coverage changes

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

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

httpserverLabels[:5]).MustCurryWith(commonLabels),
Min: prometheushelper.NewGauge(
"httpserver_min",
"the min of the http server",
Copy link
Collaborator

Choose a reason for hiding this comment

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

please make a little improvement to this, as user can not know it is the minimal value of what.
please also fix the other similiar cases.

@LokiWager LokiWager requested a review from localvar March 29, 2023 08:59
httpserverLabels[:5]).MustCurryWith(commonLabels),
P25: prometheushelper.NewGauge(
"httpserver_p25",
"TP25: The http-request execution duration in milliseconds for 25% user of the http server.",
Copy link
Collaborator

@localvar localvar Mar 29, 2023

Choose a reason for hiding this comment

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

Suggested change
"TP25: The http-request execution duration in milliseconds for 25% user of the http server.",
"P25: The processing time for 25% of the requests, in milliseconds.",

Objectives: prometheushelper.DefaultObjectives(),
},
httpserverLabels).MustCurryWith(commonLabels),
M1: prometheushelper.NewGauge(
"httpserver_m1",
"The http request executions per second (exponentially-weighted moving average) in last 1 minute",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
"The http request executions per second (exponentially-weighted moving average) in last 1 minute",
"QPS (exponentially-weighted moving average) in last 1 minute",

@LokiWager LokiWager added this pull request to the merge queue Mar 29, 2023
Merged via the queue into easegress-io:main with commit dd122e6 Mar 29, 2023
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

4 participants