Commit c12dd26
authored
[metrics]: Allow EPP to register metrics from extention (#1787)
The motivation is
llm-d/llm-d-inference-scheduler#386 that we
would like to have more metrics from llm-d inference scheduler plugin.
The current metrics implementation is bundled in the runner of EPP, so
this PR extends the runner to allow extention to register prometheus
metrics collector.
See llm-d/llm-d-inference-scheduler#405 for a
draft PR of how metrics are going to be implemented in the plugin.
I have tested locally that both EPP and inference scheduler metrics can
be exported through the pod /metrics endpoint.1 parent 80320ce commit c12dd26
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| |||
155 | 156 | | |
156 | 157 | | |
157 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
158 | 164 | | |
159 | 165 | | |
160 | 166 | | |
| |||
205 | 211 | | |
206 | 212 | | |
207 | 213 | | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
208 | 217 | | |
209 | 218 | | |
210 | 219 | | |
| |||
0 commit comments