Skip to content

feat: add last_request_timestamp metric #5416

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

Merged
merged 2 commits into from
Jul 14, 2025
Merged

feat: add last_request_timestamp metric #5416

merged 2 commits into from
Jul 14, 2025

Conversation

xianml
Copy link
Contributor

@xianml xianml commented Jul 14, 2025

What does this PR address?

add a gauge metric to illustrate the timestamp of the last request in the server. It used to address the unexpected scaled-to-zero when traffic is low

Fixes #(issue)

Before submitting:

@xianml xianml requested a review from a team as a code owner July 14, 2025 08:06
@xianml xianml requested review from bojiang and removed request for a team July 14, 2025 08:06
Copy link

Code Coverage

Package Statements
bentoml 54.44% (9869 / 18125)
Summary 54.44% (9869 / 18125)

@xianml xianml merged commit 519f67d into main Jul 14, 2025
94 of 96 checks passed
@xianml xianml deleted the feat/last-metric branch July 14, 2025 08:35
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