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

Refactor Prometheus Metrics Logic and Added to Docs #127

Open
wants to merge 22 commits into
base: main
Choose a base branch
from

Conversation

Bslabe123
Copy link
Contributor

No description provided.

@Bslabe123 Bslabe123 requested a review from vipannalla as a code owner August 7, 2024 22:22
@Bslabe123 Bslabe123 changed the title Refactor Prometheus Metrics Logic Refactor Prometheus Metrics Logic and Added to Docs Aug 8, 2024
/ true_length
)
get_metric("jetstream_request_input_length").observe(true_length)
get_metric("jetstream_time_per_prefill_token").observe(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we wrap it into 1 function like collect_jetstream_time_per_prefill_token_metric? Also apply it to all other metrics.

Copy link
Contributor

Choose a reason for hiding this comment

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

+1 for Zijun's comments.

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.

3 participants