Dynamically naming histogram_quantile expressions in console graph

10 views
Skip to first unread message

Brad Walker

unread,
Mar 31, 2020, 2:38:55 PM3/31/20
to Prometheus Users
Hello,

I'm creating a console featuring a latency profile graph. I want this graph to display p50, p90, etc. for a histogram. The names of the plot lines for the several histogram_quantile PromQL expressions are 'undefined{}'. Is there something that can be supplied to the PromConsole.Graph's name parameter that can display 'p50', etc? Is there a way to alias the PromQL expressions to populate a referenceable name?

Brad Walker

Brad Walker

unread,
Mar 31, 2020, 3:31:05 PM3/31/20
to Prometheus Users
Defining name: ['p50', 'p90', ...] works.
Reply all
Reply to author
Forward
0 new messages