Skip to content

Add grafana example#1

Closed
binarycrayon wants to merge 3 commits intoLzhang-hub:log_prometheus_metricsfrom
binarycrayon:log_prometheus_metrics
Closed

Add grafana example#1
binarycrayon wants to merge 3 commits intoLzhang-hub:log_prometheus_metricsfrom
binarycrayon:log_prometheus_metrics

Conversation

@binarycrayon
Copy link
Copy Markdown

@binarycrayon binarycrayon commented Nov 3, 2024

Motivation

Modifications

Checklist

  • Format your code according to the Contributor Guide.
  • Add unit tests as outlined in the Contributor Guide.
  • Update documentation as needed, including docstrings or example tutorials.

@binarycrayon
Copy link
Copy Markdown
Author

image
image

Copy link
Copy Markdown

@ByronHsu ByronHsu left a comment

Choose a reason for hiding this comment

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

lets also include step by step instructions for:

  1. launch pro server
  2. launch grafana server

@@ -0,0 +1,187 @@
# Production Metrics

sglang exposes the following metrics via Prometheus. The metrics are namespaced by `$name` (the model name).
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The metrics are namespaced by $name (the model name).
what does this mean


Here is an example of the metrics:

```
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

maybe attach the command for getting this data?

@Lzhang-hub Lzhang-hub closed this Jan 13, 2025
@maximegmd
Copy link
Copy Markdown

Why was this closed?

@Lzhang-hub
Copy link
Copy Markdown
Owner

@maximegmd this feature has been merged in sglang repo sgl-project#1933

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.

4 participants