Repository navigation
|
I want a Grafana panel showing euro/hour per physical GPU. What is the cleanest join? |
Answered by
iacker
Jul 10, 2026
Replies: 1 comment
|
Emit a static recording rule or a small exporter that publishes gpu_price_eur_per_hour keyed by the same UUID label DCGM uses. Then in PromQL join on UUID: multiply your utilization/energy series by the price series with |
0 replies
Answer selected by
iacker
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Emit a static recording rule or a small exporter that publishes gpu_price_eur_per_hour keyed by the same UUID label DCGM uses. Then in PromQL join on UUID: multiply your utilization/energy series by the price series with
* on(UUID) group_left. Keeping the price as its own labeled series (not hardcoded in the query) means spot-price changes are one push, not a dashboard edit.